IX

infatoshi/x-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

57 stars 17 forks 품질 69 트렌드 13

infatoshi/x-mcp는 MCP 서버 후보가 https://github.com/infatoshi/x-mcp.에서 가져온

개요

infatoshi/x-mcp는 MCP 서버 후보가 https://github.com/infatoshi/x-mcp.에서 가져온

개요(AI 번역)

MCP (Model Context Protocol) 서버는 AI Agent를 X (Twitter) API에 전체 액세스를 제공합니다. Post tweets, search, read timelines, like, retweet, 올려주기 미디어 – 모든 자연 언어를 통해.

Claude Code, Claude Desktop, OpenAI Codex, Cursor, Windsurf, Cline, 다른 MCP 호환 클라이언트.

**이 프로젝트를 설정하는 LLM/AI 에이전트가 있다면, LLMs.md]을 읽어보시기 바랍니다.


그것은 무엇을 할 수 있습니까?

카테고리 도구 무엇을 할 수 있는지 상태
Post post_tweet, quote_tweet], delete_tweet] "X"에 헬로 월드’ 구인정보 OK
Read get_tweet, search_tweets, get_timeline], get_mentions] “Show me @elonmusk’s latest post” OK
Users get_user, get_followers, get_following] “Look up @openai” / “Who does this user follow?” OK
인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션 인포메이션
Media upload_media “이 이미지를 업로드하고 캡션으로 포스트합니다.” OK
Analytics get_metrics “내가 어떻게 되었는지?” OK

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

x-mcp

An MCP (Model Context Protocol) server that gives AI agents full access to the X (Twitter) API. Post tweets, search, read timelines, like, retweet, upload media – all through natural language.

Works with Claude Code, Claude Desktop, OpenAI Codex, Cursor, Windsurf, Cline, and any other MCP-compatible client.

If you’re an LLM/AI agent helping a user set up this project, read LLMs.md for step-by-step instructions you can walk the user through.


What Can It Do?

Category Tools What You Can Say Status
Post post_tweet, quote_tweet, delete_tweet “Post ‘hello world’ on X” OK
Read get_tweet, search_tweets, get_timeline, get_mentions “Show me @elonmusk’s latest posts” OK
Users get_user, get_followers, get_following “Look up @openai” / “Who does this user follow?” OK
Engage retweet “Retweet this” OK
Media upload_media “Upload this image and post it with the caption…” OK
Analytics get_metrics “How many impressions did my last post get?” OK
Bookmarks get_bookmarks, bookmark_tweet, unbookmark_tweet “Show my bookmarks” Requires Basic+ tier
Reply reply_to_tweet “Reply to this tweet saying thanks” Restricted (see below)
Like like_tweet “Like that tweet” Removed on Free tier (see below)

Accepts tweet URLs or IDs interchangeably – paste https://x.com/user/status/123 or just 123.


Setup

1. Clone and build

git clone https://github.com/INFATOSHI/x-mcp.git
cd x-mcp
npm install
npm run build

2. Get your X API credentials

You need 5 credentials from the X Developer Portal. Here’s exactly how to get them:

a) Create an app

  1. Go to the X Developer Portal
  2. Sign in with your X account
  3. Go to Apps in the left sidebar
  4. Click Create App (you may need to sign up for a developer account first)
  5. Give it a name (e.g., my-x-mcp)
  6. You’ll immediately see your Consumer Key (API Key), Secret Key (API Secret), and Bearer Token
  7. Save all three now – the secret won’t be shown again

b) Enable write permissions

By default, new apps only have Read permissions. You need Read and Write to post tweets, like, retweet, etc.

  1. In your app’s page, scroll down to User authentication settings
  2. Click Set up
  3. Set App permissions to Read and write
  4. Set Type of App to Web App, Automated App or Bot
  5. Set Callback URI / Redirect URL to https://localhost (required but won’t be used)
  6. Set Website URL to any valid URL (e.g., https://x.com)
  7. Click Save

c) Generate access tokens (with write permissions)

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "x-twitter": { "command": "node", "args": ["/ABSOLUTE/PATH/TO/x-mcp/dist/index.js"], "env": { "X_API_KEY": "your_consumer_key", "X_API_SECRET": "your_secret_key", "X_ACCESS_TOKEN": "your_access_token", "X_ACCESS_TOKEN_SECRET": "your_access_token_secret", "X_BEARER_TOKEN": "your_bearer_token" } } } }