X(Twitter) MCP Server

MIT License
26
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWITTER_API_KEYYesYour X/Twitter API key (from X API Developer Portal)
TWITTER_API_SECRETYesYour X/Twitter API secret (from X API Developer Portal)
TWITTER_ACCESS_TOKENYesYour X/Twitter access token (from X API Developer Portal)
TWITTER_ACCESS_TOKEN_SECRETYesYour X/Twitter access token secret (from X API Developer Portal)

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
create_draft_tweet

Create a draft tweet

create_draft_thread

Create a draft tweet thread

list_drafts

List all draft tweets and threads

publish_draft

Publish a draft tweet or thread

delete_draft

Delete a draft tweet or thread