Skip to content

Commit f94bc2a

Browse files
authored
Merge pull request #7 from olaservo/dev
Add instructions
2 parents de4409b + fb2263b commit f94bc2a

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
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.1",
3+
"version": "0.3.2",
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: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,16 @@ const serverCapabilities: ServerCapabilities = {
152152
prompts: {},
153153
resources: {},
154154
completions: {},
155-
resourceTemplates: {} // Add resource templates capability
155+
resourceTemplates: {}
156156
};
157157

158158
const server = new Server(
159-
{ name: 'mcp-advisor', version: '0.1.0' },
160-
{ capabilities: serverCapabilities }
159+
{ name: 'mcp-advisor', version: '0.3.2' },
160+
{ 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)`
164+
}
161165
);
162166

163167
const prompts = [

0 commit comments

Comments
 (0)