IMMA AI Docs
MCP reference

Connect Cursor

Add the IMMA AI MCP server to Cursor with mcp.json and verify the connection.

Preview

Preview: the API and MCP server are in private beta; details may change.

Prerequisites

  • Cursor installed.
  • An IMMA AI API key (imma_live_...) with at least posts:write, posts:read and accounts:read scopes.

Steps

  1. Open (or create) an mcp.json file:
    • Project only: .cursor/mcp.json at your project root.
    • Every project: ~/.cursor/mcp.json in your home directory.
  2. Add an imma entry with the endpoint URL and an Authorization header:
{
  "mcpServers": {
    "imma": {
      "url": "https://api.getimma.com/mcp",
      "headers": {
        "Authorization": "Bearer imma_live_xxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Prefer not to put the raw key in a file you might commit? Cursor resolves ${env:VAR_NAME} inside headers, so you can reference an environment variable instead:

{
  "mcpServers": {
    "imma": {
      "url": "https://api.getimma.com/mcp",
      "headers": {
        "Authorization": "Bearer ${env:IMMA_API_KEY}"
      }
    }
  }
}
  1. Open Cursor's Customize sidebar, find imma in the MCP list, and make sure it is toggled on.

Verify it worked

In a Cursor chat, ask:

Call list_accounts and tell me which social accounts are connected.

The imma server should show as connected in the Customize sidebar, and the response should list your connected accounts.

Common errors

SymptomCauseFix
Server shows disabled in the sidebarIt was added but the toggle was never switched onToggle it on; disabled servers do not load or appear in chat
Tool call fails with a 401Wrong key, or ${env:...} variable is not set in the shell Cursor was launched fromVerify the key, or export the environment variable and restart Cursor
mcp.json changes are not picked upCursor caches server state until reloadReopen the Customize sidebar or restart Cursor
Only some tools show upAPI key scopes do not cover every toolSee Troubleshooting for the scope each tool needs

Official docs

On this page