mcp-inspect
v1.0.5
Published
A terminal UI (TUI) inspector for Model Context Protocol (MCP) servers
Maintainers
Readme
mcp-inspect
A terminal UI (TUI) inspector for Model Context Protocol (MCP) servers. Inspect server capabilities, resources, prompts, tools, message history, and MCP server logs, and test MCP tools, all in an interactive terminal interface. Similar to MCP Inspector but works from any terminal session, including inside of sandboxes or containers.

🎥 Watch the Demo: Check out the mcp-inspect Introduction and Demo video to see how to inspect MCP servers, test tools, browse resources, and monitor server activity—all from your terminal.
Installation
npm install -g mcp-inspectOr use via npx:
npx mcp-inspect <config-file.json>Usage
mcp-inspect <config-file.json>Where config-file.json is your MCP configuration file (typically mcp.json).
Configuration File Format
The configuration file should follow the MCP configuration format:
{
"mcpServers": {
"server-name": {
"type": "stdio",
"command": "node",
"args": ["server.js"]
},
"another-server": {
"type": "sse",
"url": "http://localhost:6969/sse"
}
}
}Supported transport types:
stdio- Standard input/output communicationsse- Server-Sent EventsstreamableHttp- Streamable HTTP
Features
- Server Management: Connect to multiple MCP servers simultaneously
- Resource Inspection: Browse and view available resources
- Prompt Templates: View and inspect prompt templates
- Tool Testing: Test MCP tools with custom inputs and view results
- Message History: Track all requests, responses, and notifications
- Logging: View server stderr output and notifications
- Interactive UI: Navigate with keyboard shortcuts
Keyboard Shortcuts
Global
ESC- Exit applicationCtrl+C- Exit applicationTab/Shift+Tab- Cycle focus between panes↑/↓- Navigate lists and scroll contentEnter- Select item / Test tool+- Zoom to full-screen modal view (in details panes)
Tabs
- Quick switch to tabs:
I- InfoR- ResourcesP- PromptsT- ToolsM- MessagesL- Logging
Server Management
C- Connect to selected server (when disconnected or in error state)D- Disconnect from selected server (when connected)
Tool Testing
Enter- Test tool (from tool list or details view)
Development
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
npm run dev <config-file.json>License
MIT
Contributing
Contributions welcome! Please open an issue or submit a pull request.
