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) |
Capabilities
Features and capabilities supported by this server
| 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_timeline | Get your home timeline — tweets from people you follow. Requires OAuth token. |
| x_user_tweets | Get recent tweets from a specific user. |
| x_get_tweet | Get a specific tweet by ID with full details. |
| x_post_tweet | Post a new tweet. Requires OAuth token with tweet.write scope. |
| x_delete_tweet | Delete one of your tweets. Permanent action. |
| x_search_tweets | Search recent tweets (last 7 days). Supports X search operators. |
| x_list_dms | List your actual DM conversations (where you've replied). Filters out unanswered message requests. |
| x_message_requests | List pending DM message requests — messages from people you haven't replied to. |
| x_read_dm | Read messages from a specific DM conversation. |
| x_send_dm | Send a direct message to a user. Requires OAuth with dm.write scope. |
| x_bookmarks | Get your bookmarked tweets. Requires OAuth token. |
| x_liked_tweets | Get liked tweets for yourself or another user. |
| x_like_tweet | Like a tweet. Requires OAuth token. |
| x_user_info | Get detailed profile info for a user. |
| x_followers | List followers for yourself or another user. |
| x_following | List accounts you (or another user) follow. |
| x_analyze_topic | 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_digest | Generate an AI-powered daily digest of what's happening on X. Uses Grok with real-time X search. |
| x_summarize_thread | Use Grok to find and summarize a tweet thread. Provides key points and analysis. |
| x_analyze_account | Use Grok to analyze an X account — their posting patterns, key topics, influence, and recent activity. |
| x_dm_inbox | List all DM conversations — both regular (REST API) and encrypted (XChat GraphQL). |
| x_dm_read_conversation | Read messages from a DM conversation. |
| x_dm_send | 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 | |