mcp_connect
Connect to an MCP server by providing a registry slug, a command with args, or a URL, making its tools available.
Instructions
Connect to an MCP server and make its tools available. Provide either a server slug (from mcp_discover) to look up in the registry, OR an explicit command + args to spawn directly, OR a url for remote servers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Additional environment variables for the server process | |
| url | No | URL for remote transports (SSE, WebSocket, Streamable HTTP). Use instead of command for remote servers. | |
| args | No | Command arguments (e.g., ['-y', '@modelcontextprotocol/server-everything']) | |
| slug | No | Server slug from MCP-Rating registry (e.g., '@modelcontextprotocol/inspector') | |
| command | No | Explicit command to spawn (e.g., 'npx'). Use when server is not in registry. | |
| confirmed | No | Set to true to confirm connection to community/unknown trust tier servers. Required when the initial connect returns a confirmation warning. | |
| saveProfile | No | Set to true to save this connection as an auto-connect profile. The server will auto-reconnect on gateway restart. | |
| transportType | No | Transport type. Defaults to 'stdio' for command-based, auto-detected from URL scheme if url is provided. |