Skip to content

Commit 839fc58

Browse files
authored
Merge pull request #8 from olaservo/dev
Dev
2 parents f94bc2a + 883c04f commit 839fc58

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcp-advisor",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "MCP Server to assist LLMs and humans on Model Context Protocol (MCP) spec compliance and understanding",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Cache {
6262
const SCHEMA_URL = `https://raw.githubusercontent.com/modelcontextprotocol/specification/refs/heads/main/schema/${VERSION}/schema.json`;
6363

6464
// Suggested topics
65-
const TOPIC_COMPLETIONS = ['tools', 'prompts', 'resources', 'roots', 'sampling', 'transports', 'authorization', 'why not just use http?', 'why does this protocol need to exist?'];
65+
const TOPIC_COMPLETIONS = ['tools', 'prompts', 'resources', 'roots', 'sampling', 'transports', 'authorization', 'why not just use http?', 'security best practices', 'cancellation', 'progress reporting', 'server utilities', 'client utilities'];
6666
// Include all prompt names here
6767
const EXPLAIN_PROMPT = 'explain';
6868
const EVALUATE_SERVER_PROMPT = 'evaluate_server_compliance';
@@ -156,11 +156,9 @@ const serverCapabilities: ServerCapabilities = {
156156
};
157157

158158
const server = new Server(
159-
{ name: 'mcp-advisor', version: '0.3.2' },
159+
{ name: 'mcp-advisor', version: '0.3.3' },
160160
{ capabilities: serverCapabilities,
161-
instructions: `I am a Model Context Protocol (MCP) documentation expert that provides comprehensive access to the MCP specification and helps evaluate server implementations for compliance.
162-
I have access to the complete MCP specification across multiple versions (${SUPPORTED_VERSIONS.join(', ')}) including schemas, architecture docs, protocol details, and implementation guides. I can explain any MCP concept in detail with authoritative references and evaluate server code against the specification requirements.
163-
Default version: ${VERSION} (can be overridden per request)`
161+
instructions: `Workflow: 1) Use 'explain' prompt for understanding MCP concepts before implementation, 2) Use 'evaluate_server_compliance' prompt to validate existing server code against specification requirements. Always clarify expected spec version and provide the version parameter when working with specific spec releases. Resource templates support version-specific access - use {version} parameter for precise specification targeting. Performance: Content is cached for 1 hour; initial requests may take 5-10 seconds for complete specification fetching. Limitations: Requires network access to modelcontextprotocol.io; falls back to expired cache on network failures. Supported versions: ${SUPPORTED_VERSIONS.join(', ')} (default: ${VERSION}).`
164162
}
165163
);
166164

0 commit comments

Comments
 (0)