# Connect your AI agent to Mima

> Let Claude Desktop, Codex, Claude Code, Goose or another AI app on your Mac search and read your posts, mentions and DMs through Mima.

Section: AI agents · Works with Mima 0.7.0 · Updated: 2026-11-30 · Source: https://www.mima.social/guides/connect-your-agent/

Mima can share what it holds with an AI app on the same Mac: your posts, mentions and DMs from Bluesky, X, LinkedIn and Mastodon. The app can search and read them. It cannot post, send, like or mark anything read.

## Before you start

- You need Mima 0.7.0 or later.
- Install the AI app you want to connect.
- What your agent reads becomes part of its chat. If the agent uses a cloud model, as Claude Desktop and Codex do, that text goes to the company that runs the model. Connect only an agent you would trust with your messages.

## Connect your agent

Select **Connect Mima to your agent** in the top right of Mima, or open **Settings > Connectors**. Each app has its own card:

| App | How it connects |
|---|---|
| Claude Desktop | One click: **Connect to Claude Desktop**. |
| Codex in the ChatGPT app | One click: **Connect to ChatGPT**. This also covers the Codex command line and editor extension. |
| Claude Code | Copy a prompt and paste it into Claude Code. |
| Goose and other apps that support local MCP | Copy a prompt for the app's chat or settings, from the **Other AI apps** card. |

Connecting Claude Desktop takes two clicks, then a restart of Claude Desktop:

![Animation: in Mima, the pointer clicks Connect Mima to your agent in the top right. Settings opens on Connectors with the Local MCP server off. A click on Connect to Claude Desktop turns the server on and marks Claude Desktop as connected. Back on the News Wall, the header button reads Mima is connected to your agent.](https://www.mima.social/site-assets/app/connect-claude-desktop.mp4 "The whole connection, start to end. People and posts in these pictures are made up.")

1. In Mima, select **Connect Mima to your agent** in the top right. Settings opens on the **Connectors** tab.

   ![The top of Mima's News Wall. The Connect Mima to your agent button is in the top right corner, next to the light and dark mode switch.](https://www.mima.social/site-assets/app/agent-button.webp "Step 1: the button is in the top right of the Mima window.")
2. Select **Connect to Claude Desktop**. Mima turns its server on and adds itself to Claude Desktop's settings.

   ![Mima Settings on the Connectors tab. The Local MCP server switch is on, the Claude Desktop card shows a check and a Disconnect button, and the ChatGPT, Claude Code and Other AI apps cards wait below.](https://www.mima.social/site-assets/app/connectors-card.webp "Step 2: after the click, the Local MCP server is on and the Claude Desktop card shows a check.")
3. When Mima says **Done. Quit and reopen Claude Desktop to finish.**, quit Claude Desktop completely (Cmd+Q) and open it again. Mima's tools appear in a new chat.

Mima has to be open while your agent uses it. Once an agent is connected, the button in the top right changes to **Mima is connected to your agent**.

## Check that it works

Open a new chat in your AI app and ask a question about your accounts, such as "How many unread DMs and replies do I have?" The agent answers from what Mima has stored as of its last sync.

If your agent says Mima is not reachable, check that Mima is open and that the **Local MCP server** switch in **Settings > Connectors** is on.

## Turn it off

The **Local MCP server** switch at the top of **Settings > Connectors** turns every connection off at once. To remove Mima from one app, select **Disconnect** on the Claude Desktop or ChatGPT card, then quit and reopen that app.

## What this connection cannot do

- Every tool is read-only. To have an agent publish or schedule posts, use a server built on a network's own API.
- The server is local. Chats on claude.ai and ordinary ChatGPT chats run in the cloud and cannot reach it.

Stuck? Ask in the Mima Discord: https://discord.gg/KE3utP26kG

## Related

- [What's an MCP Server for Bluesky, X, LinkedIn and Mastodon?](https://www.mima.social/learn/mcp-server-bluesky-x-linkedin-mastodon.md): Mima includes a local, read-only MCP server, so Claude Desktop, Codex, Goose and other AI agents on your Mac can search and summarize your posts, mentions and DMs from Bluesky, X, LinkedIn and Mastodon.

---

About Mima: Mima is a free desktop app (beta, Apple Silicon Macs) with one feed of the people you follow on Bluesky, X, LinkedIn and Mastodon, one composer for posting to several networks, and one inbox for conversations. Download: https://www.mima.social/download. Overview for AI assistants: https://www.mima.social/llms.txt More guides: https://www.mima.social/guides/index.md
