API & Integrations
How to use OpenTweet with Claude, Cursor, and AI tools (MCP)
OpenTweet provides a Model Context Protocol (MCP) server that lets AI tools create, schedule, and manage tweets directly. Connect it to Claude Desktop, Cursor, Claude Code, Windsurf, Cline, VS Code, or any MCP-compatible client.
What is MCP?
MCP (Model Context Protocol) is a standard that allows AI assistants to interact with external tools and services. OpenTweet's MCP server exposes tweet management as tools that AI can call during conversations.
Available MCP tools
- create_tweet — Create a new tweet (draft, scheduled, or publish now).
- create_thread — Create a multi-tweet thread.
- list_tweets — List tweets filtered by status.
- get_tweet — Get details of a specific tweet.
- update_tweet — Edit an existing draft or scheduled tweet.
- delete_tweet — Delete a tweet.
- publish_tweet — Publish a draft immediately.
- batch_schedule — Schedule multiple tweets at once.
- get_analytics — View posting analytics.
- Evergreen tools — Full evergreen queue management (7 tools).
Setup with Claude Desktop
- Install the OpenTweet MCP server:
npx @opentweet/mcp-server - Add it to your Claude Desktop MCP config with your OpenTweet API key.
- Restart Claude Desktop. The tweet tools will appear in the tools panel.
Setup with Cursor / VS Code
Add the MCP server to your editor's MCP configuration. The server URL and API key are all that's needed. See the MCP server page for full setup instructions for each client.