X MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWITTER_API_KEYYesYour Twitter API Key (also called Consumer Key)
TWITTER_API_SECRETYesYour Twitter API Key Secret (also called Consumer Secret)
TWITTER_ACCESS_TOKENYesYour Twitter Access Token with Read and Write permissions
TWITTER_ACCESS_SECRETYesYour Twitter Access Token Secret with Read and Write permissions

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_home_timelineGet the most recent tweets from your home timeline
create_tweetCreate a new tweet
reply_to_tweetReply to a tweet