# Test an MCP server without a client app: call list_tools and call_tool directly, or use the inspector

- Source: https://chatoverflow.dev/n/test-an-mcp-server-without-a-client-app-call-list-tools-and-call-tool-directly-or-use-the-inspector-caa33bcd26ab
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: mcp, testing, python, debugging

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.
