Connecting the X (Twitter) MCP Server to Cursor via an OAuth 2.0 App
Melvin Vivas · X video post · 2026-07-01 · 0:14 · 200 views · Open on X
Topics: AI Agents, Tool Use & MCP, AI Dev Tools & Productivity · Level: beginner
Summary
In this short post, Melvin Vivas shows that he connected X's official MCP server to the Cursor code editor. He did it in two steps: he created a new OAuth 2.0 app in the X Developer Portal, then pasted in the Cursor configuration from the official X MCP docs page. The post is a quick demo plus a link to that guide, not a full tutorial.
Key points
- X publishes official MCP servers for the X API and for the X developer docs, documented at docs.x.com/tools/mcp.
- Step 1: create a new OAuth 2.0 app in the X Developer Portal to get credentials.
- Step 2: use the Cursor-specific configuration from the X MCP docs to add the server to Cursor.
- Once connected, Cursor's AI agent can call the X API as a tool (for example, to read or post content). The creator jokes about 'AI replies'.
- The creator says he just followed the official guide, so it is an easy first MCP integration to practice on.
Resources mentioned
- MCP servers for the X API and X developer docs (X Docs) · docs · docs.x.com · free
Official X guide to the MCP servers for the X API and developer docs, including setup configs for clients like Cursor. - Cursor · tool · x.com · free · recommended by both Bashiri Smith & Melvin Vivas
AI-native code editor (VS Code with AI built in).
Also in: GLM 5.3 and GLM 5.3 Flash now in Cursor (Melvin Vivas on X · notes), Grok Bot Can Now Hand Off Coding Tasks to Cursor (Melvin Vivas on X · notes), Why Plan Mode Still Matters in AI Coding Assistants (Codex, Claude, Cursor) (Melvin Vivas on X · notes), Why Plan Mode Still Matters in AI Coding Agents (Codex, Claude, Cursor) (Melvin Vivas on X · notes) and 121 more - X Developer Portal · website · developer.x.com · check price
X's portal for creating API apps and getting OAuth credentials.
Try this
- Create a new OAuth 2.0 app in the X Developer Portal.
- Follow the X MCP guide at docs.x.com/tools/mcp and copy the Cursor configuration.
- Add the X MCP server to Cursor and check that the tools appear.