Bitrefill MCP 服务器

Bitrefill MCP 服务器

为 Bitrefill 公共 API 提供的模型上下文协议(MCP)服务器,支持 AI 智能体搜索和购物。

快速入门

  1. 安装依赖:运行 npm install
  2. 构建项目:运行 npm run build
  3. 开发模式:运行 npm run watch 自动重建
  4. 启动服务:使用 npx -y bitrefill-mcp-server 启动服务器
  5. 配置 API 密钥:创建 .env 文件并设置以下内容: BITREFILL_API_SECRET=your_api_key_here BITREFILL_API_ID=your_api_id_here
  6. 调试:运行 npm run inspector 并在浏览器中访问提供的 URL
  7. Docker 支持:构建镜像 docker build -t bitrefill-mcp-server . 并运行容器 docker run -e BITREFILL_API_SECRET=your_api_key_here -e BITREFILL_API_ID=your_api_id_here bitrefill-mcp-server