Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Add omit back
Prateek224b8d0eb9a0
diff --git a/python/composio/core/models/mcp.py b/python/composio/core/models/mcp.pyindex 773ece1dd..be421e87c 100644--- a/python/composio/core/models/mcp.py+++ b/python/composio/core/models/mcp.py@@ -9,7 +9,7 @@ from __future__ import annotationsimport typing as timport typing_extensions as te-from composio_client import Omit+from composio_client import omitfrom composio_client.types.mcp.custom_create_response import CustomCreateResponsefrom composio_client.types.tool_router_create_session_params import ConfigToolkit@@ -189,7 +189,7 @@ class MCP(Resource):auth_config_ids.append(toolkit_config["auth_config"])# Use the allowed_tools parameter instead of individual toolkit configs- custom_tools = allowed_tools if allowed_tools is not None else Omit+ custom_tools = allowed_tools if allowed_tools is not None else omit# Use the custom MCP create endpointresponse = self._client.mcp.custom.create(