Twitter MCP Server

Interact with Twitter to post and search for tweets.

Local serverstdio

What is the Twitter MCP Server?

Interact with Twitter to post and search for tweets.

What you get

This MCP server allows Clients to interact with Twitter, enabling posting tweets and searching Twitter.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Twitter MCP Server

{
  "mcpServers": {
    "twitter-mcp": {
      "command": "npx",
      "args": ["-y", "@enescinar/twitter-mcp"],
      "env": {
        "API_KEY": "your_api_key_here",
        "API_SECRET_KEY": "your_api_secret_key_here",
        "ACCESS_TOKEN": "your_access_token_here",
        "ACCESS_TOKEN_SECRET": "your_access_token_secret_here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
API_KEYCredential the server authenticates with.Yes
API_SECRET_KEYCredential the server authenticates with.Yes
ACCESS_TOKENCredential the server authenticates with.Yes
ACCESS_TOKEN_SECRETCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

Interact with Twitter to post and search for tweets. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.