L'Atlas / Serveurs MCP / X (Twitter) MCP by usefulapi
Serveur MCP

X (Twitter) MCP by usefulapi

io.usefulapi/twitter-x

Serveur MCP OK 13 outils

Faire examiner Voir les tarifs

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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/twitter-x.svg)](https://latlas.dev/mcp/io.usefulapi/twitter-x)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 08:45OK1 603 ms13

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ètreTypeRequisDescription
usernamestringouiX username, with or without the leading @.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
max_resultsintegernonUsers per page, 1-1000.
pagination_tokenstringnonPagination token from meta.next_token of the previous page.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
max_resultsintegernonUsers per page, 1-1000.
pagination_tokenstringnonPagination token from meta.next_token of the previous page.
user_fieldsstringnonComma 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ètreTypeRequisDescription
post_idstringouiNumeric X id.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
post_idsstringouiComma-separated numeric post ids, up to 100.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
querystringouiX search query, for example "mcp server lang:en -is:retweet".
max_resultsintegernonPosts per page, 10-100.
next_tokenstringnonPagination token from meta.next_token.
start_timestringnonISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnonISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
sort_orderenum: "recency" | "relevancy"nonResult order.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
max_resultsintegernonPosts per page, 5-100.
pagination_tokenstringnonPagination token from meta.next_token of the previous page.
start_timestringnonISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnonISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
excludestringnonComma list to exclude: retweets, replies.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
max_resultsintegernonPosts per page, 5-100.
pagination_tokenstringnonPagination token from meta.next_token of the previous page.
start_timestringnonISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnonISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
user_idstringouiNumeric X id.
max_resultsintegernonPosts per page, 1-100.
pagination_tokenstringnonPagination token from meta.next_token of the previous page.
post_fieldsstringnonComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnonComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnonComma 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ètreTypeRequisDescription
textstringouiPost text, up to 280 characters.
reply_to_post_idstringnonPost 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ètreTypeRequisDescription
post_idstringouiNumeric 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport 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 Code
claude mcp add --transport http twitter-x https://twitter-x.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : twitter-x ; URL : https://twitter-x.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : twitter-x ; Server URL : https://twitter-x.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "twitter-x": {
      "url": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "twitter-x": {
      "type": "http",
      "url": "https://twitter-x.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "twitter-x": {
      "url": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "twitter-x": {
      "httpUrl": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[X (Twitter) MCP by usefulapi — L’Atlas](https://latlas.dev/mcp/io.usefulapi/twitter-x)
Méthode et limites des tests

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.