Controls the optional MCP methods accepted by mcpProtection.
initialize and ping are always allowed. Unsupported MCP methods are always rejected.
Syntax
methods:
notifications: <boolean>
toolsCall: <boolean>
toolsList: <boolean>methods: notifications: <boolean> toolsCall: <boolean> toolsList: <boolean>
Attributes
| Name | Required | Default | Description | Examples |
|---|---|---|---|---|
| notifications | false | true | Enables MCP methods whose names start with notifications/. | - |
| toolsCall | false | true | Enables the MCP tools/call method. | - |
| toolsList | false | true | Enables the MCP tools/list method. | - |