Merge pull request #480 from Boyquotes/patch-1
Fix notificaions in README.md
This commit is contained in:
commit
1879922e23
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@ server.tool(
|
|||
|
||||
### Dynamic Servers
|
||||
|
||||
If you want to offer an initial set of tools/prompts/resources, but later add additional ones based on user action or external state change, you can add/update/remove them _after_ the Server is connected. This will automatically emit the corresponding `listChanged` notificaions:
|
||||
If you want to offer an initial set of tools/prompts/resources, but later add additional ones based on user action or external state change, you can add/update/remove them _after_ the Server is connected. This will automatically emit the corresponding `listChanged` notifications:
|
||||
|
||||
```ts
|
||||
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
||||
|
|
|
|||
Loading…
Reference in a new issue