API & Integrations

How to Set Up the OpenTweet MCP Server with Claude, Cursor, and AI Tools

Last updated: May 1, 2026

Step-by-step setup guide for the OpenTweet MCP server with Claude Desktop, Cursor, VS Code, and any MCP-compatible client.

The OpenTweet MCP server connects Claude AI, Cursor, VS Code, and any MCP-compatible AI tool to your OpenTweet account. Once configured, your AI assistant can create, schedule, and manage tweets through natural language — no code required.

Quick Answer: Install the OpenTweet MCP server with npx @opentweet/mcp-server, then add it to your AI client's config with your OpenTweet API key (ot_ prefix). After restarting your client, 18 tweet management tools are available to Claude, Cursor, or VS Code.

What is MCP and why does OpenTweet have one?

MCP (Model Context Protocol) is a standard created by Anthropic that lets AI assistants connect to external tools and services. OpenTweet's MCP server exposes 18 Twitter management tools that AI clients can call during conversations. Instead of switching between apps, you ask Claude or Cursor to handle tweet scheduling for you.

What tools are available?

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, and opentweet_get_evergreen_history.

How do I set up with Claude Desktop?

Open Claude Desktop and go to Settings → Developer → Edit Config. Add this to your claude_desktop_config.json:

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

Replace ot_your_api_key_here with your actual OpenTweet API key. Save the file and restart Claude Desktop.

How do I set up with Cursor?

In Cursor, create or edit mcp.json in your project root or user settings directory. Add the same server configuration as above. After restarting Cursor, the 18 OpenTweet tools are available to the AI assistant.

How do I set up with VS Code?

Add the MCP server to VS Code's MCP configuration in your user settings. The configuration format is the same JSON structure. After restarting VS Code, the tools appear in the AI assistant's tool panel.

What prompts can I use?

  • "Write and schedule a tweet about [topic] for tomorrow at 9 AM"
  • "Show me my scheduled tweets this week"
  • "Create a thread about the top 5 benefits of [product]"
  • "Add my last 5 posted tweets to the evergreen queue"
  • "Show my posting analytics for the last 30 days"
  • "Batch schedule these 10 draft tweets across next week"

Ready to Try OpenTweet?

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