https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am trying to setup my mcp server
# ❓・ai-evy-support
z
@AI Evy I am trying to setup my mcp server
a
Thanks for tagging me @zealous_unicorn_11185. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] MCP Node](https://docs.retellai.com/build/conversation-flow/mcp-node) [[2] Connect any AI Voice Agent to MCP with Retell AI MCP Node (Guide) | Retell AI](https://www.retellai.com/blog/connect-any-ai-voice-agent-to-mcp-with-retell-ai-mcp-node) [[3] How to Connect Retell AI MCP Server to Claude & More | Retell AI | Retell AI](https://www.retellai.com/blog/connect-retell-ai-mcp-server-to-ai-assistant) [[4] Retell MCP Server Tutorial](

https://www.youtube.com/watch?v=ZTAFX0oOYhY▾

) [[5] MCP Server tool calls not stable](https://discord.com/channels/1186424376300679209/1409520321450479656) ​
20321450479656) . This appears to be related to session management and the mcp-session-id header . For a complete walkthrough, check out the [video tutorial](

▾

) [(4) ](

▾

) which demonstrates the setup process step-by-step.
### Answer To set up your MCP server with Retell AI, here's what you need to do: ## Basic Setup Process First, you'll need to add your MCP server to your Retell AI agent [(1) ]() . In the Retell dashboard, when creating an MCP node, you need to: 1. Add MCP server - Configure your server endpoint 2. *Set request headers (optional) * - Define custom headers to include with requests Retell sends to your MCP Server 3. *Set query parameters (optional) * - Define query parameters to include in the request URL that Retell appends to your MCP Server Endpoint 4. Add MCP Tool - Select the specific MCP tool you want to use 5. *Set response variables (optional) * - Extract values from the MCP tool response and save them as dynamic variables for later use ## Core Components Your MCP setup involves three main components [(2) ]() : - **MCP Server**: The secure endpoint that mediates requests from your agent to your tools - **MCP Tool**: A function on the server you want your agent to access (e.g. Send Email, Lookup Contact) - **Retell AI Agent**: The client that initiates the request to MCP mid-call ## Alternative MCP Server Package If you want to connect Retell AI to other AI assistants like Claude, there's a dedicated NPM package available at [@abhaybabbar/retellai-mcp-server]() [(3) ]() [(4) ](

▾

) . ## Common Issues Be aware that there have been reported stability issues where the first tool call succeeds but subsequent calls fail with "Server not initialized" errors [(5) ](
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
My server is working fine here http://44.244.247.139:8000/tools but it is not listing the tools. Whats wrong with my mcp server retell cannot see it though it thier and showing tools
@AI Evy My server is working fine here http://44.244.247.139:8000/tools but it is not listing the tools. Whats wrong with my mcp server retell cannot see it though it thier and showing tools
a
Thanks for the follow-up, @zealous_unicorn_11185. I'll get back to you soon.
### Answer Based on the information sources, there are several common reasons why Retell AI might not be detecting your MCP server tools even though your server is responding at the endpoint: ## Common MCP Tool Detection Issues The most likely causes for tool detection problems are [(1) ]() : 1. MCP server connectivity issues - Your server might appear to be running but isn't properly exposing the tools 2. Authentication problems - The MCP server config or authentication might be preventing tool discovery 3. Server initialization errors - Check your MCP server logs for buried errors that aren't showing in the UI ## Debugging Steps To troubleshoot your MCP server: 1. Check server logs - Look for errors in your MCP server logs that might not be visible in the Retell UI 2. Verify tool exposure - Ensure your server is properly exposing the tools through the MCP protocol 3. Restart the connection - Try disconnecting and reconnecting your MCP server in Retell completely ## Retell's MCP Integration Process When setting up MCP in Retell, the process involves [(2) ]() : 1. Adding your MCP server URL 2. Configuring optional request headers and query parameters 3. Selecting the MCP tools from the available list 4. Setting up response variables if needed ## API Endpoint for Tool Retrieval Retell uses the following API structure to get MCP tools [(3) ]() :
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const mcpToolDefinitions = await client.mcpTool.getMcpTools('oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD', {
 mcp_id: 'mcp-server-1',
}) ;
console.log(mcpToolDefinitions) ;
The issue is likely that your server isn't implementing the proper MCP protocol that Retell expects, even though it's responding to HTTP requests at your endpoint [(1) ]() .
​ To learn more, see the sources I considered: [[1] Make.com MCP tool not detected](https://discord.com/channels/1186424376300679209/1419610738116264076) [[2] MCP Node](https://docs.retellai.com/build/conversation-flow/mcp-node) [[3] Get MCP Tools](https://docs.retellai.com/api-references/get-mcp-tools) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.