nooo
05/27/2025, 4:02 AMVapi Support Bot
05/27/2025, 4:03 AMnooo
05/27/2025, 4:08 AMVapi Support Bot
05/27/2025, 4:09 AM@Vapi-ai/server-sdk
(^0.8.1
) setup, or do all MCP tool actions fail with the same LLM error?** This will clarify if the problem is with the general MCP integration or specific to certain actions.
Let me know, and I can suggest targeted next steps!
Sources:
- [Vapi Call End Reasons](https://docs.vapi.ai/calls/call-ended-reason)
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Vapi Support Bot
05/27/2025, 4:09 AM"name"
field in your mcpTool
object (as shown in the [example usage](https://docs.vapi.ai/tools/mcp#example-usage)), and if so, did it change the behavior or error message in your integration with @Vapi-ai/server-sdk
version ^0.8.1
?
Example:
js
const mcpTool = {
type: 'mcp',
name: 'mcpTools', // try including this field
server: { url: action.serverUrl }
};
This will help determine if the missing "name"
field is causing the SDK to reject the tool configuration.
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)nooo
05/27/2025, 4:10 AM"message": [
"model.each value in tools.property name should not exist"
],
"error": "Bad Request",
"statusCode": 400
Vapi Support Bot
05/27/2025, 4:12 AM@Vapi-ai/server-sdk
(^0.8.1
) actually accepts.
Could you please confirm if you have tried configuring your MCP tool without the name
field, using only:
js
const mcpTool = {
type: 'mcp',
server: { url: action.serverUrl }
};
If so, does this configuration still result in the call.in-progress.error-vapifault-azure-openai-llm-failed
error, or does it change the behavior?
This will help determine if the issue is strictly with the tool configuration or if there is a deeper integration problem.
For reference: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Sources:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
- [Vapi Call End Reasons](https://docs.vapi.ai/calls/call-ended-reason)nooo
05/27/2025, 4:12 AMVapi Support Bot
05/27/2025, 4:12 AM@Vapi-ai/server-sdk
(^0.8.1
) does not accept a name
property in the MCP tool configuration, even though the documentation shows it. Try defining your MCP tool like this (without the name
field):
js
const mcpTool = {
type: 'mcp',
server: { url: action.serverUrl }
};
Remove the name
property and see if this resolves the validation error. If the issue persists, consider checking for SDK updates or reporting the documentation mismatch to Vapi support for clarification.
Source: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)nooo
05/27/2025, 4:13 AMVapi Support Bot
05/27/2025, 4:13 AMname
property):
js
const mcpTool = {
type: 'mcp',
server: { url: 'https://mcp.zapier.app/home' } // Replace with your actual MCP server URL
};
Add this mcpTool
to your assistant's tools
array. This matches what the @Vapi-ai/server-sdk
(^0.8.1
) expects and should avoid validation errors.
Reference: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Vapi Support Bot
05/27/2025, 4:14 AM@Vapi-ai/server-sdk
(^0.8.1
), use the following structure (without the name
property):
js
const mcpTool = {
type: 'mcp',
server: { url: action.serverUrl }
};
If you still see a "type: 'mcp' not expected" error, it may indicate a version mismatch or SDK limitation. Consider checking for SDK updates or reporting this to Vapi support for clarification, as the documentation and SDK may be out of sync.
Source: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Vapi Support Bot
05/27/2025, 4:15 AMname
property):
js
const mcpTool = {
type: 'mcp',
server: { url: action.serverUrl }
};
If you still see a "type: 'mcp' not expected" error, this may indicate a mismatch between the SDK and the documentation. In that case, check for SDK updates or report the issue to Vapi support for clarification, as the documentation does not specify an alternative type value for MCP tools in your SDK version.
Source: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)nooo
05/27/2025, 4:15 AMVapi Support Bot
05/27/2025, 4:17 AM@Vapi-ai/server-sdk
(^0.8.1
):
js
const mcpTool = {
type: 'mcp',
server: { url: 'https://your-mcp-server-url' } // Replace with your actual MCP server URL
};
Add this object to your assistant’s tools
array. If you still see a "type: 'mcp' not expected"
error, it may be an SDK limitation—please check for updates or contact Vapi support for further help.
Source: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Vapi Support Bot
05/27/2025, 4:17 AMnooo
05/27/2025, 4:18 AMVapi Support Bot
05/27/2025, 4:19 AMjs
const mcpTool = {
type: 'mcp',
server: { url: 'https://your-mcp-server-url' } // Replace with your actual MCP server URL
};
Add this object to your assistant’s tools
array. If you still see a "type: 'mcp' not expected"
error, check for SDK updates or contact Vapi support for further help.
Reference: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Vapi Support Bot
05/27/2025, 4:20 AMjs
const mcpTool = {
type: 'mcp',
server: { url: 'https://your-mcp-server-url' } // Replace with your actual MCP server URL
};
Add this object to your assistant's tools
array. If you still see a "type: 'mcp' not expected"
error, check for SDK updates or contact Vapi support, as this may be a version mismatch.
Reference: [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)
Source:
- [Vapi MCP Tool Documentation](https://docs.vapi.ai/tools/mcp)Kings_big💫
05/27/2025, 6:21 AMVapi Support Bot
05/27/2025, 6:22 AM559fa28f-4291-449c-a003-b66b0cf09f39
) investigated, please email support@vapi.ai with your call ID and account email, or post the details in the [Vapi Discord #support channel](https://discord.com/invite/pUFNcf2WmH).
This is the recommended way to get direct attention from the Vapi support and engineering team for call failures.
Sources:
- [Vapi Call Ended Reasons Documentation](https://docs.vapi.ai/calls/call-ended-reason)
- [Vapi Support Documentation](https://docs.vapi.ai/support)Vapi Support Bot
05/27/2025, 6:22 AM559fa28f-4291-449c-a003-b66b0cf09f39
) investigated, please email support@vapi.ai with your call ID and account email, or post the details in the [Vapi Discord #support channel](https://discord.com/invite/pUFNcf2WmH).
This is the recommended way to get direct attention from the Vapi support and engineering team for call failures.
Sources:
- [Vapi Call Ended Reasons Documentation](https://docs.vapi.ai/calls/call-ended-reason)
- [Vapi Support Documentation](https://docs.vapi.ai/support)Praveen Nair
05/27/2025, 8:32 PM