The 2.0 release contains a breaking change renaming what was previously the
orchestrate toolkits import command
as the orchestrate toolkits add command. A new orchestrate toolkits import command was introduced which operates
on files in manner inverse from the orchestrate toolkits export command.Adding remote MCP toolkits using ADK CLI
To import a remote MCP, run theorchestrate toolkits add command with the URL and transport protocol for the MCP server.
BASH
- Using SSE
- Using streamable HTTP
This example connects watsonx Orchestrate to CoinGecko remote MCP server using SSE. For more information, see CoinGecko MCP Server
BASH
Importing from a file
You can also import an MCP server configuration from a file. The file contains the same configuration options used by the add command, within a yaml file, but is easier to integrate with import scripts and CI/CD pipelines.BASH
toolkit_name.yaml
Understanding the import process
During import, ADK connects to the remote MCP server to retrieve and validate available tools. ADK checks only the tool schemas for structural correctness and compatibility with watsonx Orchestrate. It doesn’t test tool execution at this stage. watsonx Orchestrate waits up to 30 seconds for the server to respond with the tool list. If the server responds in time, the import continues. If not, the process fails or times out. ADK doesn’t test individual tools during import, so no execution timeouts apply at this stage.Choosing an MCP protocol
ADK supports two transport protocols for MCP: You must choose the transport protocol explicitly. ADK doesn’t support fallback or automatic switching between protocols. Any MCP server that follows the standard protocol and supports SSE or streamable HTTP works without extra configuration. When you use the ADK CLI, Remote MCP supports multiple authentication methods:- OAuth2 (without Dynamic Client Registration)
- API Key
- Bearer Token
- Basic Auth
- Key-value
Note:
- When connecting to a remote MCP server that uses an API key with a custom name, use the key–value pair method.
- For OAuth authentication, import the toolkit using Team credentials. To use the tool, you can either switch to Member credentials or continue using Team credentials.
Tracing, tenant and agent context
When Orchestrate calls a remote MCP server through the MCP Gateway, it automatically includes standard tracing information so downstream services can participate in the same request trace for observability and debugging. The tracing context (traceparent and tracestate) is always included and passed in the request metadata. This behavior is built in and requires no configuration. You can also attach correlation identifiers that help with governance, audit logging, and usage attribution. These values are passed as request headers:tenant_id: identifies the customer or tenantagent_id: identifies the calling agent
YAML
tenant_id and agent_id are not sent by default. You must configure them when you import the remote MCP server or toolkit in the ADK. The tracing context (traceparent, tracestate) is always included and is not configurable.
