Documentation
Post, schedule, and manage X (Twitter) from an AI agent, your code, or the terminal. One API key, no X developer account, no OAuth. Pick a path below.
https://mcp.opentweet.io/mcpPaste one URL into your MCP client.
POST /api/v1/postsOne request from any language.
opentweet tweet "shipped"Post from a shell or CI job.
Browse the docs
Quickstart
Post your first tweet in three minutes with curl, the MCP server, or the CLI.
Authentication
Create an ot_ API key, send it as a Bearer token, verify with /me, and keep it safe.
MCP setup
Connect Claude Code, Cursor, Windsurf, or any MCP client to the hosted or local server.
MCP tools reference
All 43 tools your agent gets: posting, threads, scheduling, articles, analytics, evergreen, cross-posting.
REST API reference
Endpoints, request bodies, and responses for posting to X from any language.
CLI
Tweet and schedule from your terminal or a CI/CD pipeline.
Cross-posting
Mirror a post to Bluesky from the same call with the platforms field, and read the per-network result.
Built for machines too
Point your agent or tooling at these: /AGENTS.md, /openapi.json, and /llms-full.txt. The hosted MCP endpoint ishttps://mcp.opentweet.io/mcp.