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.
1 parent 74cc833 commit 14fbfc1Copy full SHA for 14fbfc1
docs/src/content/docs/guides/mcp.mdx
@@ -105,7 +105,7 @@ using `createStaticToolFilter` or a custom function:
105
```ts
106
const server = new MCPServerStdio({
107
fullCommand: 'my-server',
108
- toolFilter: createStaticToolFilter(['safe_tool'], ['danger_tool']),
+ toolFilter: createStaticToolFilter({ allowed: ['safe_tool'], blocked: ['danger_tool'] }),
109
});
110
111
const dynamicServer = new MCPServerStreamableHttp({
0 commit comments