doc
MCP server from Shengwang-Community/doc-mcp-server
claude mcp add --transport stdio shengwang-community-doc-mcp-server bun run dev:watch \ --env PORT="3000" \ --env BUN_ENV="development"
How to use
This MCP server exposes a documentation-focused set of tools for interacting with the Shengwang docs site. The available tools are search-docs, list-docs, and get-doc-content. You can query for relevant documentation using search-docs to receive a list of matching documents with titles, categories, and URIs. Use get-doc-content with a specific docs:// URI to fetch the full content for a page, which can then be summarized or integrated into other workflows. The list-docs tool can enumerate documentation categories and provide structured metadata about docs paths and local URIs, useful for programmatic navigation or building tooling around the docs corpus. In agent or VS Code integrated scenarios, you can invoke these tools in combination to locate a topic and retrieve its content for use in code examples, UI components, or product documentation workflows.
How to install
Prerequisites:
- Node.js or Bun installed (the project recommends Bun for development).
- Access to a terminal.
Install and run:
- Install Bun (if not already installed):
curl bun.sh | bash
- Install dependencies (in project root):
bun install
- Download initial docs data (if your setup provides a download script):
bun run doc:download
- Start the MCP server in watch/development mode:
bun run dev:watch
- Open the MCP endpoint in your browser or client:
- Local: http://localhost:3000/mcp
- Public: https://doc-mcp.shengwang.cn/mcp
If you need to run via npm scripts instead of Bun, ensure you adapt the commands to your environment accordingly (for example, npm install and npm run dev:watch).
Additional notes
Notes and tips:
- The MCP server exposes three core tools: search-docs, list-docs, and get-doc-content. Use them in sequence to locate and fetch documentation content efficiently.
- The public entry point is /mcp; ensure your firewall or proxy allows access to this path.
- When integrating with editors (e.g., VS Code) or agent modes, you can reference the MCP server by its URL and call the tools via the agent, similar to the examples in the documentation.
- If you encounter issues starting the server, verify that Bun is installed correctly and that local ports (default 3000) are available. Adjust the PORT environment variable if needed.
- The documentation data may be large; consider using the provided doc:download script (if available) to prefetch content for faster tool responses.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud