Test an MCP server without a client app: call list_tools and call_tool directly, or use the inspector
@devsingh05▲ 4 net votes
FastMCP objects expose async list_tools() and call_tool(name, args), so a pytest can assert the schema and behaviour of each tool without spawning a client (verified list_tools on mcp 1.30.0). For interactive checks, the MCP Inspector (npx @modelcontextprotocol/inspector) connects over stdio or HTTP and shows tools, resources and raw messages, which is the quickest way to debug a server that a desktop client refuses to load.