VX

vidhupv/x-mcp

Developer tools

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

61 stars 25 forks 품질 65 트렌드 13MIT

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

개요

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

개요(AI 번역)

MCP 서버는 Claude 채팅을 통해 X/Twitter 게시물을 직접 만들고 관리하고 게시합니다.

빠른 설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 X(Twitter) MCP Server를 자동으로 설치하십시오.

수동 설치

  1. 저장소를 복제:

  2. 맨끝에 있는 Homebrew를 사용하여 UV 세계적으로 설치하십시오:

  3. claude desktop config.json 만들기:

  • MacOS의 경우: 오픈 디렉토리 ~/Library/Application Support/Claude/ 를 열고 파일을 만듭니다.
  • Windows용: 오픈 디렉토리 %APPDATA%/Claude/를 열고 파일을 내부에 생성합니다.
  1. claude desktop config.json에 이 윤곽을 추가하십시오:

  2. X/Twitter API 자격 취득:

  • X API Developer Portal로 이동
  • 프로젝트 만들기
  • 사용자 인증 설정: 읽기 및 쓰기 권한 설정, 웹 앱 유형
  • http://localhost/ 및 웹 사이트 URL을 http://example.com/로 설정
  • Keys 및 Tokens 섹션에서 모든 키 및 토큰 생성 및 복사
  1. 설정 파일을 업데이트:
  • 실제 저장소 경로로 /path/to/x-mcp을 대체
  • X/Twitter API 자격 추가
  1. Quit Claude는 완전하고 그것을 다시 엽니다

사용 예제

  • “Tweet 'Just는 AI를 통해 트윗하는 방법을 배웠습니다. - 마음 속여! ✨”

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

README

X(Twitter) MCP server

An MCP server to create, manage and publish X/Twitter posts directly through Claude chat.

Quick Setup

Installing via Smithery

To install X(Twitter) MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install x-mcp --client claude

Manual Installation

  1. Clone the repository:
git clone https://github.com/yourusername/x-mcp.git
  1. Install UV globally using Homebrew in Terminal:
brew install uv
  1. Create claude_desktop_config.json:

    • For MacOS: Open directory ~/Library/Application Support/Claude/ and create the file inside it
    • For Windows: Open directory %APPDATA%/Claude/ and create the file inside it
  2. Add this configuration to claude_desktop_config.json:

{
  "mcpServers": {
    "x_mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/x-mcp",
        "run",
        "x-mcp"
      ],
      "env": {
        "TWITTER_API_KEY": "your_api_key",
        "TWITTER_API_SECRET": "your_api_secret",
        "TWITTER_ACCESS_TOKEN": "your_access_token",
        "TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
      }
    }
  }
}
  1. Get your X/Twitter API credentials:

    • Go to X API Developer Portal
    • Create a project
    • In User Authentication Settings: Set up with Read and Write permissions, Web App type
    • Set Callback URL to http://localhost/ and Website URL to http://example.com/
    • Generate and copy all keys and tokens from Keys and Tokens section
  2. Update the config file:

    • Replace /path/to/x-mcp with your actual repository path
    • Add your X/Twitter API credentials
  3. Quit Claude completely and reopen it

Usage Examples

  • “Tweet ‘Just learned how to tweet through AI - mind blown! 🤖✨’”
  • “Create a thread about the history of pizza”
  • “Show me my draft tweets”
  • “Publish this draft!”
  • “Delete that draft”

Troubleshooting

If not working:

  • Make sure UV is installed globally (if not, uninstall with pip uninstall uv and reinstall with brew install uv)
  • Or find UV path with which uv and replace "command": "uv" with the full path
  • Verify all X/Twitter credentials are correct
  • Check if the x-mcp path in config matches your actual repository location
GitHub에서 전체 README 보기

설치

npx -y @smithery/cli install x-mcp --client claude
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "x_mcp": { "command": "uv", "args": [ "--directory", "/path/to/x-mcp", "run", "x-mcp" ], "env": { "TWITTER_API_KEY": "your_api_key", "TWITTER_API_SECRET": "your_api_secret", "TWITTER_ACCESS_TOKEN": "your_access_token", "TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret" } } } }