Skip to content

Commit 22e1d15

Browse files
authored
Update example for creating McpServer so that the becomes visible in claude desktop for mac (modelcontextprotocol#183)
1 parent 3458500 commit 22e1d15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

quickstart/server.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,10 @@ const USER_AGENT = "weather-app/1.0";
433433
const server = new McpServer({
434434
name: "weather",
435435
version: "1.0.0",
436+
capabilities: {
437+
resources: {},
438+
tools: {},
439+
},
436440
});
437441
```
438442

0 commit comments

Comments
 (0)