- Home
- MCP servers
- DocsMCP Server
DocsMCP Server
- typescript
7
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"da1z-docsmcp": {
"command": "npx",
"args": [
"-y",
"docsmcp",
"'--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt'"
]
}
}
}DocsMCP lets your large language models access and query documentation from local files or remote URLs using the Model Context Protocol. It enables seamless retrieval of structured docs to augment responses with up-to-date information from trusted sources.
How to use
You interact with the DocsMCP server through an MCP client. The server exposes tools that let you list available documentation sources and fetch documentation from a specific URL or file path. Use the documented MCP client commands to point the client at the DocsMCP server and then query the sources you need. For best results, ensure your client passes the correct source identifier so the server can return the relevant documentation content.
How to install
npm --version
node --version
Prerequisites:
- Node.js (LTS version) is required
- npm is included with Node.js
Install and start the documentation MCP server via the MCP client command shown in the configuration example:
npx -y docsmcp '\'--source=Model Context Protocol (MCP)|https://modelcontextprotocol.io/llms-full.txt\''
If you are integrating with Cursor or VS Code, configure the MCP client per the integration guides that provide the same stdio command and arguments. The command uses npx to run the DocSMCP package and points to the MCP source with a source flag containing spaces; always wrap the entire source string in quotes when it contains spaces.
## Notes
The server exposes two primary tools for documentation work: getDocumentationSources to list configured sources and getDocumentation to fetch and parse documentation from a given URL or local path. Use these tools to enumerate sources you can query and then retrieve the documentation you need to answer questions or build knowledge bases.
## Available tools
### getDocumentationSources
Lists all configured documentation sources that DocsMCP can query.
### getDocumentation
Fetches and parses documentation from a given URL or local file path.