跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

DeepWiki MCP 服务器提供对 DeepWiki 公共存储库文档和搜索功能(Ask Devin)的程序化访问能力。

什么是 MCP?

Model Context Protocol(MCP,模型上下文协议)是一个开放标准,使 AI 应用程序可以安全地连接到符合 MCP 标准的数据源和工具。你可以把 MCP 理解为 AI 应用程序的 USB-C 接口——一种将 AI 应用程序连接到不同服务的标准化方式。

DeepWiki MCP 服务器

DeepWiki MCP 服务器是一个免费、无需身份验证的远程服务,用于访问公共仓库。 基础服务器 URL: https://mcp.deepwiki.com/

可用工具

DeepWiki MCP 服务器提供三个主要工具:
  1. read_wiki_structure - 获取 GitHub 仓库的文档主题列表
  2. read_wiki_contents - 查看 GitHub 仓库的文档内容
  3. ask_question - 就 GitHub 仓库提出任意问题,并获得结合上下文的 AI 解答

传输协议(Wire Protocols)

DeepWiki MCP 服务器支持两种传输协议:

支持流式传输的 HTTP - /mcp

  • URL: https://mcp.deepwiki.com/mcp
  • 可与 Cloudflare、OpenAI 和 Claude 兼容
  • 推荐用于大多数集成场景

SSE(服务器发送事件)- /sse

  • URL: https://mcp.deepwiki.com/sse
  • 遗留协议,正逐步弃用
由于 SSE 正在被弃用,建议使用 /mcp 端点。

设置指南

对于大多数客户端(如 Windsurf、Cursor 等):

{
  "mcpServers": {
    "deepwiki": {
      "serverUrl": "https://mcp.deepwiki.com/mcp"
    }
  }
}

适用于 Claude Code:

claude mcp add -s user -t http deepwiki https://mcp.deepwiki.com/mcp
想在私有代码库中使用 DeepWiki 能力?请在 Devin.ai 注册 Devin 账号,并使用你的 Devin API 密钥配合 Devin MCP 服务器