MCP Documentation Server

MCP Documentation Server

具有AI学习能力的MCP文档服务器。

MCP 是一个智能文档服务器,通过 Claude Desktop 集成提供 AI 辅助的代码改进和文档管理。

安装与配置

# 安装包
npm install -g mcp-documentation-server

# 配置 Claude Desktop (config.json)
{
  "mcpServers": {
    "documentation": {
      "command": "npx",
      "args": ["-y", "mcp-documentation-server"],
      "env": {
        "BRAVE_API_KEY": "<YOUR_BRAVE_API_KEY>"
      }
    }
  }
}

使用方法

通过 Claude Desktop 发送请求:

Claude, search documentation for Next.js App Router
Claude, analyze this Python code and suggest improvements...

开发环境设置

# 克隆仓库
git clone https://github.com/mahawi1992/mcp-documentation-server.git
cd mcp-documentation-server

# 安装依赖
npm install

# 创建 .env 文件
PORT=3000
UPDATE_INTERVAL=3600000
CACHE_DURATION=86400000
BRAVE_API_KEY=your_brave_api_key

# 启动开发服务器
npm run dev

主要功能

  • AI 文档指南与代码助手
  • 支持多种框架 (React.js, Next.js, Python, Vue.js, Angular, Node.js)
  • Brave 搜索集成
  • 自适应学习系统

更多资源

许可证

MIT 许可证