{"type":"mcp_server","name":"x-mcp","description":"This repository provides an MCP server that enables users to create, manage, and publish posts directly to X/Twitter through Claude chat. It offers both automated and manual installation options for seamless integration.","category":"Communication","language":"Python","stars":61,"forks":11,"owner":"vidhupv","github_url":"https://github.com/vidhupv/x-mcp","homepage":null,"setup":"## Setup\n\n### Installing via Smithery\n\nTo install X(Twitter) MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/x-mcp):\n\n```bash\nnpx -y @smithery/cli install x-mcp --client claude\n```\n\n### Manual Installation\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/x-mcp.git\n```\n\n2. Install UV globally using Homebrew in Terminal:\n```bash\nbrew install uv\n```\n\n3. Create claude_desktop_config.json:\n   - For MacOS: Open directory `~/Library/Application Support/Claude/` and create the file inside it\n   - For Windows: Open directory `%APPDATA%/Claude/` and create the file inside it\n\n4. Add this configuration to claude_desktop_config.json:\n```json\n{\n  \"mcpServers\": {\n    \"x_mcp\": {\n      \"command\": \"uv\",\n      \"args\": [\n        \"--directory\",\n        \"/path/to/x-mcp\",\n        \"run\",\n        \"x-mcp\"\n      ],\n      \"env\": {\n        \"TWITTER_API_KEY\": \"your_api_key\",\n        \"TWITTER_API_SECRET\": \"your_api_secret\",\n        \"TWITTER_ACCESS_TOKEN\": \"your_access_token\",\n        \"TWITTER_ACCESS_TOKEN_SECRET\": \"your_access_token_secret\"\n      }\n    }\n  }\n}\n```\n\n5. Get your X/Twitter API credentials:\n   - Go to [X API Developer Portal](https://developer.x.com/en/products/x-api)\n   - Create a project\n   - In User Authentication Settings: Set up with Read and Write permissions, Web App type\n   - Set Callback URL to `http://localhost/` and Website URL to `http://example.com/`\n   - Generate and copy all keys and tokens from Keys and Tokens section\n\n6. Update the config file:\n   - Replace `/path/to/x-mcp` with your actual repository path\n   - Add your X/Twitter API credentials\n\n7. Quit Claude completely and reopen it","tools":"## Available Tools\n\n1.  Create X/Twitter posts directly through Claude chat (Allows users to compose tweets using Claude).\n2.  Manage X/Twitter posts directly through Claude chat (Enables users to organize and handle their tweets).\n3.  Publish X/Twitter posts directly through Claude chat (Facilitates the direct posting of tweets via Claude).\n4.  Create a thread about a topic (Allows users to create tweet threads).\n5.  Show draft tweets (Allows users to view their saved drafts).\n6.  Publish a draft (Allows users to publish a saved draft).\n7.  Delete a draft (Allows users to delete a saved draft).","faq":null,"created_at":"2024-12-04T21:38:39+00:00","updated_at":"2025-03-28T17:27:59+00:00","source_url":"https://model-context-protocol.com/servers/x-twitter-post-server-claude-integration","related_articles":[]}