io.github.pedrot95dev/twitterapi

io.github.pedrot95dev/twitterapi

Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "twitterapi": {
      "command": "npx",
      "args": [
        "-y",
        "@pedrot95dev/twitterapi.mcp@0.1.2"
      ],
      "env": {
        "TWITTERAPI_IO_KEY": "<your TWITTERAPI_IO_KEY>",
        "TWITTERAPI_IO_AUTH_TOKEN": "<your TWITTERAPI_IO_AUTH_TOKEN>",
        "TWITTERAPI_IO_CT0": "<your TWITTERAPI_IO_CT0>",
        "TWITTERAPI_IO_PROXY": "<your TWITTERAPI_IO_PROXY>"
      }
    }
  }
}
Environment variables
  • TWITTERAPI_IO_KEYrequiredsecrettwitterapi.io API key (x-api-key). Required for all tools.
  • TWITTERAPI_IO_AUTH_TOKENsecretauth_token cookie from a logged-in X session. Write tools only.
  • TWITTERAPI_IO_CT0secretct0 cookie from the same logged-in X session. Write tools only.
  • TWITTERAPI_IO_PROXYsecretResidential proxy (http://user:pass@ip:port). Write tools only.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.2
Registry
active
Published
7/3/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.pedrot95dev/twitterapi is listed here — it’s also the link we check for a free listing.

io.github.pedrot95dev/twitterapi — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-pedrot95dev-twitterapi?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.pedrot95dev/twitterapi — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.pedrot95dev/twitterapi — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-pedrot95dev-twitterapi?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.