x-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| X_CLIENT_ID | No | Client ID for user context authentication. Can post. | |
| X_BEARER_TOKEN | No | Bearer token for app-only authentication. Cannot post. | |
| X_CLIENT_SECRET | No | Client secret for user context authentication. | |
| X_CREDENTIALS_FILE | No | Path to the credentials file used for refreshing tokens. |
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| x_list_operationsA | Browse the X API v2 — 175 of 190 operations are reachable here. Use this to find an operation id for x_call. Many endpoints need a paid access tier on your X account; that is a fact about the account rather than this server, and X reports it clearly if you lack one. |
| x_callC | Call any X API v2 operation by id. |
| x_get_meA | The authenticated user. Needs a user-context token, not app-only. |
| x_create_postA | Post to X. This is immediately public. It can be deleted afterwards, which is why it is classified a write rather than destructive — but everyone who saw it still saw it. |
| x_delete_postA | Delete one of your own posts. Cannot be undone. |
| x_search_postsB | Search recent posts. Needs at least Basic access; the free tier cannot read. |
| x_get_postC | One post by id, with whichever fields you ask for. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each dedicated tool targets a clear action (create/delete/search/get/user), but x_call can execute the same operations generically, so an agent could occasionally choose between x_call and a wrapper. The descriptions are specific enough that this overlap is manageable.
All tools share an x_ prefix and use snake_case, with imperative verb-first names like list_operations, create_post, and search_posts. x_call is a slight deviation from the verb_noun pattern, but it still reads consistently as the generic dispatch verb.
Seven tools is a well-scoped set: five focused wrappers plus a discovery/generic-call pair cover common and long-tail X operations without bloating the server.
The server explicitly reaches 175 of 190 X API v2 operations via x_list_operations plus x_call, and dedicated wrappers cover the most common post/user workflows. The tiny uncovered remainder is not an obvious gap for practical use.