MCP Documentation Server logo

MCP Documentation Server

by esakrissa

A customized MCP documentation server that integrates LLM applications with documentation sources via the Model Context Protocol. It provides access to specific documentation files and tools to fetch documentation from URLs within those files.

View on GitHub

Last updated: N/A

What is MCP Documentation Server?

This server is a customized version of the MCP documentation server, designed to enable integration between Large Language Model (LLM) applications and documentation sources using the Model Context Protocol (MCP). It provides a structured way for LLMs to access and utilize documentation for LangGraph and MCP itself.

How to use MCP Documentation Server?

To use the server, clone the repository, set up a virtual environment, install the package, and run the server using the mcpdoc command with a configuration file. It can be integrated with IDEs like Cursor by configuring the mcp.json file and adding custom instructions to the IDE.

Key features of MCP Documentation Server

  • Provides access to specific documentation files (langgraph.txt and mcp.txt)

  • Offers tools to fetch documentation from URLs within those files

  • Supports integration with LLM applications like Cursor, Claude Desktop, and Windsurf

  • Implements domain access controls for security

Use cases of MCP Documentation Server

  • Enabling LLMs to answer questions about LangGraph and MCP using relevant documentation

  • Providing context to LLMs during code generation or debugging related to LangGraph and MCP

  • Facilitating the creation of LLM-powered documentation assistants for LangGraph and MCP

  • Allowing LLMs to dynamically fetch and utilize documentation from URLs within documentation files

FAQ from MCP Documentation Server

What is the Model Context Protocol (MCP)?

The Model Context Protocol (MCP) is a protocol that enables LLM applications to interact with external data sources, such as documentation servers.

What documentation is currently supported?

The server currently supports LangGraph documentation and MCP documentation.

How do I run the server?

You can run the server using the mcpdoc command or with UV, providing a configuration file and specifying the transport, port, and host.

How do I integrate this with Cursor?

Add the server configuration to ~/.cursor/mcp.json and add custom instructions to Cursor to utilize the server for LangGraph and MCP related questions.

What are the security considerations?

The server implements domain access controls. Remote documentation files only allow the specific domain, local files allow no domains, and you can use --allowed-domains to explicitly allow domains.