TweetBinder MCP 服务器
基于模型上下文协议 (MCP) 的服务器,允许 Claude 等客户端与 TweetBinder 账户交互。
快速入门指南
安装
- 克隆仓库。
- 安装依赖:
npm install
- 构建项目:
npm run build
- 设置环境变量:
export TWEETBINDER_API_TOKEN='your-bearer-token-here'
配置 Claude Desktop
- 编辑配置文件:
- MacOS:
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Windows:
code %AppData%\Claude\claude_desktop_config.json
- MacOS:
- 添加以下内容:
"mcpServers": { "tweetbinder": { "command": "node", "args": ["/absolute/path/to/build/index.js"], "env": {"TWEETBINDER_API_TOKEN": "your-bearer-token-here"} } }
- 重启 Claude Desktop。
使用工具
- 创建报告:
create-twitter-report
- 获取状态:
get-report-status
- 查看统计:
get-report-stats
- 列出报告:
list-reports
更多详情请查看 README 文档。