SerializableMcpToolFilters
Defined in: src/mcp/config.ts:9
Tool filters in a serializable form, for an MCP server config entry. Because a config file cannot
carry a RegExp, each pattern is a string compiled to a regex, matched from the start of the
server-side tool name.
Properties
Section titled “Properties”allowed?
Section titled “allowed?”optional allowed?: string[];Defined in: src/mcp/config.ts:11
When present, only tools whose names match one of these patterns are exposed.
rejected?
Section titled “rejected?”optional rejected?: string[];Defined in: src/mcp/config.ts:13
Tools whose names match one of these patterns are excluded, even when also allowed.