Overview
X MCP Server is a tool designed for interacting with the X platform through various MCP clients such as Claude, Cursor AI, and Windsurf AI.
To use X MCP Server, clone the repository, install the dependencies, build the project, and configure it with your X Developer API keys. Then, set up the MCP server in your preferred client.
- Interacts with the X platform via multiple MCP clients. - Supports configuration for different clients like Claude, Cursor AI, and Windsurf AI. - Built with Node.js and TypeScript for efficient performance.
- Connecting AI clients to the X platform for data retrieval.
- Facilitating communication between MCP clients and the X platform.
- Enabling developers to create custom integrations with the X platform.
Add to your AI client
Use these steps to connect X MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"x-mcp-server-siddheshutd": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"x-mcp-server-siddheshutd": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"x-mcp-server-siddheshutd": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"x-mcp-server-siddheshutd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"x-mcp-server-siddheshutd": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"x-mcp-server-siddheshutd": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-x-mcp-server-siddheshutd"
]
}
}
}FAQ
What are the prerequisites for using X MCP Server?
You need Node.js (>=18.0.0), npm (>=8.0.0), and X Developer API keys.
How do I configure the server for different clients?
Follow the specific instructions provided for each client in the documentation.
Is there a rate limit for using the X APIs?
Yes, there is a rate limit set by the X platform, which can be checked on their developer portal.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2626,"uuid":"9fbf3247-b25d-446d-aaa8-e199dc0436e5","name":"x-mcp-server","title":"X MCP Server","description":"This is an MCP server for the X Platform","avatar_url":"https://avatars.githubusercontent.com/u/63443308?v=4","created_at":"$D2025-03-13T09:14:30.559Z","updated_at":"$D2025-03-13T09:34:37.756Z","status":"created","author_name":"siddheshutd","author_avatar_url":"https://avatars.githubusercontent.com/u/63443308?v=4","tags":"x-mcp-server,mcp-client,x-platform","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/siddheshutd/x-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-10 15:57:06\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]