MCP servers
Updated
Let your agent in Agent Studio call tools from an MCP server during a conversation.
Preview documentation
You're reading the Conversational AI Platform (Preview) docs. Switch to Main.
MCP (Model Context Protocol) servers let your agent call tools that external services provide. To call your own HTTP endpoints directly, use custom tools instead.
Add an MCP server
To add an MCP server to an agent:
-
In the agent editor, go to the Integrations section.
-
Select Add, then select MCP server.
-
Fill in the following fields:
- Name: A name for the server, from 1 to 48 letters and digits.
- Endpoint: The HTTPS URL of the server, up to 2,048 characters.
- Headers: The HTTP headers to send to the server, up to 32. Enter one
Name: valueper line. Raw credentials work for loading tools, but you can't save them. The API key field isn't available yet. - Timeout: The request timeout, from 1,000 to 100,000 ms.
- Allowed tools: The tools that the agent can call. To allow only some tools, clear Allow all tools, select Load tools to get the list of tools from the endpoint, then clear the tools that you don't want the agent to call.
-
Select Save. Agent Studio checks the server automatically.
Next steps
- Customize your agent: Configure your agent in the editor.
- Test your agent: Verify that your agent calls the server's tools correctly.
