
Advisor
STDIOMCP server providing comprehensive access to Model Context Protocol specification and documentation
MCP server providing comprehensive access to Model Context Protocol specification and documentation
An MCP server that provides comprehensive access to the Model Context Protocol specification through both prompts and resources. This server helps LLMs and humans understand and work with the MCP specification by providing the complete JSON schema and detailed documentation.
While the same information is already available on the web, if you have a use case where precise spec information is preferred, directly fetching the spec details as context should provide a more reliable result.
Since these resources should easily fit within a model's context window, using a more complex RAG solution is not really necessary unless you need to compare documents to other documents, or do more complex types of querying.
If you prefer a more ad-hoc approach you can also use an MCP server like fetch to do the following:
# Install as a dependency npm install mcp-advisor # Or install globally to use the CLI npm install -g mcp-advisor
{ "mcpServers": { "mcp-advisor": { "command": "npx", "args": [ "-y", "mcp-advisor@latest" ], "env": { "DEFAULT_SPEC_VERSION":"2025-03-26" // Optional - overrides the default version used for static Resources that correspond to a specific MCP version } } } }
explain
: Comprehensive explanation of MCP topics with full documentation context.
topic
- Specifies which MCP topic you would like explained in detail.version
- Specifies which MCP specification version to use. Supported versions: draft
, 2024-11-05
, 2025-03-26
(default).evaluate_server_compliance
: Evaluates Model Context Protocol (MCP) specification compliance for a given server repository.
path
- Specifies the path to the MCP server repository to evaluate.version
- Specifies which MCP specification version to use. Supported versions: draft
, 2024-11-05
, 2025-03-26
(default).The server provides access to different sections of the MCP specification and documentation:
Specification Resources
All specification resources can be accessed with a specific version parameter.
The server provides resource templates that allow accessing specification resources for different versions:
https://modelcontextprotocol.io/specification/{version}/index.md
: Access the complete specification for any supported versionhttps://modelcontextprotocol.io/specification/{version}/schema.json
: Access the JSON schema for any supported versionhttps://modelcontextprotocol.io/specification/{version}/architecture/index.md
: Access the architecture specification for any supported versionSupported versions: draft
, 2024-11-05
, 2025-03-26
(default)
Version Configuration:
DEFAULT_SPEC_VERSION
environment variable to change the default version (e.g., DEFAULT_SPEC_VERSION=draft
).2025-03-26
as the default version.Note on Backward Compatibility: Clients that only support Resources (and not Resource Templates) will still be able to access the regular Resources using the configured default version. The server maintains full backward compatibility with existing clients.
Additional Documentation
/quickstart
): Getting started guides for client developers, server developers, and users/development
): Development resources including contributing guidelines, roadmap, and updates/sdk
): SDK documentation for various programming languages/tutorials
): Tutorials, examples, and implementation guides/docs
): General documentation including FAQs, introduction, and client listAll specification content is fetched from a list provided by a standardized llms.txt file (except for the schema.json which is fetched from GitHub) and cached locally with a 1-hour TTL (time-to-live) to improve performance. If a fetch fails, the server will attempt to use expired cached content as a fallback when available.
# Clone the repository git clone https://github.com/olaservo/mcp-advisor.git cd mcp-advisor # Install dependencies npm install # Run in development mode npm run dev # Build the project npm run build # Start the built server npm start
The server includes URL filtering to ensure content matching the requested version is included:
npm run test
This verifies that the server correctly filters specification URLs based on the requested version. The server supports multiple versions including draft
, 2024-11-05
, and 2025-03-26
, with 2025-03-26
being the default if no version is specified.