https://retellai.com/?utm_source=discord&utm_medium=seo logo
can mcp tool calls be mocked
# ❓・ai-evy-support
b
@AI Evy can mcp tool calls be mocked
a
Thanks for tagging me @bobbychick. I'll look through relevant sources and get back to you shortly.
### Answer No. In simulation testing, MCP tools ignore function mocks. The mock dropdown lists them, but a test calls your MCP server for real.[(1)]() Mocks are honored only for functions that reach outside Retell, such as custom functions, code tools, integration tools, the built-in Cal.com tools, call transfers, and SMS.[(1)]() Since MCP tool calls go to your actual server during a test, any side effects (like creating a ticket or booking) happen for real. To keep tests safe, point the agent at a staging MCP server, or use a [custom function](/build/single-multi-prompt/custom-function) in place of the MCP tool for scenarios that need a mocked result.
​ To learn more, see the sources I considered: [[1] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
b
@AI Evy raise feature request to be able to mock mcp tool calls
a
Thanks for the follow-up, @bobbychick. I'll get back to you soon.
### Answer I can't submit feature requests from this chat, and I don't have information on a feature request process or a roadmap for mocking MCP tool calls. As documented, MCP tools ignore mocks in simulation tests: the mock dropdown lists them, but a test calls your MCP server for real.[(1)]() To request this, you can [hire a certified Retell partner]() or check the [Documentation]() for current channels. The Retell team may also see feedback posted in the community forum. Until then, a few options are supported by the documentation: - Mock every other function that reaches production, since custom functions, code tools, integration tools, and the built-in Cal.com tools honor mocks.[(1)]() - Use a custom function in place of the MCP tool for scenarios that need a fixed result.[(1)]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Automatically test your agent](https://docs.retellai.com/test/llm-simulation-testing) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.