I'll build an MCP client inspector that allows you to connect to MCP servers, inspect their tools, and test them interactively. This will be useful for debugging and exploring MCP servers.
I've built a comprehensive MCP client inspector that allows you to connect to and inspect Model Context Protocol servers 1. Here's what it includes:
The inspector includes mock API endpoints that simulate MCP server responses with sample tools like weather lookup, calculator, and dice rolling. In a real implementation, these would connect to actual MCP servers using the AI SDK's MCP client functionality 1.
I'll add Streamable HTTP transport support to the MCP client inspector, which is the newer transport method for HTTP-based MCP servers.
I've added Streamable HTTP transport support to the MCP client inspector! Here are the key improvements:
The inspector now attempts to create real MCP client connections using the AI SDK's experimental_createMCPClient
function 1. For Streamable HTTP, it uses the StreamableHTTPClientTransport
from the official MCP SDK, which provides better session management and reliability compared to basic SSE.
When you connect using Streamable HTTP:
The inspector maintains backward compatibility with the mock endpoints for demonstration purposes when real connections aren't available.