Claude MCP:扩展代码生成能力的工具

Claude MCP:扩展代码生成能力的工具

提供增强 Claude 代码功能的服务器工具,包含文档抓取和处理等功能。

快速入门

前置条件

  • 安装 Bun

安装步骤

  1. 克隆仓库: git clone https://github.com/RLabs-Inc/claude-mcp.git cd claude-mcp
  2. 安装依赖: bun install

启动服务

  • 开发模式运行: bun dev
  • 生产模式运行: bun start

默认访问地址为 http://localhost:3000。

使用示例

获取最新框架版本

curl -X POST http://localhost:3000/api/tools/docs-fetcher/latest-version \
  -H "Content-Type: application/json" \
  -d '{"framework": "fastapi"}'

抓取文档

curl -X POST http://localhost:3000/api/tools/docs-fetcher/fetch \
  -H "Content-Type: application/json" \
  -d '{"framework": "react", "maxPages": 5}'