X (Twitter) MCP by usefulapi
io.usefulapi/twitter-x
Serveur MCP OK 13 outils
Look up users, search and read posts, and publish or delete your own posts in X.
Fiche technique
- Auteur
- usefulapi.io (espace de noms du registre)
- Dépôt
- github.com/m190/usefulapi-mcp
- Site
- usefulapi.io/twitter-x
- Version
- 1.1.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://twitter-x.usefulapi.io/mcp Streamable HTTP
- Outils
- 13
- Catégories
- —
- Dernière mise à jour
- 26 nov. 2026
- Publication
- 26 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.usefulapi/twitter-x)<a href="https://latlas.dev/mcp/io.usefulapi/twitter-x"><img src="https://latlas.dev/badge/fiche/io.usefulapi/twitter-x.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://twitter-x.usefulapi.io/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:45
- Temps de réponse
- 1 603 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- twitter-x-mcp 1.1.0
- Outils
- 13
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:45 | OK | 1 603 ms | 13 |
Outils exposés (13, réponse à tools/list, 28 nov. 2026)
twitterx_get_user_by_username
Get a user by username
Look up an X user by username and return the user object (id, name, description, public metrics). Use this first to get the numeric user id the other tools need. X API: GET /2/users/by/username/{username}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| username | string | oui | X username, with or without the leading @. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_user
Get a user by id
Get one X user by numeric id, with the requested user fields. X API: GET /2/users/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_me
Get the authenticated user
Return the X account that owns the token. Needs a user-context OAuth 2.0 access token; an app-only Bearer Token gets an error. X API: GET /2/users/me.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_followers
List followers
List the followers of a user, one page at a time (up to 1000 per page). Follow meta.next_token for more. X API: GET /2/users/{id}/followers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| max_results | integer | non | Users per page, 1-1000. |
| pagination_token | string | non | Pagination token from meta.next_token of the previous page. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_following
List accounts a user follows
List the accounts one user follows, one page at a time (up to 1000 per page). X API: GET /2/users/{id}/following.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| max_results | integer | non | Users per page, 1-1000. |
| pagination_token | string | non | Pagination token from meta.next_token of the previous page. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_post
Get a post by id
Get one X post by numeric id, with the requested post fields and expansions. X API: GET /2/tweets/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| post_id | string | oui | Numeric X id. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_posts
Get several posts by id
Get up to 100 X posts in one call from a comma list of numeric ids. X API: GET /2/tweets?ids=.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| post_ids | string | oui | Comma-separated numeric post ids, up to 100. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_search_recent_posts
Search recent posts
Search X posts from the last 7 days with the X query language (operators such as from:, to:, lang:, -is:retweet). Returns up to 100 posts per page. X API: GET /2/tweets/search/recent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | X search query, for example "mcp server lang:en -is:retweet". |
| max_results | integer | non | Posts per page, 10-100. |
| next_token | string | non | Pagination token from meta.next_token. |
| start_time | string | non | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | non | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| sort_order | enum: "recency" | "relevancy" | non | Result order. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_user_posts
List a user's posts
List the posts of one user, newest first, one page at a time. Replies and retweets can be excluded. X API: GET /2/users/{id}/tweets.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| max_results | integer | non | Posts per page, 5-100. |
| pagination_token | string | non | Pagination token from meta.next_token of the previous page. |
| start_time | string | non | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | non | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| exclude | string | non | Comma list to exclude: retweets, replies. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_user_mentions
List posts that mention a user
List posts that mention one user, one page at a time. X API: GET /2/users/{id}/mentions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| max_results | integer | non | Posts per page, 5-100. |
| pagination_token | string | non | Pagination token from meta.next_token of the previous page. |
| start_time | string | non | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | non | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_get_liked_posts
List posts a user liked
List the posts one user liked, one page at a time. X API: GET /2/users/{id}/liked_tweets.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| user_id | string | oui | Numeric X id. |
| max_results | integer | non | Posts per page, 1-100. |
| pagination_token | string | non | Pagination token from meta.next_token of the previous page. |
| post_fields | string | non | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | non | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | non | Comma list of user fields, e.g. description,public_metrics,verified. |
twitterx_create_post
Create a post
Publish one post from the authenticated account, only when the user asks for it. Needs a user-context access token and uses pay-per-usage credits. Set reply_to_post_id to reply to a post. X API: POST /2/tweets.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| text | string | oui | Post text, up to 280 characters. |
| reply_to_post_id | string | non | Post id to reply to, if any. |
twitterx_delete_post
Delete a post
Delete one post from the authenticated account, only when the user asks for it. This cannot be undone. Needs a user-context access token. X API: DELETE /2/tweets/{id}.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| post_id | string | oui | Numeric X id. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://twitter-x.usefulapi.io/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http twitter-x https://twitter-x.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : twitter-x ; URL : https://twitter-x.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : twitter-x ; Server URL : https://twitter-x.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"twitter-x": {
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"twitter-x": {
"type": "http",
"url": "https://twitter-x.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"twitter-x": {
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"twitter-x": {
"httpUrl": "https://twitter-x.usefulapi.io/mcp"
}
}
}[mcp_servers.twitter-x]
url = "https://twitter-x.usefulapi.io/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
X (Twitter) MCP by usefulapi · L’Atlas · Test du
[X (Twitter) MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/twitter-x)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.