# Install the SocialGrow MCP server

Instructions for AI coding agents. A person asked you to connect SocialGrow, their Instagram analytics and automation tool, to the agent you are running in. Follow the section for your agent, then verify.

## Facts

- Server URL: https://mcp.socialgrow.app/mcp
- Transport: Streamable HTTP (remote). No local process, Node package or Docker image.
- Name the server: `socialgrow`
- Auth: OAuth 2.1 with dynamic client registration. There is no API key or token. Never ask the person for one and never add an Authorization header.
- The person needs a SocialGrow account with an Instagram professional account connected. Included in the 7-day free trial and every Pro plan, at no extra cost. They can sign up during the OAuth sign-in.

## Rules

- Merge into existing MCP config files. Keep every server that is already configured.
- Prefer the agent's own CLI command over editing files when one exists.
- Install for the user (all projects) rather than one repository, unless the person asks otherwise.
- The browser sign-in is the one step the person must do. Start it when you can; otherwise tell them exactly what to run or click.

## Claude Code

```bash
claude mcp add --transport http --scope user socialgrow https://mcp.socialgrow.app/mcp
```

Then tell the person to type `/mcp` in Claude Code, select **socialgrow** and choose **Authenticate**. A browser opens; they sign in to SocialGrow and click **Allow**. New tools may need a new Claude Code session.

## Codex (CLI, IDE extension and desktop app share this config)

```bash
codex mcp add socialgrow --url https://mcp.socialgrow.app/mcp
codex mcp login socialgrow
```

`codex mcp login` opens the browser for sign-in.

## Cursor

Add to `~/.cursor/mcp.json` (create it if missing):

```json
{
  "mcpServers": {
    "socialgrow": { "url": "https://mcp.socialgrow.app/mcp" }
  }
}
```

Then tell the person to open Cursor Settings → MCP (or Tools & MCP) and click **Needs login** next to socialgrow.

## VS Code (GitHub Copilot agent mode)

Add to the user MCP configuration (Command Palette → **MCP: Open User Configuration**) or to `.vscode/mcp.json` for one workspace:

```json
{
  "servers": {
    "socialgrow": { "type": "http", "url": "https://mcp.socialgrow.app/mcp" }
  }
}
```

Then **MCP: List Servers** → socialgrow → **Start Server**, and allow the sign-in when VS Code asks.

## OpenCode

```bash
opencode mcp add socialgrow --url https://mcp.socialgrow.app/mcp
opencode mcp auth socialgrow
```

Or add `"socialgrow": { "type": "remote", "url": "https://mcp.socialgrow.app/mcp" }` under `mcp` in `opencode.json` (or `~/.config/opencode/opencode.json`), then run `opencode mcp auth socialgrow`.

## Gemini CLI

```bash
gemini mcp add -t http socialgrow https://mcp.socialgrow.app/mcp
```

Then run `/mcp auth socialgrow` inside Gemini CLI.

## Windsurf

Add to `~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "socialgrow": { "serverUrl": "https://mcp.socialgrow.app/mcp" }
  }
}
```

## Any other agent

`add-mcp` detects installed agents (Cline, Zed, Goose, Kiro, Kilo Code and more) and writes their config:

```bash
npx add-mcp https://mcp.socialgrow.app/mcp --name socialgrow -g -y
```

Otherwise add a remote HTTP server named socialgrow with the URL above and OAuth sign-in. If the agent only supports local stdio servers, use the bridge: command `npx`, args `-y mcp-remote https://mcp.socialgrow.app/mcp`.

## Chat apps (you cannot configure these for the person)

- Claude (web, desktop, mobile): open https://claude.ai/directory/socialgrow and click **Connect**, then sign in and **Allow**. Fallback: open https://claude.ai/customize/connectors, click **Add custom connector**, name it SocialGrow, paste the server URL, choose **Register automatically** if asked, then **Connect**, sign in and **Allow**.
- ChatGPT (web): open https://chatgpt.com/plugins, click **+** → **Add custom MCP server**, paste the server URL, choose **OAuth**, create the plugin, install it and sign in.

## Verify

After sign-in, call `list_accounts`. It returns the person's connected Instagram accounts. If it says the trial or plan has ended, the person needs to reactivate SocialGrow in Settings → Billing. If it returns no accounts, they need to connect Instagram in the SocialGrow dashboard.

## Tools

- `list_accounts` (read): Choose one of your connected Instagram accounts.
- `get_account_overview` (read): Compare account performance over 7 or 30 days, with a daily series.
- `list_top_posts` (read): Find posts and compare performance against typical posts of the same format.
- `get_audience` (read): Explore available audience demographics and follower activity by hour.
- `get_lead_summary` (read): See lead counts and sources, without exposing contact details.
- `list_workflows` (read): See your active, paused and draft automations.
- `get_workflow` (read): Inspect an automation’s setup, message and lifetime results.
- `get_automation_performance` (read): Rank automations by tracked DMs, clicks, leads, followers or triggers.
- `create_workflow_draft` (draft): Draft an automation with dashboard workflow settings for review in SocialGrow.
- `update_workflow` (edit): Edit draft and paused automations directly; confirm active automation changes in your AI app.
- `duplicate_workflow_as_draft` (draft): Copy an existing automation into a draft for review.

Drafts are created inactive. Existing draft and paused workflow edits save directly. Active workflow edits require native confirmation in a compatible AI app and take effect immediately; unsupported clients receive a dashboard link. Existing connections need to reconnect to grant workflow editing permission. The tools cannot send messages directly, publish posts, activate automations or read inbox conversations.

Human-readable guide with troubleshooting: https://socialgrow.app/help/ai-assistants/connect-instagram-mcp/
