Skip to content
How-to guide2 min readTracee team

Use a social media MCP server in Cursor, Codex and Claude Code

Connect Tracee AI, a social media MCP server, to Cursor, Codex and Claude Code. Setup for each client, the sign-in step, and first tasks to try.

Any MCP client can connect to Tracee AI, a social media MCP server, at https://traceeai.com/mcp. Below is the setup for Cursor, Codex and Claude Code, and for agents you build yourself.

Last checked: 28 November 2026

From your editor or terminal, the agent can draft posts from a changelog, plan a week of posts, check what's scheduled and send posts for a person to approve. For more ideas, see manage social media from Cursor and Claude Code.

Quick table

ClientSetup methodSign-in
Claude CodeOne commandBrowser sign-in with your Tracee account
CursorAdd the URL to the MCP config fileBrowser sign-in the first time it's used
CodexAdd the URL to Codex's config filecodex mcp login, then browser sign-in
Your own agent (OpenAI API, Agents SDK)Server URL plus a key in the requestWorkspace key

Claude Code

claude mcp add --transport http tracee https://traceeai.com/mcp

Then type /mcp in Claude Code, pick tracee and choose Authenticate. Your browser opens Tracee's sign-in page; sign in and come back to the terminal.

Cursor

Add Tracee to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "tracee": { "url": "https://traceeai.com/mcp" }
  }
}

Ask Cursor to use Tracee; it opens the sign-in page the first time.

Codex

Add Tracee to ~/.codex/config.toml (or a project's .codex/config.toml):

[mcp_servers.tracee]
url = "https://traceeai.com/mcp"

Then sign in:

codex mcp login tracee

Open the link it prints, sign in with your Tracee account, and paste the redirect URL back into the terminal if it asks. In the Codex IDE extension, add a Streamable HTTP server with the same URL and choose Authenticate. These steps follow OpenAI's MCP docs for Codex.

Agents you build yourself

Agents on the OpenAI API or the Agents SDK connect to the same URL and send a workspace key as a bearer token. Scripts and CI can skip MCP and use the Tracee CLI or the REST API with the same key. All three are documented in the developer docs, and the quickstart gets you to a first post.

Sign-in

In Cursor and Claude Code you sign in with OAuth: the client opens Tracee's sign-in page, you sign in with your Tracee account and pick a workspace, and no key is stored in a config file. To cut a client off, disconnect the integration in Tracee at any time, or remove the server from the client's settings.

First tasks to try

  1. "Read CHANGELOG.md and draft a LinkedIn post and an X thread about this release. Send them for my approval."
  2. "Plan a week of posts about [topic] for LinkedIn and X, one a day, and put them in the next free slots."
  3. "What's scheduled for next week?"
  4. "Draft a post announcing [feature] from the last commit message and send it for approval."
  5. "Which posts are waiting for approval?"

Who wrote this

By the Tracee team. Tracee AI is one of the tools discussed here, so we say where another tool fits better.

Frequently asked questions

Which clients work?

Any client that supports remote MCP servers over HTTP. Tracee AI documents setup for Claude Code, Cursor, Claude, ChatGPT and Gemini CLI, and agents you build on the OpenAI API connect with a workspace key.

Can the agent publish without approval?

Not by default. Posts an agent writes wait in Tracee AI's approval queue until a person approves them, and the agent can't approve its own post.

Does it need an API key?

Not in Cursor or Claude Code: you sign in with your Tracee account in the browser. Agents you build yourself, scripts and CI use a workspace key instead.

Can I use it from CI?

Yes, with the Tracee CLI and a workspace key rather than the MCP server. The developer docs have a GitHub Actions example that posts release notes.

Is this the same as Aqua Security's Tracee?

No. Tracee AI (traceeai.com) is a social media tool. Aqua Security's Tracee is an open source runtime security project.

Keep reading

7 days for $0. Cancel anytime.

Let your AI run your social media.

Connect ChatGPT, Claude or any agent to Tracee. It plans and writes your posts for 13 networks, and you approve everything in one calendar before it goes out.