mcpinspect logo

mcpinspect

mcpinspect is a command-line utility built in Go that provides inspection capabilities for Model Context Protocol servers configured in Claude Code. The tool addresses the challenge of managing MCP server configurations by reading the Claude configuration file (~/.claude.json) and connecting to servers to retrieve their tool information, including support for stdio, HTTP, and SSE transport protocols with OAuth authentication via macOS keychain integration. It enables developers to list all configured MCP servers with their connection details, inspect individual servers to view available tools with descriptions, and use custom configuration file paths, making it valuable for debugging MCP server configurations, discovering available tools before granting access in Claude projects, and understanding server capabilities during development workflows.