An AI-powered developer tool that provides LLMs with instant access to MCP protocol specifications and TypeScript SDK documentation.
MCP Documentation Helper is a Model Context Protocol (MCP) server that exposes comprehensive MCP documentation as structured resources. It enables AI assistants like Claude to provide accurate, context-aware guidance when building custom MCP servers.
- π Complete Documentation Access - Full MCP protocol specification and TypeScript SDK docs
- π Context-Aware Search - Intelligent search with relevance scoring and focused results
- π Code Templates - Ready-to-use implementation patterns for common MCP use cases
- π― Categorized Resources - Quick access to tools, resources, prompts, transports, and examples
- π€ AI-Optimized - Designed specifically for LLM-assisted development workflows
- Node.js 18+ or Bun
- An MCP client (Claude Desktop, Cursor, or any MCP-compatible client)
git clone https://github.com/yourusername/mcp-documentation-helper.git
cd mcp-documentation-helperUsing npm:
npm installUsing Bun:
bun installThat's it! The repository includes all necessary MCP documentation files in the data directory.
Using npm:
npm run devUsing Bun:
bun run devUsing Node directly (after building):
npm run build
npm run start-
Open your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
-
Add the MCP server configuration:
For npm/Node:
{
"mcpServers": {
"mcp-docs": {
"command": "node",
"args": [
"/absolute/path/to/mcp-documentation-helper/build/index.js"
]
}
}
}For Bun:
{
"mcpServers": {
"mcp-docs": {
"command": "bun",
"args": [
"index.ts"
],
"cwd": "/absolute/path/to/mcp-documentation-helper"
}
}
}- Replace
/absolute/path/to/mcp-documentation-helperwith your actual project path - Restart Claude Desktop
- Open Cursor Settings β MCP Servers
- Click "Add MCP Server"
- Configure the server:
For npm/Node:
{
"name": "mcp-docs",
"command": "node",
"args": [
"/absolute/path/to/mcp-documentation-helper/build/index.js"
]
}For Bun:
{
"name": "mcp-docs",
"command": "bun",
"args": [
"index.ts"
],
"cwd": "/absolute/path/to/mcp-documentation-helper"
}- Save and restart Cursor
- Install the MCP extension for VS Code
- Add to your workspace settings (
.vscode/settings.json):
{
"mcp.servers": {
"mcp-docs": {
"command": "node",
"args": [
"/absolute/path/to/mcp-documentation-helper/build/index.js"
]
}
}
}Once connected, the following resources are available:
| Resource URI | Description |
|---|---|
mcp://docs/complete |
Full MCP protocol and SDK documentation |
mcp://docs/quick-start |
Getting started guide |
mcp://docs/tools |
Tool implementation reference |
mcp://docs/resources |
Resource implementation reference |
mcp://docs/prompts |
Prompt implementation reference |
mcp://docs/transport |
Transport setup (stdio, HTTP, SSE) |
mcp://docs/examples |
Working code examples |
Search across all MCP documentation with context-aware results.
Parameters:
query(string): What you want to learn or implementfocus(optional):all,implementation,concepts,examples, ortroubleshooting
Get code templates for common MCP patterns.
Available Templates:
basic-server- Basic MCP server structuretool-with-validation- Tool with Zod validationresource-static- Static resourceresource-dynamic- Dynamic resource with parametersprompt-simple- Simple prompt templatestdio-server- stdio transport setuphttp-server- HTTP transport setuperror-handling- Error handling patterns
Start building a new MCP server with guided assistance.
Get help debugging an MCP server issue.
Once connected to Claude Desktop or Cursor, you can:
You: "I want to build an MCP server that connects to a PostgreSQL database"
Claude: *Uses mcp-docs resources to provide accurate implementation guidance*
You: "How do I implement a dynamic resource with parameters?"
Claude: *Searches documentation and provides relevant examples*
You: "Show me how to set up an HTTP transport"
Claude: *Retrieves transport documentation and code templates*
mcp-documentation-helper/
βββ data/ # Documentation files
β βββ llms-full.txt # MCP protocol documentation
β βββ typescript-sdk-readme.md # TypeScript SDK docs
βββ index.ts # Main server implementation
βββ package.json # Dependencies and scripts
βββ tsconfig.json # TypeScript configuration
npm run dev- Run in development mode with tsxnpm run build- Build TypeScript to JavaScriptnpm run start- Run the built serverbun run dev- Run with Bun (if using Bun)
- Documentation Parsing: The server parses MCP protocol and SDK documentation into structured sections
- Resource Exposure: Documentation is exposed through MCP resources with semantic URIs
- Intelligent Search: Built-in search tool provides context-aware results with relevance scoring
- Code Templates: Pre-built templates help jumpstart common implementation patterns
- AI Integration: LLMs can access documentation through standard MCP protocols
- Check that the path in the config is absolute, not relative
- Verify the
datadirectory contains both required files - Restart Claude Desktop completely
- Check Claude Desktop logs for errors
The repository includes all necessary documentation files. If you encounter this error:
- Ensure you cloned the full repository with all files
- Check that the
datadirectory exists with both files:
ls data/
# Should show:
# llms-full.txt
# typescript-sdk-readme.mdMake sure you've run the build command before starting:
npm run build
npm run startContributions are welcome! Please feel free to submit a Pull Request.
- Built with the Model Context Protocol SDK
- Documentation sourced from modelcontextprotocol.io
- Inspired by the Building MCP with LLMs guide
Made with β€οΈ for the MCP community