x-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@x-mcpsearch for recent tweets from @jack"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
x-mcp
Read-only MCP server for Kan's twitter.2-38.com FxTwitter API proxy.
日本語版は下にあります: 日本語
Remote MCP endpoint
https://x.mcp.2-38.com/mcpDiscovery metadata:
https://x.mcp.2-38.com/.well-known/mcp.jsonThis server exposes MCP tools that call the existing public proxy endpoints under:
https://twitter.2-38.com/api/fx/2/...Example upstream call wrapped by search_posts:
https://twitter.2-38.com/api/fx/2/search?q=from%3Ajack&feed=latest&count=10Related MCP server: x-mcp
AI agent skill first
MCP tells an agent what tools exist, but a skill tells it when and how to use them. Before asking an AI agent to use this MCP, have it install or load the bundled skill:
https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.mdFull copy/paste prompts are available here:
Short English prompt:
Install or load this x-mcp skill first:
https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md
Then configure MCP server `x` with:
https://x.mcp.2-38.com/mcp
Verify tools/list includes search_posts and call search_posts with
{ "q": "from:jack", "feed": "latest", "count": 2 }.
Use this only for public read-only X/Twitter search and retrieval through twitter.2-38.com.MCP configuration
Hermes Agent
hermes skills inspect https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md
hermes skills install https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md --category social-media -y
hermes mcp add x --url https://x.mcp.2-38.com/mcp
hermes mcp test xOr add this to ~/.hermes/config.yaml and restart Hermes / start a new session:
mcp_servers:
x:
url: "https://x.mcp.2-38.com/mcp"Hermes will expose tools with the mcp_x_ prefix, for example mcp_x_search_posts.
Generic MCP clients
{
"mcpServers": {
"x": {
"url": "https://x.mcp.2-38.com/mcp"
}
}
}Use your client's HTTP / Streamable HTTP MCP transport setting if it requires an explicit transport type.
Tools
search_posts— call/2/searchget_post— call/2/status/:idget_profile— call/2/profile/:handleget_profile_statuses— call/2/profile/:handle/statusesget_profile_media— call/2/profile/:handle/mediaget_trends— call/2/trendstypeahead— call/2/typeaheadget_openapi— call/2/openapi.json
Smoke test
curl -sS https://x.mcp.2-38.com/health
curl -sS https://x.mcp.2-38.com/.well-known/mcp.jsonFor an MCP-level smoke test, call tools/list and then search_posts using your MCP client. A successful search_posts call with q=from:jack returns JSON text containing:
{
"upstreamUrl": "https://twitter.2-38.com/api/fx/2/search?q=from%3Ajack&feed=latest&count=2",
"status": 200
}Local development
npm install
cp wrangler.example.jsonc wrangler.jsonc
npm run check
npx wrangler dev --config wrangler.jsoncMCP endpoint locally:
http://localhost:8787/mcpDeploy
cp wrangler.example.jsonc wrangler.jsonc
# Fill account_id in wrangler.jsonc if needed.
npm run deploywrangler.jsonc is intentionally gitignored so account-specific deployment config stays local.
Security and scope
Public, unauthenticated, read-only MCP endpoint.
Do not include secrets, private data, or access tokens in search queries.
Not for posting, liking, reposting, following, DMs, notifications, private accounts, or authenticated timelines.
Upstream availability/rate limits/response shape depend on the underlying FxTwitter service.
日本語
Kan の twitter.2-38.com FxTwitter API proxy を read-only で呼ぶ MCP server です。
公開MCP endpoint
https://x.mcp.2-38.com/mcpDiscovery metadata:
https://x.mcp.2-38.com/.well-known/mcp.jsonこのMCPは、既存の公開proxy endpointを呼びます。
https://twitter.2-38.com/api/fx/2/...search_posts が包む upstream 呼び出し例:
https://twitter.2-38.com/api/fx/2/search?q=from%3Ajack&feed=latest&count=10まずAIエージェントにskillを入れる
MCPだけだと「どの場面で、どう使うべきか」がAIに伝わりにくいので、このrepoにはAIエージェント向けskillを同梱しています。
Skill URL:
https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.mdコピペ用の導入プロンプトはこちらです。
短い日本語プロンプト:
まず以下の x-mcp skill をインストール、または読み込んでください。
https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md
その後、MCP server `x` を以下で設定してください。
https://x.mcp.2-38.com/mcp
`tools/list` に `search_posts` が出ることを確認し、
`search_posts` を { "q": "from:jack", "feed": "latest", "count": 2 } で試してください。
このMCPは twitter.2-38.com 経由の公開X/Twitter情報取得専用で、read-only用途だけに使ってください。MCP設定
Hermes Agent
hermes skills inspect https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md
hermes skills install https://raw.githubusercontent.com/kandotrun/x-mcp/main/skills/x-mcp/SKILL.md --category social-media -y
hermes mcp add x --url https://x.mcp.2-38.com/mcp
hermes mcp test xCLIが使えない場合は、~/.hermes/config.yaml に次を追加してHermesを再起動、または新しいセッションを開始してください。
mcp_servers:
x:
url: "https://x.mcp.2-38.com/mcp"Hermesでは mcp_x_search_posts のように mcp_x_ prefix付きでtoolが見えます。
汎用MCP client
{
"mcpServers": {
"x": {
"url": "https://x.mcp.2-38.com/mcp"
}
}
}client側でtransport指定が必要な場合は、HTTP / Streamable HTTP MCP transportを選んでください。
Tools
search_posts—/2/searchを呼ぶget_post—/2/status/:idを呼ぶget_profile—/2/profile/:handleを呼ぶget_profile_statuses—/2/profile/:handle/statusesを呼ぶget_profile_media—/2/profile/:handle/mediaを呼ぶget_trends—/2/trendsを呼ぶtypeahead—/2/typeaheadを呼ぶget_openapi—/2/openapi.jsonを呼ぶ
Smoke test
curl -sS https://x.mcp.2-38.com/health
curl -sS https://x.mcp.2-38.com/.well-known/mcp.jsonMCPレベルでは、clientから tools/list → search_posts を確認してください。q=from:jack の成功例では、返ってくるJSON textに次のような内容が含まれます。
{
"upstreamUrl": "https://twitter.2-38.com/api/fx/2/search?q=from%3Ajack&feed=latest&count=2",
"status": 200
}ローカル開発
npm install
cp wrangler.example.jsonc wrangler.jsonc
npm run check
npx wrangler dev --config wrangler.jsoncローカルMCP endpoint:
http://localhost:8787/mcpデプロイ
cp wrangler.example.jsonc wrangler.jsonc
# 必要に応じて wrangler.jsonc の account_id を埋める
npm run deploywrangler.jsonc はアカウント固有の設定なのでgitignoreしています。
セキュリティと範囲
公開・認証なし・read-only のMCP endpointです。
search query に secret / private data / access token を入れないでください。
投稿、いいね、RT、フォロー、DM、通知、private account、認証timelineには使えません。
upstreamの可用性、rate limit、response shapeはFxTwitter側に依存します。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kandotrun/x-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server