Doc
- typescript
5
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.
You can use this MCP Server to search and retrieve key content from official docs, empowering you to quickly locate information and generate precise content for your own projects. It exposes simple HTTP access and IDE integration so you can query docs directly from your development environment.
How to use
Connect to the MCP Server from your MCP client or IDE to search and fetch documentation content. You can use the HTTP endpoint to access the server remotely, or configure your editor to call MCP tools directly in Agent Mode.
In your editor, add the MCP server configuration to enable tool access. For example, in your editor’s MCP config file you can reference the remote URL below to connect the server:
{
"servers": {
"doc_mcp": {
"url": "https://doc-mcp.shengwang.cn/mcp"
}
}
}
How to install
Prerequisites: ensure you have a runtime ready for MCP servers. The development setup recommends using Bun for a fast workflow, but you can adapt to your preferred toolchain.
Install Bun (or ensure you have an environment capable of running the MCP server).
Install dependencies for the MCP server in your project directory.
Start the development server to run MCP locally and connect to the provided HTTP endpoints.
bun install
bun run dev:watch
Additional notes
To explore content directly from the editor, you can call the MCP tools in Agent Mode. This enables you to search for documentation, list available docs, and fetch the content of specific docs using simple tool commands.
Tools you’ll commonly use include searching docs, listing docs, and getting doc content. These tools can be invoked through the editor’s command interface once the server is configured.
Available tools
search-docs
Search documented content by keyword and retrieve a list of matching docs with their metadata.
list-docs
List available documentation categories and docs, returning metadata such as paths and categories.
get-doc-content
Fetch the full content of a specific documentation page by its document URI.