
This feature is available from Configure > Integrations in Agent Studio under the MCP tab.
How it works
When you add an MCP server, Agent Studio connects to the server endpoint and automatically discovers the tools it exposes. Each tool has a name, description, and input schema defined by the server — you don’t need to configure these manually. During a conversation, your agent can call any enabled MCP tool. The flow is:- Discovery — Agent Studio sends a discovery request to the MCP server URL and receives a list of available tools with their schemas.
- Configuration — You review the discovered tools and toggle on the ones your agent should have access to.
- Execution — When the agent decides to use a tool during a conversation, Agent Studio sends the tool call to the MCP server with the appropriate authentication and waits for a response (up to the configured timeout).
- Response — The MCP server executes the tool and returns the result. The agent uses the response to continue the conversation.
When to use MCP
Use MCP integrations when you want to connect your agent to an external tool that exposes an MCP server. Instead of writing custom functions and API configurations, you point Agent Studio at the MCP server URL and the platform discovers available tools automatically. Common use cases include:- Connecting to internal business systems that expose MCP endpoints
- Adding third-party tool capabilities to your agent
- Reusing tools across multiple agents without duplicating code
Prerequisites
- The MCP server must be accessible over HTTPS
- If the server requires authentication, you need the credentials and a secret stored in the Secrets Vault with access granted to your project
Add an MCP integration
Add a new MCP server
Click Add MCP integration. In the modal, configure:
| Field | Description |
|---|---|
| MCP server URL | The HTTPS endpoint of the MCP server (e.g., https://mcp.example.com) |
| Timeout | How long to wait for the server to respond, in seconds (1–30, default 15) |
| Authentication type | Optional. Choose Header, Query parameter, or OAuth depending on how the server authenticates requests |
Configure authentication (if required)
Select an authentication type and fill in the required fields:
- Header
- Query parameter
- OAuth
Send a secret value in an HTTP header.
| Field | Description |
|---|---|
| Header name | The header the server expects (e.g., X-API-Key) |
| Secret name | A secret from the Secrets Vault that contains the credential |
Connect
Click Connect. Agent Studio discovers the functions available on the MCP server and displays them in the configuration panel.
Use MCP tools in prompts
Once an MCP server is connected, the discovered tools are available to the LLM inside step prompts. There are two approaches.Basic usage
Name the tool and give a brief description of what it does. The LLM reads the tool’s input schema directly from the MCP server, so you don’t need to specify parameters.Advanced usage
For complex tools where the LLM may struggle with correct inputs, you can specify the expected parameters explicitly in the prompt:Whitelisting tools via URL
You can restrict which tools are exposed by the MCP server using thetools query parameter in the server URL:
Manage MCP integrations
After connecting, you can:- Edit settings — Click an MCP integration card to open the configuration panel and update the server URL, timeout, or authentication
- Refresh functions — Click Refresh in the configuration panel to re-discover available functions from the server
- Toggle functions — Enable or disable individual functions without disconnecting the server
- Disconnect — Remove an MCP integration entirely. Your agent will no longer have access to its functions
Troubleshooting
Connection fails
Connection fails
Verify that the MCP server URL is correct and accessible over HTTPS. Check that any required authentication credentials are configured and that the associated secret has access to your project.
No functions discovered
No functions discovered
The MCP server may not expose any tools, or the discovery request may have timed out. Try increasing the timeout value and clicking Refresh.
Functions not available to the agent
Functions not available to the agent
Confirm that the functions are toggled on in the configuration panel. Only enabled functions are accessible during conversations.
Migrating from experimental config
Migrating from experimental config
Projects that previously configured MCP through experimental config will continue to work — existing servers keep running in the background. The old config is only replaced when you add a new MCP server through the Integrations UI. Once migrated, manage all MCP servers from the UI.

