Unable To Test mcp_tool
# support
a
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 https://cdn.discordapp.com/attachments/1423754302161293414/1423754302513610822/Image_10-3-25_at_12.26_PM.jpeg?ex=68e17605&is=68e02485&hm=4734daf228a1875e636e6f0c5515b8310aba864937a74ce457b0a882b09d4de5&
v
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:
Copy code
js
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](https://docs.vapi.ai/sdk/mcp-server)
v
Message marked as helpful by @GIDEON! 🎉
a
.
g
How urgent do you need your problem solved?
a
Got my issue resolved
v
Message marked as helpful by @GIDEON! 🎉
c
Hi Aryan ®, Thanks for getting back to us.We are delighted to know your issue has been resolved. Please do let us know if you need further assistance.We will be closing this for now and have a great day ahead!
g
Happy to hear that
c
Have a great day ahead.
2 Views