You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text: `Hello ${name}, welcome to the ${department} team!`
307
314
}
308
315
}]
309
316
})
@@ -695,57 +702,6 @@ server.registerTool(
695
702
696
703
## Advanced Usage
697
704
698
-
### Context-Aware Completions
699
-
700
-
MCP supports intelligent completions that can use previously resolved values as context. This is useful for creating dependent parameter completions where later parameters depend on earlier ones:
The context object contains an `arguments` field with previously resolved parameter values, allowing you to provide more intelligent and contextual completions.
748
-
749
705
### Dynamic Servers
750
706
751
707
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:
0 commit comments