X MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_API_KEY | Yes | Your X API Key | |
| X_ACCESS_TOKEN | Yes | Your X Access Token | |
| X_API_KEY_SECRET | Yes | Your X API Key Secret | |
| X_ACCESS_TOKEN_SECRET | Yes | Your X Access Token Secret |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get-my-detailsB | Get my X account details |
| get-user-detailsB | Get details for a specific X user by ID |
| get-user-by-usernameC | Get details for a specific X user by username |
| get-user-followersB | Get followers of a specific X user |
| get-user-followingC | Get accounts that a specific X user is following |
| post-tweetC | Post a tweet with the specified content |
| like-tweetC | Like a specific tweet |
| unlike-tweetC | Unlike a specific tweet |
| retweetC | Retweet a specific tweet |
| unretweetA | Remove a retweet from a specific tweet |
| advanced-tweetA | Post a tweet with advanced options like reply to a tweet, quote a specific tweet, or create a poll for the tweet, |
| quote-a-tweetC | Quote a specific tweet |
| tweet-threadC | Post a thread of tweets |
| add-delete-bookmarkB | Add or delete a bookmark for a specific tweet |
| get-tweetsC | Get one or more tweets by their IDs |
| get-home-timelineC | Get tweets from your home timeline |
| get-user-timelineB | Get tweets from a specific user's timeline |
| get-quoted-tweetsB | Get tweets that quote a specific tweet |
| get-communityB | Get details for a specific X community |
| search-communitiesC | Search for X communities by keyword |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/siddheshutd/x-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server