What is MCP?
MCP is an open protocol that lets AI models interact with external tools. Instead of hard-coding integrations, you connect an MCP server, and your assistants automatically discover and use available tools. Example: Connect an MCP server for your CRM, and your assistant can:- Look up customer information by phone number
- Check order status during the call
- Update contact records after qualifying a lead
How MCP Works in EolasFlow
1
Connect MCP Server
You register an MCP server (your tools endpoint).
2
Enable on VoiceFlow
You enable MCP on a VoiceFlow and select your server.
3
Tool Discovery
When a call starts, EolasFlow connects to your MCP server and discovers available tools.
4
Agent Uses Tools
During the call, your AI assistant can call any discovered tool as needed.
5
Results Spoken
Tool results are processed by the AI and spoken to the customer.
Setting Up MCP
Step 1: Register an MCP Server
1
Navigate to Integrations
Go to Connections → MCP Servers.
2
Add New Server
Click Add Server and enter:
- Name: A descriptive name (e.g., “CRM Tools”)
- URL: Your MCP server’s SSE endpoint
3
Configure Authentication (Optional)
If your server requires authentication, add an API key. It’s sent as a Bearer token.
4
Preview Tools
Click Preview to discover available tools without saving.
5
Review Tools
See the list of tools your server provides with their descriptions and parameters.
6
Save Server
Click Save to register the server.
Step 2: Enable MCP on a VoiceFlow
1
Open VoiceFlow Settings
Go to VoiceFlows and click on your VoiceFlow.
2
Navigate to MCP Tab
Click the MCP tab in VoiceFlow settings.
3
Enable MCP
Toggle MCP On and select your registered server.
4
Configure Timeout (Optional)
Adjust the tool execution timeout if needed (default: 5 seconds).
5
Save Configuration
Click Save. Your agent now has access to MCP tools during calls.
MCP Server Requirements
Your MCP server must:- Support SSE (Server-Sent Events) transport
- Implement the JSON-RPC 2.0 protocol
- Handle these methods:
initialize- Establish connectiontools/list- Return available toolstools/call- Execute a tool
Tool Definition Format
Your server returns tools in this format:Tool Execution
When the AI calls a tool, your server receives:Tool Whitelisting
Optionally restrict which tools your assistant can access:- In MCP server settings, expand Advanced Options
- Add tool names to the Tools Whitelist
- Only listed tools will be available to agents
Leave the whitelist empty to allow access to all tools from the server.
Agent Integration
Your AI assistant automatically uses MCP tools when appropriate. To help the agent know when to use tools, update your assistant’s description:Testing MCP
Test Server Connection
- Go to Connections → MCP Servers
- Click Test on your server
- View discovered tools and verify they’re correct
Make a Test Call
- Go to Conversations
- Click Test Call
- Select a VoiceFlow with MCP enabled
- Call yourself and test tool usage
MCP Configuration Options
Best Practices
Common Use Cases
Example: CRM Integration
A typical CRM MCP server might provide:
During a call:
- Call starts, agent greets customer
- Agent calls
get_customerto retrieve their info - Agent personalizes conversation based on customer data
- Customer asks about an order, agent calls
get_recent_orders - Call ends, agent calls
add_notewith call summary
Troubleshooting
Tools Not Discovered
- Verify server URL is correct (must be SSE endpoint)
- Check server is running and accessible
- Test the server directly using Preview
- Review server logs for connection issues
Tool Execution Failures
- Check timeout settings (increase if tools are slow)
- Review tool error messages in call logs
- Verify tool parameters match the schema
- Test tools individually using your MCP server’s interface
Agent Not Using Tools
- Update agent description to explain when to use tools
- Verify MCP is enabled on the VoiceFlow
- Check that tool descriptions are clear
- Make test calls to observe agent behavior
Build Your Own MCP Server
Don’t have an existing MCP server? Build your own using automation platforms like n8n, Zapier, or Make. This gives you the freedom to connect your AI assistants to any tool or data source.n8n
Build MCP endpoints visually
Any API
Connect to any REST API
Your Database
Query your own data
- Look up customer data from your CRM
- Check inventory or order status
- Query your internal databases
- Access any API during calls
- Build custom tools specific to your business
Automation Workflows Guide
Learn how to build custom MCP servers with n8n and other tools
Next Steps
Configure Webhooks
Send call events to external systems
Configure Assistants
Configure your AI assistant to use MCP tools