Update example for creating McpServer so that the becomes visible in claude desktop for mac (#183)

This commit is contained in:
Vegard Harper 2025-03-24 12:13:31 +01:00 • committed by GitHub
commit 22e1d15b3e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -433,6 +433,10 @@ const USER_AGENT = "weather-app/1.0";
const server = new McpServer({
name: "weather",
version: "1.0.0",
capabilities: {
resources: {},
tools: {},
},
});
```