by da1z
DocsMCP is a Model Context Protocol (MCP) server that provides Large Language Models (LLMs) with access to documentation. It acts as an intermediary, allowing LLMs to query and retrieve information from various documentation sources.
DocsMCP is a Model Context Protocol (MCP) server designed to provide Large Language Models (LLMs) with access to documentation. It acts as an intermediary, allowing LLMs to query and retrieve information from various documentation sources, including local files and remote URLs.
DocsMCP can be configured within development environments like Cursor and VS Code to enable AI agents to automatically access documentation.
To configure DocsMCP in Cursor, create a .cursor/mcp.json
file with the following content:
{
"mcpServers": {
"docs-mcp": {
"command": "npx",
"args": [
"-y",
"docsmcp",
"'--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt'"
]
}
}
}
For VS Code, add a configuration to your .vscode/mcp.json
file:
{
"servers": {
"documentation-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docsmcp",
"--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt"
]
}
}
}
When specifying a source with spaces, ensure the entire string is wrapped in quotes.
getDocumentationSources
: Lists all configured documentation sources.getDocumentation
: Fetches and parses documentation from a given URL or file path.Q: What is the Model Context Protocol (MCP)? A: The Model Context Protocol (MCP) is a protocol that facilitates communication between LLMs and external data sources, such as documentation.
Q: Can DocsMCP access documentation from private repositories? A: The provided information does not specify support for private repositories. It focuses on general local and remote file access.
Q: Is DocsMCP limited to specific LLMs? A: DocsMCP is designed to work with LLMs that can integrate with the Model Context Protocol. The examples provided are for Cursor AI and VS Code extensions that support MCP.
A Model Context Protocol (MCP) server that provides documentation access to LLMs.
DocsMCP enables Large Language Models (LLMs) to access and query documentation from specified sources, whether from local files or remote URLs. It uses the Model Context Protocol (MCP) to facilitate communication between the LLM and documentation sources.
You can also configure DocsMCP in your Cursor project by creating a .cursor/mcp.json
file:
{
"mcpServers": {
"docs-mcp": {
"command": "npx",
"args": [
"-y",
"docsmcp",
"'--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt'"
]
}
}
}
This configuration allows Cursor AI to use the documentation MCP server automatically when you open your project.
When specifying a source that contains spaces, ensure to wrap the entire string in quotes. For example: '--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt'
You can configure DocsMCP in VS Code by adding a configuration to your .vscode/mcp.json
file:
{
"servers": {
"documentation-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"docsmcp",
"--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt"
]
}
}
}
This configuration allows VS Code extensions that support MCP to use the documentation server automatically.
The MCP server provides two main tools:
Lists all available documentation sources that have been configured.
Fetches and parses documentation from a given URL or local file path.
Parameters:
url
: The URL or file path to fetch the documentation fromPlease log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by MicrosoftDocs
Enables AI agents and developer tools to retrieve Microsoft official documentation in real time via a lightweight streamable HTTP endpoint, supporting semantic search and markdown fetch capabilities.
by guyru
Provides fast searching and retrieval of local Linux man pages via MCP, exposing them as clean, AI‑friendly resources.
by netdata
Real-time, per‑second infrastructure monitoring platform that provides instant insights, auto‑discovery, edge‑based machine‑learning anomaly detection, and lightweight visualizations without requiring complex configuration.
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by chaitin
Provides a self‑hosted web application firewall and reverse‑proxy that filters, monitors, and blocks malicious HTTP/S traffic, protecting web applications from attacks such as SQL injection, XSS, brute‑force, bot abuse, and various code injections.
by PipedreamHQ
Connect APIs quickly, run event‑driven automations, and execute custom code in Node.js, Python, Go, or Bash on a hosted platform.