We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd0c0a commit 7ef4373Copy full SHA for 7ef4373
fastapi_mcp/openapi/convert.py
@@ -46,6 +46,11 @@ def convert_openapi_to_mcp_tools(
46
logger.warning(f"Skipping non-HTTP method: {method}")
47
continue
48
49
+ is_deprecated = operation.get("deprecated", False)
50
+ if is_deprecated:
51
+ logger.warning(f"Skipping deprecated operation: {method} {path}")
52
+ continue
53
+
54
# Get operation metadata
55
operation_id = operation.get("operationId")
56
if not operation_id:
0 commit comments