MCP.so
Sign In

Twitter MCP Server for Claude Desktop

@SouravKumarBarman

About Twitter MCP Server for Claude Desktop

No overview available yet

Basic information

Category

AI & Agents

Runtime

node

Transports

stdio

Publisher

SouravKumarBarman

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "Twitter Assistant": {
      "command": "npm",
      "args": [
        "--prefix",
        "/full/path/to/twitter-mcp-server.js",
        "start"
      ]
    }
  }
}

Tools

3

`content` (string, max 280 chars), `dryRun` (boolean, optional)

`tweetId` (string)

`content` (string, max 280 chars)

Overview

What is Twitter MCP Server for Claude Desktop?

Twitter MCP Server for Claude Desktop is a Model Context Protocol (MCP) server that connects Claude Desktop to the Twitter API. It enables users to post tweets, analyze content, fetch trending topics, and generate well-structured tweet drafts from natural language prompts.

How to use Twitter MCP Server for Claude Desktop?

Install Node.js v16 or higher, clone the repository, run npm install, and add your Twitter API credentials to a .env file. Configure the server in Claude Desktop’s MCP settings by adding a JSON entry that points to the server script. Once configured, ask Claude Desktop to perform actions such as posting tweets, analyzing content, or fetching trends.

Key features of Twitter MCP Server for Claude Desktop

  • Access your Twitter profile and recent tweets.
  • Fetch current trending topics.
  • Post tweets with content validation and optional dry run.
  • Delete tweets by ID.
  • Analyze tweet content for engagement potential.
  • Generate tweet drafts using prompt templates (concise, thread, engagement).

Use cases of Twitter MCP Server for Claude Desktop

  • Draft and post tweets from natural language descriptions.
  • Create multi-tweet threads with a call to action.
  • Analyze a draft tweet’s engagement potential before publishing.
  • Check trending topics on Twitter via Claude Desktop.
  • Manage Twitter content without leaving the Claude interface.

FAQ from Twitter MCP Server for Claude Desktop

What are the prerequisites for using Twitter MCP Server for Claude Desktop?

You need Node.js (v16 or higher), Claude Desktop, and a Twitter Developer Account with API keys.

Does the server store my Twitter data?

No, the server retrieves data from Twitter’s API on demand and does not persist any data locally.

What are the limitations on tweet content?

Tweets are limited to 280 characters. For threads, you can specify between 2 and 5 points.

How does authentication work?

You provide your Twitter API credentials (API key, API secret, access token, access secret) in a .env file. The server uses these to authenticate with the Twitter API.

Does the server post tweets automatically?

No, the server asks for confirmation before posting or deleting tweets,

Comments

More AI & Agents MCP servers