Salta l'installazione. Attivo in meno di 2 minuti.
Avvia una prova gratuita su cloud.anythingmcp.com, aggiungi X (Twitter) con un clic, poi punta il tuo client AI (Claude, ChatGPT, Copilot o Cursor) all'endpoint MCP generato. Niente Docker, niente git clone, nessuna esperienza di sviluppo richiesta.
AnythingMCP è nella directory dei connettori di Claude: aggiungilo a Claude con un clic (si apre in una nuova scheda), poi accedi e scegli quali server MCP può usare Claude.
In breve
Fai lavorare la tua AI con X (ex Twitter): leggi e cerca post, la tua timeline, menzioni, segnalibri, liste e messaggi diretti, consulta account e follower e, dopo la tua conferma, pubblica post, risposte e citazioni, metti like, fai repost e invia DM.
Prova a chiedere
Prompt di esempio per X (Twitter)
Clicca su un prompt per copiarlo. Incollalo in Claude, ChatGPT, Cursor, Gemini, Copilot o OpenClaw per eseguirlo contro questo connettore.
Claude è un'AI e può sbagliare. Verifica sempre le risposte.
💡 Niente installazione? Vai direttamente su cloud.anythingmcp.com. Accedi, clicca Connectors → X (Twitter), inserisci le credenziali, genera una MCP API key e hai finito. Niente Docker, niente
git clone, niente server locale.
X (Twitter) + Claude
Fai lavorare la tua AI con X (ex Twitter): leggi e cerca post, la tua timeline, menzioni, segnalibri, liste e messaggi diretti, consulta account e follower e, dopo la tua conferma, pubblica post, risposte e citazioni, metti like, fai repost e invia DM.
Prerequisiti
Le istruzioni di setup complete sono incluse nel connettore stesso (visibili nello store quando lo selezioni). Le variabili d'ambiente richieste sono:
X_CLIENT_ID, X_CLIENT_SECRET
Step 1 — Ottieni le credenziali
- Apri la X Developer Console su
https://console.x.com, accedi con l'account X a cui apparterrà l'app e fai clic su Create App. - Aggiungi crediti API nella sezione di fatturazione. La X API è a consumo con crediti prepagati e per i nuovi sviluppatori non c'è un piano gratuito: senza crediti, X rifiuta ogni chiamata.
- Apri le User authentication settings dell'app e fai clic su Set up. Scegli i permessi Read and write and Direct message (Read and write basta se lasci fuori i tool dei DM), il tipo di app Web App, Automated App or Bot, l'URL di un sito e il callback URI
https://cloud.anythingmcp.com/api/mcp-oauth/callback. Se ospiti AnythingMCP in proprio, è<your AnythingMCP URL>/api/mcp-oauth/callback. X lo confronta carattere per carattere, slash finale compreso. In un'installazione locale usa127.0.0.1, nonlocalhost:http://127.0.0.1:<port>/api/mcp-oauth/callback. - Copia il OAuth 2.0 Client ID e il Client Secret in
X_CLIENT_IDeX_CLIENT_SECRET. X mostra il secret una sola volta. API Key, API Secret e Bearer Token dell'app servono ad altri metodi di accesso e qui non si usano. - Installa il connettore, fai clic su Authorize with Provider e consenti l'accesso su X. L'accesso usa OAuth 2.0, quindi AnythingMCP non vede mai la tua password di X e rinnova da solo i token di accesso (validi due ore).
- Inizia con
x_get_me: restituisce il tuo account e l'id numerico dell'utente, che serve ai tool per timeline, like, repost, segnalibri e follow.x_get_user_by_usernametrasforma qualsiasi @username nel suo id.
Quanto costa: X scala ogni lettura e ogni post dal tuo saldo di crediti. Pubblicare costa più che leggere, e un post con un link costa molto di più. Leggere i tuoi dati costa meno quando l'account con cui accedi è anche il proprietario dell'app sviluppatore, e lo stesso elemento letto due volte nello stesso giorno UTC viene addebitato una volta sola. Imposta un limite di spesa nella Developer Console e controlla i prezzi attuali di X su https://docs.x.com/x-api/getting-started/pricing. Chiedere meno risultati tiene bassa la spesa, perché conta ogni elemento restituito.
Prima conferma: post, risposte, citazioni, repost e messaggi diretti (x_create_post, x_reply_to_post, x_quote_post, x_repost, x_send_dm, x_send_dm_to_conversation) partono subito, quindi l'AI ti mostra il testo esatto e il destinatario e aspetta il tuo sì. Anche seguire e smettere di seguire un account richiede conferma. x_delete_post e x_delete_dm sono disattivati all'installazione.
Risposte: X accetta una risposta inviata tramite API solo se l'autore del post originale ha menzionato o citato il tuo account. Rispondere nei tuoi thread e alle tue menzioni funziona.
Ricerca e messaggi: la ricerca copre gli ultimi 7 giorni e capisce gli operatori di X, come from:, to:, #hashtag, "exact phrase", -is:retweet o lang:en. x_count_recent_posts conta i post corrispondenti senza leggerli. I messaggi diretti coprono gli ultimi 30 giorni; le conversazioni crittografate non sono disponibili tramite API.
Solo lettura o senza DM: togli gli scope .write, oppure gli scope dm., nelle impostazioni OAuth del connettore, autorizza di nuovo e disattiva i tool che li richiedono.
Errori comuni: 401 vuol dire che l'autorizzazione è stata revocata o che il client secret è cambiato, quindi autorizza di nuovo. 403 con client-forbidden o client-not-enrolled vuol dire che l'app non è a consumo: nella Developer Console spostala nel pacchetto Pay-per-use e nell'ambiente Production, e aggiungi crediti. Se chiamate che prima funzionavano iniziano a fallire, di solito sono finiti i crediti o è stato raggiunto il limite di spesa. 429 è il rate limit di X, che si azzera ogni 15 minuti.
Il connettore non carica media (i post sono testo o sondaggi), non cerca nell'intero archivio, non riceve i post in streaming, non gestisce le liste, non silenzia né blocca account e non gestisce annunci.
Step 2 — Installa l'adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Aggiungi il connettore in Claude
L'URL del tuo server: in AnythingMCP apri MCP Servers → il server su cui si trova questo connettore e copia il suo URL (
https://cloud.anythingmcp.com/mcp/…). Usalo ovunque questa guida mostraYOUR_SERVER_ID.
Percorso consigliato: funziona su claude.ai web senza toccare alcun file di configurazione.
- In Claude apri Customize → Connectors.
- Clicca + e poi Add custom connector.
- Inserisci un nome, ad esempio
X (Twitter), e l'URL del server MCP remotohttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID, poi clicca Add. - Clicca Connect e accedi ad AnythingMCP (OAuth) per consentire l'accesso.
Tutti i tool sotto compaiono nella tua chat: inizia a scrivere prompt.
Tool disponibili
| Tool | What it does |
|---|---|
x_get_me | Read the X account that authorized the connector: id, name, @username and the user fields asked for |
x_get_user_by_username | Look up one X account by its @username (without the @): id, name, bio, follower and post counts and more |
x_get_users_by_usernames | Look up up to 100 X accounts by @username in one call |
x_get_user | Look up one X account by its numeric user id: name, @username, bio, counts and the user fields asked for |
x_search_users | Find X accounts by name or @username keywords |
x_get_post | Read one post by id: text, author_id, time, metrics and the fields asked for |
x_get_posts | Read up to 100 posts by id in one call |
x_list_user_posts | List the most recent posts of an account (up to the last 3,200), newest first |
x_list_user_mentions | List the most recent posts that mention an account (up to the last 800), newest first |
x_get_home_timeline | Read your home timeline in reverse chronological order: posts and reposts from you and the accounts you follow |
x_search_recent_posts | Search posts from the last 7 days with X search operators, e.g. "anythingmcp lang:en -is:retweet", from:username, to:username, #hashtag… |
x_count_recent_posts | Count the posts of the last 7 days that match a search query, per minute, hour or day, without reading them |
x_list_quote_posts | List the posts that quote a given post, newest first, with the quoting text and author_id |
x_list_reposted_by | List the accounts that reposted a post, with the user fields asked for |
x_list_liking_users | List the accounts that liked a post |
x_create_post | Publish a new post on the authorized account, visible to everyone at once |
x_reply_to_post | Publish a reply to a post, visible to everyone at once |
x_quote_post | Publish a post that quotes another post with your comment, visible to everyone at once |
x_delete_post | Delete one of your own posts for good |
x_list_liked_posts | List the posts an account liked, newest like first |
x_like_post | Like a post as the authorized account |
x_unlike_post | Remove your like from a post you liked before |
x_repost | Repost a post to your followers, visible to everyone at once |
x_undo_repost | Take back your repost of a post; the original post stays |
x_list_bookmarks | List your bookmarked posts, most recently bookmarked first (up to the last 800) |
x_add_bookmark | Bookmark a post |
x_remove_bookmark | Remove a post from your bookmarks |
x_list_followers | List the accounts that follow an account, newest follower first |
x_list_following | List the accounts an account follows, most recently followed first |
x_follow_user | Follow an account as the authorized account; the other account is notified |
x_unfollow_user | Stop following an account as the authorized account |
x_list_owned_lists | List the X Lists an account owns: id, name, description, member and follower counts |
x_list_followed_lists | List the X Lists an account follows: id, name, description, member and follower counts |
x_get_list | Read one X List: name, description, member and follower counts, whether it is private and when it was created |
x_list_list_posts | Read the latest posts from the members of an X List, newest first |
x_list_list_members | List the accounts that are members of an X List, with the user fields asked for |
x_list_dm_events | List your recent direct messages across all conversations (the last 30 days), newest first |
x_list_dm_conversation_with_user | Read your one-to-one direct message conversation with another account (the last 30 days), newest first |
x_send_dm | Send a direct message to an account, in your one-to-one conversation with it (created when needed) |
x_send_dm_to_conversation | Send a direct message into an existing conversation (one-to-one or group) by its dm_conversation_id from x_list_dm_events |
x_delete_dm | Delete one of your direct messages, for you only (the other side keeps it) |
Esempi di prompt
- "Mostrami le menzioni di oggi del mio account e prepara una bozza di risposta per quelle che fanno una domanda."
- "Cerca i post degli ultimi 7 giorni sul lancio del nostro prodotto e riassumi il tono."
- "Quanti post hanno menzionato #ourbrand ogni giorno di questa settimana?"
- "Prepara un post che annuncia la nostra nuova pagina prezzi e pubblicalo quando approvo il testo."
FAQ
Funziona con Claude Code come con Claude Desktop? Sì, punta entrambi a https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.
Prossimi passi
- Landing del connettore
- Collegare a ChatGPT
- Collegare a Cursor
- Collegare a Gemini
- Collegare a Meta Muse
Questa guida ti è stata utile?