Skip to content

Commit 14fbfc1

Browse files
vrtnisseratch
andcommitted
Update docs/src/content/docs/guides/mcp.mdx
Co-authored-by: Kazuhiro Sera <[email protected]>
1 parent 74cc833 commit 14fbfc1

File tree

1 file changed

+1
-1
lines changed
  • docs/src/content/docs/guides

1 file changed

+1
-1
lines changed

docs/src/content/docs/guides/mcp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ using `createStaticToolFilter` or a custom function:
105105
```ts
106106
const server = new MCPServerStdio({
107107
fullCommand: 'my-server',
108-
toolFilter: createStaticToolFilter(['safe_tool'], ['danger_tool']),
108+
toolFilter: createStaticToolFilter({ allowed: ['safe_tool'], blocked: ['danger_tool'] }),
109109
});
110110

111111
const dynamicServer = new MCPServerStreamableHttp({

0 commit comments

Comments
 (0)