TweetBinder MCP 服务器

TweetBinder MCP 服务器

基于模型上下文协议 (MCP) 的服务器,允许 Claude 等客户端与 TweetBinder 账户交互。

快速入门指南

安装

  1. 克隆仓库。
  2. 安装依赖:npm install
  3. 构建项目:npm run build
  4. 设置环境变量:
    export TWEETBINDER_API_TOKEN='your-bearer-token-here'
    

配置 Claude Desktop

  1. 编辑配置文件:
    • MacOS: code ~/Library/Application\ Support/Claude/claude_desktop_config.json
    • Windows: code %AppData%\Claude\claude_desktop_config.json
  2. 添加以下内容:
    "mcpServers": {
      "tweetbinder": {
        "command": "node",
        "args": ["/absolute/path/to/build/index.js"],
        "env": {"TWEETBINDER_API_TOKEN": "your-bearer-token-here"}
      }
    }
    
  3. 重启 Claude Desktop。

使用工具

  • 创建报告:create-twitter-report
  • 获取状态:get-report-status
  • 查看统计:get-report-stats
  • 列出报告:list-reports

更多详情请查看 README 文档。