Skip to main content
Glama

X(Twitter) MCP Server

by cjkcr

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWITTER_API_KEYYesYour X/Twitter API key
TWITTER_API_SECRETYesYour X/Twitter API secret
TWITTER_ACCESS_TOKENYesYour X/Twitter access token
TWITTER_ACCESS_TOKEN_SECRETYesYour X/Twitter access token secret

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

create_draft_reply

Create a draft reply to an existing tweet

reply_to_tweet

Reply to an existing tweet directly (without creating a draft)

retweet

Retweet an existing tweet (simple retweet without comment)

quote_tweet

Quote tweet with comment (retweet with your own comment)

create_draft_quote_tweet

Create a draft quote tweet with comment

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cjkcr/x-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server