# Connect an AI assistant (/growsocmed/docs/connect-ai)

Connect Claude, ChatGPT, Cursor and other MCP clients.

GrowSocmed has an MCP server, so an AI assistant can work on your accounts by chat: list accounts, write and schedule posts, answer comments and DMs, read statistics and more. It follows the same rules and the same member access as the dashboard. MCP comes with paid plans.

Server URL:

```txt
https://socmed.growpaces.com/api/mcp
```

Assistants with sign-in (Claude, ChatGPT, Claude Code and others) need only this URL. The first time, you sign in to GrowSocmed, pick **one workspace** and allow access. Other clients use an API key, made in **Developer** → **API keys**.

## Claude [#claude]

1. On claude.ai or Claude Desktop, open **Settings** → **Connectors** → **Add custom connector**.
2. Name it GrowSocmed and paste the server URL.
3. Choose **Connect**, sign in to GrowSocmed, pick a workspace and allow access.

## ChatGPT [#chatgpt]

1. Open **Settings** → **Apps & Connectors** → **Advanced settings** and turn on **Developer mode**.
2. Choose **Create**, name it GrowSocmed and paste the server URL.
3. Choose OAuth, sign in to GrowSocmed, pick a workspace and allow access.

## Claude Code, Cursor, Codex, Gemini CLI [#claude-code-cursor-codex-gemini-cli]

```bash
# Claude Code with sign-in (then run /mcp in Claude Code and sign in)
claude mcp add --transport http grow-socmed https://socmed.growpaces.com/api/mcp

# Claude Code with an API key
claude mcp add --transport http grow-socmed https://socmed.growpaces.com/api/mcp \
  --header "Authorization: Bearer gs_..."
```

For Cursor, Codex and Gemini CLI, the configuration with an API key is on [MCP server](/growsocmed/docs/developers/mcp). The dashboard's **Developer** → **MCP** tab also links to a setup guide per client.

## Connect in one sentence [#connect-in-one-sentence]

Assistants that can set up MCP servers themselves only need one message. Paste this into the chat, with your API key:

```txt
Connect to the GrowSocmed MCP server at https://socmed.growpaces.com/api/mcp (HTTP transport, header "Authorization: Bearer gs_..."), then list my social accounts.
```

## Several workspaces [#several-workspaces]

A sign-in connection works in the workspace you picked. To let one assistant reach every workspace you belong to, use an API key that is not bound to a workspace and add the header `X-Workspace: *`. The assistant can then list your workspaces and act in any of them. See [MCP server](/growsocmed/docs/developers/mcp#all-workspaces-at-once).

## Read only or read and write [#read-only-or-read-and-write]

An API key is **Read & write** or **Read only**; a sign-in grant shows what it allows before you accept. A read-only connection can look at everything the member may see, but cannot post, reply or change anything.

The assistant is told to confirm the text, media and accounts with you before it posts, replies or sends a DM, and to treat text written by other people (comments, DMs, names) as data, not as instructions. Still, read what it proposes before you agree.

## Files from the chat [#files-from-the-chat]

An assistant cannot take a file from your computer by itself. It can copy a file from a public link, save files you attached in the chat (in clients that give it their links), or make an upload link that you or the assistant upload to. See [MCP server](/growsocmed/docs/developers/mcp#getting-files-to-the-assistants-posts).

## Remove access [#remove-access]

Sign-in connections are listed in **Developer** → **Connected apps**; **Disconnect** ends one. A sign-in grant also ends when you sign out of GrowPaces, and at the latest 90 days after you allowed it. An API key stops working when you **Revoke** it in **Developer** → **API keys**.

What an assistant does appears in **Settings** → **Activity** with the source **MCP**.