x-ai-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_USER_ID | Yes | Your X user ID | |
| XAI_API_KEY | No | xAI key for intelligence tools | |
| X_CLIENT_ID | No | OAuth for write operations (posting, DMs) | |
| X_BEARER_TOKEN | Yes | X API bearer token (read-only operations) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| x_home_timelineA | Get your home timeline — tweets from people you follow. Requires OAuth token. |
| x_user_tweetsB | Get recent tweets from a specific user. |
| x_get_tweetA | Get a specific tweet by ID with full details. |
| x_post_tweetA | Post a new tweet. Requires OAuth token with tweet.write scope. |
| x_delete_tweetA | Delete one of your tweets. Permanent action. |
| x_search_tweetsA | Search recent tweets (last 7 days). Supports X search operators. |
| x_list_dmsA | List your actual DM conversations (where you've replied). Filters out unanswered message requests. |
| x_message_requestsB | List pending DM message requests — messages from people you haven't replied to. |
| x_read_dmB | Read messages from a specific DM conversation. |
| x_send_dmA | Send a direct message to a user. Requires OAuth with dm.write scope. |
| x_bookmarksB | Get your bookmarked tweets. Requires OAuth token. |
| x_liked_tweetsB | Get liked tweets for yourself or another user. |
| x_like_tweetB | Like a tweet. Requires OAuth token. |
| x_user_infoB | Get detailed profile info for a user. |
| x_followersB | List followers for yourself or another user. |
| x_followingB | List accounts you (or another user) follow. |
| x_analyze_topicB | Use Grok AI to analyze what X is saying about a topic right now. Returns insights with citations from real-time X data. |
| x_daily_digestB | Generate an AI-powered daily digest of what's happening on X. Uses Grok with real-time X search. |
| x_summarize_threadB | Use Grok to find and summarize a tweet thread. Provides key points and analysis. |
| x_analyze_accountB | Use Grok to analyze an X account — their posting patterns, key topics, influence, and recent activity. |
| x_dm_inboxA | List all DM conversations — both regular (REST API) and encrypted (XChat GraphQL). |
| x_dm_read_conversationA | Read messages from a DM conversation. |
| x_dm_sendB | Send a DM via X's internal API (regular conversations only). |
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/olivier-motium/x-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server