MCP Tools
Connect to remote tools via Model Context Protocol servers.Overview
Model Context Protocol (MCP) is an open standard that enables AI agents to interact with external tools hosted on remote servers. Think of it as a universal translator—allowing agents to communicate with any MCP-compatible tool without custom integration.When to Use
MCP tools are ideal when:- Tools are hosted on external servers
- You need shared toolsets across teams
- Tools require enterprise integrations
- You want to use third-party tool providers
- You need separation between tool logic and agent logic
Good Fit Examples
| Use Case | Why MCP Works |
|---|---|
| CRM integration | Connect to Salesforce MCP server |
| Enterprise tools | Shared tools across multiple apps |
| Third-party services | Pre-built MCP tool providers |
| Microservices | Each service exposes tools via MCP |
How MCP Works
Architecture
Components
| Component | Role |
|---|---|
| MCP Server | Hosts and exposes tools |
| MCP Client | The Platform—discovers and invokes tools |
| MCP Protocol | Standardized request/response format |
Interaction Flow
Example
Configuring MCP Tools
Step 1: Add MCP Server
- Navigate to Tools → + New Tool → MCP Tool
- Configure the server connection:
Step 2: Discover Tools
The platform automatically queries the server for available tools:Step 3: Select Tools
Choose which tools to enable for your app:Step 4: Link to Agent
Add the MCP tools to your agent’s tool list.Server Types
HTTP-Based
Standard request/response over HTTP.SSE-Based (Server-Sent Events)
Streaming responses for real-time updates.Authentication
Bearer Token
API Key Header
OAuth 2.0
Tool Invocation
When an agent invokes an MCP tool:Request Format
Response Format
Configuration Example
Complete MCP tool configuration:Limitations
Static Discovery
Tool lists are discovered at configuration time. Changes to the MCP server require manual reconfiguration.Platform Support
The Platform supports:- Tool discovery
- Tool invocation
- Result processing
- Resources (MCP resource endpoints)
- Prompts (MCP prompt templates)
- Dynamic tool updates
Building an MCP Server
If you need to expose your own tools via MCP:Server Implementation
Deployment Options
| Option | Best For |
|---|---|
| Cloud function | Simple, serverless tools |
| Container | Complex tools with dependencies |
| Internal service | Enterprise tools behind firewall |
Best Practices
Use Descriptive Tool Names
Write Clear Descriptions
The LLM uses descriptions to select tools:Handle Server Failures
Configure timeouts and fallbacks:Monitor Performance
Track MCP tool metrics:- Response times
- Error rates
- Availability
- Token usage