https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do i add a shopify mcp to an agent
# ❓・ai-evy-support
t
@AI Evy How do i add a shopify mcp to an agent?
a
Thanks for tagging me @tin_developer. I'll look through relevant sources and get back to you shortly.
### Answer To add an MCP to your agent, follow these steps [(1) ]() : 1. Click on + Add MCP to connect your agent to the MCP server 2. Add MCP Configuration - this step allows you to authenticate and set up the connection 3. *Set request headers (optional) * - define custom headers to include with the request Retell sends to your MCP Server 4. *Set query parameters (optional) * - define query parameters to include in the request URL that Retell appends to your MCP Server Endpoint 5. Select Tool - select the MCP tool from the list of tools available 6. *Set response variables (optional) * - extract values from the MCP tool response and save them as dynamic variables for use later in the conversation . For example, you can extract a user's name from the response and reference it later using
{{user_name}}
7. Save the MCP Tool - click the save button 8. Update prompt for function - include in the prompt explicitly when is the best time to invoke the MCP tool . For example:
Copy code
When user states his name and phone number, please call tool `verify_user` function.
The sources show that MCP allows you to extend your agent's capabilities by integrating external MCPs and utilize MCP tools . MCP lets your AI agent securely interact with all your external services and tools autonomously while staying in the flow of the call [(2) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] MCP](https://docs.retellai.com/build/single-multi-prompt/mcp) [[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) ​
Thanks for the follow-up, @tin_developer. I'll get back to you soon.
t
@AI Evy for shopify, i need to give you a store name, how do I do this?
a
​ To learn more, see the sources I considered: [[1] MCP](https://docs.retellai.com/build/single-multi-prompt/mcp) ​
### Answer For providing a Shopify store name to your MCP configuration, you can use the query parameters option when setting up your MCP [(1) ]() . When adding your MCP, you can define query parameters to include in the request URL that Retell appends to your MCP Server Endpoint . This would allow you to pass the store name as a parameter. You can also use dynamic variables to pass store-specific information . The documentation shows you can extract values from the MCP tool response and save them as dynamic variables for use later in the conversation . For example, you can reference variables using the format
{{variable_name}}
. Additionally, you can define custom headers to include with the request Retell sends to your MCP Server , which could be another way to pass authentication or store identification information. The specific implementation would depend on how your Shopify MCP server is configured to receive the store name parameter.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.