Bitrefill MCP 服务器
为 Bitrefill 公共 API 提供的模型上下文协议(MCP)服务器,支持 AI 智能体搜索和购物。
快速入门
- 安装依赖:运行
npm install
- 构建项目:运行
npm run build
- 开发模式:运行
npm run watch
自动重建 - 启动服务:使用
npx -y bitrefill-mcp-server
启动服务器 - 配置 API 密钥:创建
.env
文件并设置以下内容: BITREFILL_API_SECRET=your_api_key_here BITREFILL_API_ID=your_api_id_here - 调试:运行
npm run inspector
并在浏览器中访问提供的 URL - 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