We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7005d7d + fd2a2d6 commit d2083b9Copy full SHA for d2083b9
src/index.ts
@@ -48,15 +48,16 @@ const sseTransports: Record<string, SSEServerTransport> = {};
48
49
// Function to create a new server instance with all tools registered
50
function createServerInstance() {
51
- const server = new McpServer({
52
- name: "Context7",
53
- description: "Retrieves up-to-date documentation and code examples for any library.",
54
- version: "1.0.13",
55
- capabilities: {
56
- resources: {},
57
- tools: {},
+ const server = new McpServer(
+ {
+ name: "Context7",
+ version: "1.0.13",
58
},
59
- });
+ instructions:
+ "Use this server to retrieve up-to-date documentation and code examples for any library.",
+ }
60
+ );
61
62
// Register Context7 tools
63
server.tool(
0 commit comments