post_tweet
Post a new tweet to Twitter
Post a tweet or a threaded reply from the client you are already working in, and pull back a set number of tweets matching a query.
LABSCO SUMMARY
Two tools, and one of them publishes to a live account: there is no draft, no edit and no delete in the surface, so whatever the agent decides to post is what ships. The read side is a query with a result count, which is enough to check what a thread is saying before you reply to it and not enough to do timeline analysis.
A two-call Twitter client: one write that posts a tweet or replies to an existing tweet id, and one read that searches tweets for a query.
Four Twitter API credentials: API_KEY, API_SECRET_KEY, ACCESS_TOKEN and ACCESS_TOKEN_SECRET.
One command plus a key — npx -y @enescinar/twitter-mcp, then supply credentials
USE CASES
One call posts the text; passing the id of an existing tweet makes it a reply in that thread rather than a standalone post.
Search for a query and ask for as many results as you want to weigh, so the reply is written against the current conversation instead of a summary of it.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
post_tweetPost a new tweet to Twitter
search_tweetsSearch for tweets on Twitter
BEFORE YOU INSTALL
2 tools when we connected.
The documented client runs the server on your machine.
CONTEXT COST
Rated by the size of the 2 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y @enescinar/twitter-mcp{
"mcpServers": {
"twitter-mcp": {
"command": "npx",
"args": [
"-y",
"@enescinar/twitter-mcp"
],
"env": {
"API_KEY": "<YOUR_API_KEY>",
"API_SECRET_KEY": "<YOUR_API_SECRET_KEY>",
"ACCESS_TOKEN": "<YOUR_ACCESS_TOKEN>",
"ACCESS_TOKEN_SECRET": "<YOUR_ACCESS_TOKEN_SECRET>"
}
}
}
}