MCP 文档服务器
MCP 文档服务器的定制版本,可通过模型上下文协议实现 LLM 应用程序(如 Cursor、Claude Desktop、Windsurf)和文档源之间的集成。
概述
该服务器为 MCP 主机应用程序提供:
- 访问特定文档文件(langgraph.txt 和 mcp.txt)
- 从这些文件中的 URL 获取文档的工具
支持文档
目前设置为:
- LangGraph 文档(来自https://raw.githubusercontent.com/esakrissa/mcp-doc/main/docs/langgraph.txt )
- MCP 文档(来自https://raw.githubusercontent.com/esakrissa/mcp-doc/main/docs/mcp.txt )
快速入门
设置和运行
运行服务器
您可以使用已安装的命令运行服务器:
或者如果您更喜欢使用 UV:
IDE 集成
光标
添加到~/.cursor/mcp.json
然后将这些指令添加到 Cursor 的自定义指令中:
要测试集成是否有效,请向 Cursor 询问有关 LangGraph 或 MCP 的问题,并检查它是否使用文档服务器工具来获取信息。
安全说明
出于安全原因,实施了严格的域访问控制:
- 远程文档文件:仅自动允许特定域
- 本地文档文件:不自动允许任何域名
- 使用
--allowed-domains
明确添加域或--allowed-domains '*'
允许所有域(谨慎使用)
参考
该项目基于LangChain AI 的原始 mcpdoc ,进行了修改,为 LangGraph 和 MCP 提供集中的文档访问。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
定制的 MCP 服务器,可实现 LLM 应用程序和文档源之间的集成,提供对 LangGraph 和模型上下文协议文档的 AI 辅助访问。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables LLMs to interact directly the documents that they have on-disk through agentic RAG and hybrid search in LanceDB. Ask LLMs questions about the dataset as a whole or about specific documents.Last updated -664TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.Last updated -566PythonMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases, allowing them to query collections, inspect schemas, and manage data seamlessly through natural language.Last updated -499MIT License
- -securityFlicense-qualityAn MCP server that fetches real-time documentation for popular libraries like Langchain, Llama-Index, MCP, and OpenAI, allowing LLMs to access updated library information beyond their knowledge cut-off dates.Last updated -2Python