API & Integrations

How to Use OpenTweet with Claude, Cursor, and AI Tools (MCP)

Last updated: April 17, 2026

The MCP server lets AI tools like Claude Desktop, Cursor, and VS Code create and schedule tweets directly.

The OpenTweet MCP (Model Context Protocol) server connects AI tools — Claude Desktop, Cursor, VS Code, and any MCP-compatible client — directly to your OpenTweet account. Ask your AI assistant to schedule tweets, manage your queue, or view analytics in natural language.

Quick Answer: The OpenTweet MCP server (package: @opentweet/mcp-server) connects Claude AI, Cursor, and VS Code to your OpenTweet account, providing 18 tools for tweet management. Configure it with your OpenTweet API key in your AI client's MCP settings.

What is MCP?

Model Context Protocol (MCP) is an open standard that lets AI tools like Claude, Cursor, and VS Code connect to external services via structured tool interfaces. By installing the OpenTweet MCP server, your AI assistant gains the ability to read and write to your OpenTweet account — creating tweets, viewing your schedule, and managing your evergreen queue — all from within the AI chat interface.

What MCP tools are available?

The OpenTweet MCP server provides 18 tools covering the complete tweet management workflow. These tools let your AI client create drafts, schedule with specific times, publish immediately, create threads, batch-schedule multiple posts, view analytics, upload media, and fully manage the evergreen queue.

The OpenTweet MCP server provides 18 tools: opentweet_create_tweet, opentweet_publish_tweet, opentweet_create_thread, opentweet_list_tweets, opentweet_get_tweet, opentweet_update_tweet, opentweet_delete_tweet, opentweet_batch_schedule, opentweet_get_analytics, opentweet_upload_media, opentweet_get_account, opentweet_get_evergreen_settings, opentweet_update_evergreen_settings, opentweet_list_evergreen_posts, opentweet_add_to_evergreen, opentweet_remove_from_evergreen, opentweet_update_evergreen_post, opentweet_get_evergreen_history.

How do I set up MCP with Claude Desktop?

Get an OpenTweet API key from Settings → API Keys. Open Claude Desktop → Settings → Developer → Edit Config. Add the following to claude_desktop_config.json under mcpServers:

"opentweet": {
  "command": "npx",
  "args": ["@opentweet/mcp-server"],
  "env": { "OPENTWEET_API_KEY": "ot_your_key_here" }
}

Save the file and restart Claude Desktop. The 18 OpenTweet tools will appear in the tools panel.

How do I set up MCP with Cursor or VS Code?

In Cursor or VS Code, open the MCP configuration file (typically .cursor/mcp.json or VS Code MCP settings). Add the same server entry: command npx @opentweet/mcp-server with OPENTWEET_API_KEY set in the environment. Restart the editor. The 18 OpenTweet tools become available in the AI assistant panel.

Ready to Try OpenTweet?

Start your 7-day free trial. Schedule tweets, use AI, set up connectors — all in one place.