MCP Servers
Copy page
Learn how to add and configure MCP servers for your agents
MCP tools connect to external servers that implement the MCP standard. This allows you to integrate with a wide ecosystem of existing tools and services.
For some tips on leveraging existing MCP server libraries or creating your own MCP server, see here.
Once you have an MCP server, now you can add it to your Agents.
Registring an MCP Server
Authentication
MCP servers support various authentication methods (via credentials):
- No Authentication - For public APIs or internal services
- API Key - For services requiring API keys
- Bearer Token - For JWT or similar token-based authentication
- Token Authentication - For custom token schemes
- OAuth Flows - For standard OAuth 2.0 authentication
- OAuth 2.1 Flows - For modern OAuth 2.1 "1-click" authentication
For OAuth flows and OAuth 2.1 flows, it's recommended to use the Visual Builder for easier configuration.
See Credentials for detailed examples and implementation guidance for each authentication type.
Custom Headers
You can configure custom headers for your MCP server requests. Use credentials for sensitive information (API keys, tokens) and headers for non-sensitive metadata (user agent, version info, etc.).
Selecting Tools
Selective Tool Activation
Enable only specific tools from a server using MCP Server tool names in the activeTools field.
Using agentMcp for Tool Selection
While activeTools in mcpTool limits which tools are available from the server, you can further refine tool access at the agent level using agentMcp. This allows different agents to use different subsets of tools from the same MCP server.