原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Twitterapi

作者:pedrot95dev版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.pedrot95dev/twitterapi

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:TWITTERAPI_IO_KEY, TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: TWITTERAPI_IO_KEY, TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "twitterapi": {
      "command": "npx",
      "args": [
        "-y",
        "@pedrot95dev/twitterapi.mcp"
      ],
      "env": {
        "TWITTERAPI_IO_KEY": "your-value",
        "TWITTERAPI_IO_AUTH_TOKEN": "your-value",
        "TWITTERAPI_IO_CT0": "your-value",
        "TWITTERAPI_IO_PROXY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add twitterapi --env TWITTERAPI_IO_KEY=your-value --env TWITTERAPI_IO_AUTH_TOKEN=your-value --env TWITTERAPI_IO_CT0=your-value --env TWITTERAPI_IO_PROXY=your-value -- npx -y @pedrot95dev/twitterapi.mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "twitterapi": {
      "command": "npx",
      "args": [
        "-y",
        "@pedrot95dev/twitterapi.mcp"
      ],
      "env": {
        "TWITTERAPI_IO_KEY": "your-value",
        "TWITTERAPI_IO_AUTH_TOKEN": "your-value",
        "TWITTERAPI_IO_CT0": "your-value",
        "TWITTERAPI_IO_PROXY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "twitterapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pedrot95dev/twitterapi.mcp"
      ],
      "env": {
        "TWITTERAPI_IO_KEY": "your-value",
        "TWITTERAPI_IO_AUTH_TOKEN": "your-value",
        "TWITTERAPI_IO_CT0": "your-value",
        "TWITTERAPI_IO_PROXY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • TWITTERAPI_IO_KEY 机密 必填 env
    twitterapi.io API key (x-api-key). Required for all tools.
  • TWITTERAPI_IO_AUTH_TOKEN 机密 env
    auth_token cookie from a logged-in X session. Write tools only.
  • TWITTERAPI_IO_CT0 机密 env
    ct0 cookie from the same logged-in X session. Write tools only.
  • TWITTERAPI_IO_PROXY 机密 env
    Residential proxy (http://user:pass@ip:port). Write tools only.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 pedrot95dev 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2953 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2953 个服务器的 16% 更新
  • 基础检查结果等于或优于此分类中其他 2953 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Twitterapi 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:TWITTERAPI_IO_KEY, TWITTERAPI_IO_AUTH_TOKEN, TWITTERAPI_IO_CT0, TWITTERAPI_IO_PROXY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT9天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT9天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

twitterapi.mcp

MCP server that exposes twitterapi.io endpoints as tools for AI agents and MCP hosts. Written in TypeScript, distributed on npm, runnable with a single npx command.

Current Tools

ToolDescriptionAPI EndpointAuth
get_user_mentionsFetch tweets mentioning a user.GET /twitter/user/mentionsAPI key
get_tweet_thread_contextFetch a page of the conversation thread around a tweet.GET /twitter/tweet/thread_contextAPI key
create_tweetCreate a tweet or reply.POST /twitter/create_tweet_v2API key + cookies + proxy
delete_tweetDelete one of your tweets.POST /twitter/delete_tweet_v2API key + cookies + proxy

Quick Start

1. Get an API key

Visit https://twitterapi.io/dashboard and obtain your x-api-key.

2. Cookies + proxy for write actions

create_tweet and delete_tweet authenticate with your account's own session cookies. From a browser logged into X, open DevTools → Application → Cookies → https://x.com and copy the auth_token and ct0 values.

VariableRequiredDescription
TWITTERAPI_IO_KEYalwaystwitterapi.io API key
TWITTERAPI_IO_AUTH_TOKENwritesauth_token cookie from a logged-in X session
TWITTERAPI_IO_CT0writesct0 cookie from the same session
TWITTERAPI_IO_PROXYwritesResidential proxy, http://user:pass@ip:port (required by the write endpoints)

The server derives the login_cookies value twitterapi.io expects from auth_token + ct0. These cookies expire over time (typically weeks); when a write starts returning an auth error, refresh them from the browser.

The API key alone is enough for the read tools. Add the cookie/proxy vars only if you need write actions.

3. Add to your MCP host

Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "twitterapi": { "command": "npx", "args": ["-y", "@pedrot95dev/twitterapi.mcp"], "env": { "TWITTERAPI_IO_KEY": "your_key_here", "TWITTERAPI_IO_AUTH_TOKEN": "your_auth_token_cookie", "TWITTERAPI_IO_CT0": "your_ct0_cookie", "TWITTERAPI_IO_PROXY": "http://user:pass@ip:port" } } } }

npx -y @pedrot95dev/twitterapi.mcp downloads and runs the latest published version. Only Node.js (>= 18) is required — no global install needed.

Other MCP hosts (e.g. Cursor): add the same npx command + env vars in the host's MCP settings UI or config file.

Tool: get_user_mentions

Fetch tweets that mention or reply to a user. Makes a single request per call; page by passing cursor from a previous response's next_cursor.

ParameterTypeDefaultDescription
user_namestring(required)X username, with or without @
since_timestring—Start time filter (e.g. 2025-06-01 or ISO datetime)
until_timestring—End time filter
cursorstring—Pagination cursor from a previous next_cursor
query_type"Latest" \"Relevance""Latest"Sort mode
limitinteger50Max tweets to return from this single request
{

"tweets": [ ... ], "count": 12, "has_next_page": true, "next_cursor": "DAADDAAB...", "status": "success", "msg": null }

Tool: get_tweet_thread_context

Fetch the conversation thread around a tweet. Returns the original tweet, the intermediate replies up the chain, the tweet itself, and its direct replies. Each returned tweet includes entities.urls with expanded links — useful for scanning a mention's surrounding conversation for URLs.

Makes exactly one request per call (1-to-1 with the endpoint — no internal pagination). Page through longer threads with cursor.

ParameterTypeDefaultDescription
tweet_idstring(required)The tweet ID to get the thread context for
cursorstring—Pagination cursor from a previous next_cursor
{

"tweets": [ ... ], "count": 6, "has_next_page": false, "next_cursor": "", "status": "success", "msg": "success" }

Note: this endpoint paginates unevenly — a page may return few or zero tweets while has_next_page is still true. Follow next_cursor until has_next_page is false to collect the whole thread.

Tool: create_tweet

Post a new tweet or reply. Supports quotes, media, communities, and scheduling. Requires the cookie + proxy env vars (see step 2).

ParameterTypeDefaultDescription
tweet_textstring(required)The text content of the tweet
reply_to_tweet_idstring—Tweet ID to reply to (makes this a reply)
quote_tweet_idstring—Tweet ID to quote
attachment_urlstring—URL for quote (alternative to quote_tweet_id)
community_idstring—Post inside a specific community
is_note_tweetbooleanfalseAllow >280 chars (Premium accounts)
media_idsstring[]—Media IDs from a prior /twitter/upload_media_v2
schedule_forstring—ISO-8601 future time, e.g. 2026-01-20T10:00:00.000Z
{ "tweet_id": "1234567890123456789", "status": "success", "msg": "success" }

Tool: delete_tweet

Delete one of your tweets by ID. Requires the cookie + proxy env vars.

ParameterTypeDefaultDescription
tweet_idstring(required)The ID of the tweet to delete
{ "status": "success", "msg": "success" }

Contributing

Local development, build, and testing instructions are in CONTRIBUTING.md.

License

MIT — see LICENSE.

Credits

Based on the official twitterapi-io agent skill: https://github.com/kaitoInfra/twitterapi-io API service: https://twitterapi.io

问 PopNx