Guide · API and MCP

Connect X to Claude and other AI assistants with MCP

To use Claude or another AI assistant with your X (formerly Twitter) growth workspace, connect the assistant to the Grow My X MCP server at https://app.growmyx.com/api/mcp with an API key from Settings → API & MCP. The assistant can then search and read your contacts, posts and analytics and, with a read-and-write key, make changes and ask the Chrome extension to act on X.

8 min read · Updated

What is MCP?

MCP, the Model Context Protocol, is an open protocol that lets AI assistants use outside tools and data in a standard way. An MCP server offers tools; an MCP client, such as an AI coding assistant, discovers those tools and calls them when your request needs them.

Grow My X runs a remote MCP server. Its first two tools are growmyx_search, which finds the right operation from a short keyword, and growmyx_describe, which reads that operation's inputs before the assistant uses it. Behind them sits the same catalog of account-permitted operations that the Grow My X REST API and the in-app copilot use, so all three can do the same things with the same permissions.

What can an AI assistant do with your X workspace?

With a Read only key, an assistant can look things up: your X accounts, contacts and pipeline stages, scheduled posts, follower numbers and analytics. With a Read and write key, it can also make changes your account is allowed to make in the dashboard, such as updating contacts, adding next moves or preparing posts.

An assistant can also ask your connected Chrome extension to act: check status, read logs, pause automation or publish a post. These extension commands are queued, and your browser checks for them every 30 seconds. A command reports "completed" once the extension accepts it; for a post, check its status in the Scheduler to confirm it was published.

Actions on X run through the Grow My X Chrome extension in your signed-in X browser session, so Chrome stays open for anything that touches X, and X controls which actions and data are available. Grow My X is in beta, and installed-extension workflows on X are still undergoing live validation; the beta availability guide lists what is available today.

What you need before you connect

You need three things: API & MCP access, an MCP client that accepts a server address and a bearer token, and a clear idea of how much access the assistant should have.

  • API & MCP access. API & MCP is part of the Pro plan, and Founding Partners have every feature on their own account.
  • A compatible MCP client. The client must let you add a remote HTTP server with an Authorization: Bearer header. Claude Code supports this with one command. Clients whose connection screen offers only a sign-in (OAuth) button can't connect yet, because Grow My X uses API keys.
  • The right access level. Start with Read only. Create a separate Read and write key later for a tool that needs to make changes.
  • The extension, for X actions. Extension commands need the Grow My X extension running and connected to that X account.

Do this in Grow My X

Create an API key, then add the Grow My X server to your MCP client. The whole setup takes a few minutes.

Create an API key

  1. In the sidebar, open Account → Settings, then click the API & MCP tab.
  2. Under "API keys", type a Name for the tool you're connecting. It starts as "My AI assistant".
  3. Choose Access: "Read only" (the default) or "Read and write".
  4. Click Create key.
  5. A box says "Copy your key now. It is shown once." Click Copy key and store it in a secure place, such as a password manager. The key starts with gf_api_.
  6. Click I saved it. The key appears in the list with its name, last characters, access and "Expires" date.

Connect Claude Code

Run this in a terminal, with your key in place of YOUR_GROWMYX_API_KEY:

claude mcp add --transport http growmyx https://app.growmyx.com/api/mcp --header "Authorization: Bearer YOUR_GROWMYX_API_KEY"

Start Claude Code and type /mcp to check that "growmyx" is connected. Then ask it to list your Grow My X X accounts, and compare the answer with your dashboard.

Connect another MCP client

In any client that supports remote HTTP servers, add the server address https://app.growmyx.com/api/mcp with the header Authorization: Bearer followed by your key. Clients that use a JSON configuration file can start from the example on the API & MCP tab (open MCP configuration example). It looks like this:

{
  "mcpServers": {
    "growmyx": {
      "url": "https://app.growmyx.com/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_GROWMYX_API_KEY"
      }
    }
  }
}

Configuration formats differ between clients, so check your client's documentation for where this goes. Restart or refresh the client and confirm that the Grow My X tools appear, with growmyx_search and growmyx_describe first.

Example prompts to try first

Start small and check each answer against your dashboard. These prompts are examples; the assistant finds the matching operations with growmyx_search.

