Jeremiah Lowin Copilot commited on
Commit
2be71a8
·
unverified ·
1 Parent(s): fd0b868

Update docs/servers/openapi.mdx

Browse files

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Files changed (1) hide show
  1. docs/servers/openapi.mdx +1 -1
docs/servers/openapi.mdx CHANGED
@@ -241,7 +241,7 @@ FastMCP automatically generates names for MCP components based on the OpenAPI sp
241
 
242
  All component names are automatically:
243
  - **Slugified**: Spaces and special characters are converted to underscores or removed
244
- - **Truncated**: Limited to 48 characters maximum to ensure compatibility
245
  - **Unique**: If multiple components have the same name, a number is automatically appended to make them unique
246
 
247
  For more control over component names, you can provide an `mcp_names` dictionary that maps `operationId` values to your desired names. The `operationId` must be exactly as it appears in the OpenAPI spec. The provided name will always be slugified and truncated.
 
241
 
242
  All component names are automatically:
243
  - **Slugified**: Spaces and special characters are converted to underscores or removed
244
+ - **Truncated**: Limited to 56 characters maximum to ensure compatibility
245
  - **Unique**: If multiple components have the same name, a number is automatically appended to make them unique
246
 
247
  For more control over component names, you can provide an `mcp_names` dictionary that maps `operationId` values to your desired names. The `operationId` must be exactly as it appears in the OpenAPI spec. The provided name will always be slugified and truncated.