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
Copy file name to clipboardExpand all lines: docs/router/mcp.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ mcp:
216
216
exclude_mutations: true
217
217
enable_arbitrary_operations: false
218
218
expose_schema: false
219
-
omit_operation_prefix: false # When true: GetUser → get_user (no execute_operation_ prefix)
219
+
strip_tool_name_prefix: false # When true: GetUser → get_user (no execute_operation_ prefix)
220
220
221
221
# Configure storage providers
222
222
storage_providers:
@@ -238,7 +238,7 @@ storage_providers:
238
238
| `exclude_mutations` | Whether to exclude mutation operations from being exposed | `false` |
239
239
| `enable_arbitrary_operations` | Whether to allow arbitrary GraphQL operations to be executed. <Warning>Security risk: Should only be enabled in secure, internal environments.</Warning> | `false` |
240
240
| `expose_schema` | Whether to expose the full GraphQL schema. <Warning>Security risk: Should only be enabled in secure, internal environments.</Warning> | `false` |
241
-
| `omit_operation_prefix` | When true, MCP tool names are generated without the `execute_operation_` prefix (e.g., `GetUser` → `get_user` instead of `execute_operation_get_user`). Can also be set via `MCP_OMIT_OPERATION_PREFIX` environment variable. | `false` |
241
+
| `strip_tool_name_prefix` | When true, MCP tool names are generated without the `execute_operation_` prefix (e.g., `GetUser` → `get_user` instead of `execute_operation_get_user`). Can also be set via `MCP_STRIP_TOOL_NAME_PREFIX` environment variable. | `false` |
242
242
243
243
## Session Handling
244
244
@@ -377,14 +377,14 @@ The MCP server converts each operation into a corresponding tool:
377
377
378
378
Operations are converted to snake_case for tool naming consistency.
379
379
380
-
#### Omitting the Operation Prefix
380
+
#### Stripping the Tool Name Prefix
381
381
382
-
By default, all operation tools include the `execute_operation_` prefix. If you prefer shorter, cleaner tool names, enable the `omit_operation_prefix` configuration option:
382
+
By default, all operation tools include the `execute_operation_` prefix. If you prefer shorter, cleaner tool names, enable the `strip_tool_name_prefix` configuration option:
0 commit comments