
vidhupv/x-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
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를 자동으로 설치하십시오.
수동 설치
-
저장소를 복제:
-
맨끝에 있는 Homebrew를 사용하여 UV 세계적으로 설치하십시오:
-
claude desktop config.json 만들기:
- MacOS의 경우: 오픈 디렉토리
~/Library/Application Support/Claude/를 열고 파일을 만듭니다. - Windows용: 오픈 디렉토리
%APPDATA%/Claude/를 열고 파일을 내부에 생성합니다.
-
claude desktop config.json에 이 윤곽을 추가하십시오:
-
X/Twitter API 자격 취득:
- X API Developer Portal로 이동
- 프로젝트 만들기
- 사용자 인증 설정: 읽기 및 쓰기 권한 설정, 웹 앱 유형
http://localhost/및 웹 사이트 URL을http://example.com/로 설정- Keys 및 Tokens 섹션에서 모든 키 및 토큰 생성 및 복사
- 설정 파일을 업데이트:
- 실제 저장소 경로로
/path/to/x-mcp을 대체 - X/Twitter API 자격 추가
- 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
- Clone the repository:
git clone https://github.com/yourusername/x-mcp.git
- Install UV globally using Homebrew in Terminal:
brew install uv
-
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
- For MacOS: Open directory
-
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"
}
}
}
}
-
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 tohttp://example.com/ - Generate and copy all keys and tokens from Keys and Tokens section
-
Update the config file:
- Replace
/path/to/x-mcpwith your actual repository path - Add your X/Twitter API credentials
- Replace
-
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 uvand reinstall withbrew install uv) - Or find UV path with
which uvand 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
설치
npx -y @smithery/cli install x-mcp --client claude설정
{
"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"
}
}
}
}