stormy-gold
stormy-gold4h ago

Unable To Test mcp_tool

Im trying to test mcp tool in Vapi and when I try to click list mcp tools it says: "Streamable HTTP protocol is not supported in testing yet." Is there any way around this so i can test? I go my mcp server from n8n by the way
No description
1 Reply
Vapi
Vapi4h ago
The Vapi dashboard's test tool does not support Streamable HTTP protocol for MCP tools yet.
As a workaround, you can test your MCP tool by calling it programmatically using the SDK.
Here’s a Node.js example:
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
const mcpClient = new Client({ name: 'vapi-client', version: '1.0.0' });
await mcpClient.connect(/* your transport config */);
const tools = await mcpClient.listTools();
console.log(tools);
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
const mcpClient = new Client({ name: 'vapi-client', version: '1.0.0' });
await mcpClient.connect(/* your transport config */);
const tools = await mcpClient.listTools();
console.log(tools);
Replace the transport config with your MCP server details. This lets you list and test MCP tools directly. Source: - Vapi MCP Server Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥

Did you find this page helpful?