rubber-blueR
VAPI7mo ago
rubber-blue

Unable to add MCP to tools config

MCP tools require a
name
field, however when add
name
to the MCP tool, the vapi server side validation fails:

  {
    type: 'mcp',
    name: 'Calendly',
    description: 'When scheduling bookings use this tool',
    server: {
      url: 'https://mcp.zapier.com/api/mcp/s/.....'
    }
  }
]
Error: Status code: 400
Body: {
  "message": [
    "model.each value in tools.property name should not exist"
  ],
  "error": "Bad Request",
  "statusCode": 400
}


We're using openai as the model and follow the documentation.

https://docs.vapi.ai/tools/mcp

Not adding
name
to the tool config fails as well, then we get error name is required for mcp tool...
Connect your assistant to dynamic tools through MCP servers for enhanced capabilities.
Was this page helpful?