Spaces:
Running
Running
Jeremiah Lowin Copilot commited on
Update docs/servers/openapi.mdx
Browse filesCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- 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
|
| 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.
|