GoalExample promptKey needed
Check the connection"List my Grow My X X accounts."Read only
Review your pipeline"Show my contacts in the Qualified stage with their deal values."Read only
Plan follow-ups"Which contacts have overdue next moves? Summarize them by stage."Read only
Review content"List my scheduled posts for next week with their times."Read only
Check performance"Summarize my follower growth over the last 30 days."Read only
Organize follow-ups"Add a next move for this contact to send the workshop outline tomorrow."Read and write
Check the extension"Ask my extension for its status and tell me if automation is paused."Read and write

Ask the assistant to explain what it plans to change before it changes anything, and review the result on the feature's page afterwards. When you use the shared execute action through the REST API, read "ok" and "status" in the reply, not just the HTTP status.

Permissions, limits and revoking access

Every key acts as you: your permissions, plan rules and X safety limits all apply. These are the limits that matter most when you connect a tool.

Setting or limitValue
Access levelsRead only (default) or Read and write
Key lifetimeExpires 90 days after creation; shown once when created
RevokingRevoke turns a key off immediately; it can't be turned back on
Kept in the dashboardSigning in, managing keys and connecting OpenRouter
MCP requests120 a minute; the tool list comes in pages of 50
MCP file uploadsUp to 6 MB (use the REST media upload for bigger files)
Extension commands30 a minute; they expire after 10 minutes
ResultsTools check back for results; there are no webhooks yet

To retire a key, open Settings → API & MCP, find the key and click Revoke. It stops working at once and shows "Revoked". To replace it, create a new key and paste it into your tool before the "Expires" date. Keep keys in a password manager or secret store, and share them only with the tools you connect.

Use the REST API from your own scripts

The same operations are available over a REST API for your own scripts and automations. Send requests to https://app.growmyx.com/api/ with the header Authorization: Bearer followed by your key.

The OpenAPI description lists every route your account can use at https://app.growmyx.com/api/integrations/openapi.json, and Open API specification on the API & MCP tab opens it. Under "Available actions" on the same tab, search for what you need; each action shows its method and path, and its name opens the full description.

How the in-app copilot fits in

The Grow My X copilot uses the same operations from inside the app. It answers questions from the help guides, walks you through features and, in Do or Smart mode, makes changes after you approve them. The copilot runs on your own AI provider account (OpenRouter) with the model you picked for "Captions & content", while an external MCP client runs on that client's own AI account. See using the copilot for its modes and approvals.

Frequently asked questions

Which AI assistants can connect to Grow My X?

Any MCP client that lets you add a remote HTTP server with an Authorization header can connect. Claude Code connects with a single command, and clients that use a JSON configuration file can use the example on Settings → API & MCP. A client whose connection screen offers only a sign-in (OAuth) button can't connect yet, because the Grow My X MCP server uses API keys as bearer tokens.

Does the Grow My X MCP server use the official X API?

No. Grow My X connects to X through its Chrome extension, which works in your own signed-in X browser session; the official X developer API is deferred. When an assistant asks for an action on X, the request is queued for your extension, which carries it out with the same pacing, limits and pause protections as every other Grow My X workflow, while Chrome is open.

Should my AI assistant get read-only or read-and-write access?

Start with Read only for research, reporting and planning: the assistant can look up contacts, posts, follower numbers and analytics, and actions that change things are hidden from it. Move to Read and write when you want the assistant to update contacts, add next moves, prepare posts or send extension commands, and ask it to describe each change before it makes one.

Can I use one API key for several tools?

You can, but a separate key for each tool works better. Give every key a clear Name, such as the assistant or script that uses it, so the list on Settings → API & MCP shows which tool holds which key. If one tool no longer needs access, or a key is exposed, click Revoke on that key alone and your other tools keep working.

Can I connect ChatGPT or other chat apps to my X account through Grow My X?

A chat app can connect when it lets you add a remote MCP server with a custom Authorization header. If its connector screen offers only a sign-in button, it can't use Grow My X API keys yet. In that case, use the built-in copilot inside Grow My X, which runs on your own OpenRouter account and uses the same catalog of operations.

Founding Partner · 10 partnerships in total

Grow with us from the beginning.

Get the full Grow My X workspace with room for up to 300 managed client accounts. Create your own client packages and set your own client pricing.

$100/month USD

Become a Founding Partner

$100 at signup, then $100 each month with automatic renewal. Manage cancellation in Settings → Billing.

Grow My X is in beta. X workflows run through the Chrome extension in your signed-in X browser session and are undergoing live validation. Review current availability.