Labsco
MCP SERVER

X (Twitter)

by mbelinky

Post to X with media or as a reply, search tweets, and delete one by its ID.

Social Media Accounts & PostingVerified
Summary
A publishing and correction path, not a way to watch the account.

Post, search and delete is the whole surface — no timeline read, no direct messages, no likes or follows — so it fits an agent that writes to X rather than one that monitors it. Replies go through the same posting tool by passing the tweet being answered, which means a search result can be replied to on the next call.

What it is

A small X client: post, search and delete, acting as the account whose API credentials it holds.

What you get
  • A tweet posted with text, optional media attachments, and an optional tweet it replies to
  • A tweet search returning a chosen number of results for a query
  • A tweet deleted by its ID
Requirements

X API credentials for the posting account in four environment variables: API_KEY, API_SECRET_KEY, ACCESS_TOKEN and ACCESS_TOKEN_SECRET.

Setup effort

One command plus a key — npx -y @mbelinky/x-mcp-server, then supply credentials