Twitter Client MCP

A Model Context Protocol (MCP) server that provides secure access to Twitter functionality through the agent-twitter-client library.

Local serverstdioMIT

What is the Twitter Client MCP Server?

Twitter Client MCP is an MCP project maintained in the mzkrasner/twitter-client-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides secure access to Twitter functionality through the agent-twitter-client library”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using npx. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares TWITTER_USERNAME, TWITTER_PASSWORD, TWITTER_EMAIL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
profileByUsernameGet a Twitter profile by username
myProfileGet the authenticated user's profile
getTweetGet a specific tweet by ID
getUserTweetsGet tweets from a Twitter user
sendTweetPost a new tweet
likeTweetLike a tweet
retweetRetweet a tweet
searchTweetsSearch for tweets
searchProfilesSearch for Twitter profiles
getFollowersGet a list of users following a Twitter user
getFollowingGet a list of users that a Twitter user is following
followUserFollow a Twitter user

How to install the Twitter Client MCP Server

{
  "mcpServers": {
    "twitter-client-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:mzkrasner/twitter-client-mcp"
      ],
      "env": {
        "TWITTER_USERNAME": "your_username",
        "TWITTER_PASSWORD": "YOUR_TWITTER_PASSWORD",
        "TWITTER_EMAIL": "your_email@example.com"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TWITTER_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
TWITTER_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
TWITTER_EMAILDeclared in the maintainer’s client configuration.Check documentation