by mcp-use
Provides an interactive web‑based interface for testing, debugging, and exploring MCP servers, including support for MCP‑UI and OpenAI Apps SDK widgets, OAuth flows, and multi‑connection management.
Mcp Inspector is a browser‑based developer tool that lets you connect to one or more MCP servers, execute tools, browse resources, manage prompts, and monitor real‑time connection health. It works both as a hosted service (inspector.mcp-use.com) and as a locally run web app.
npx @mcp-use/inspector
The UI opens at http://localhost:8080.mcp-use framework, the inspector is automatically available at /inspector (e.g., http://localhost:3000/inspector)./inspector for any mcp-use servermcpuse/inspector)Q: Do I need to install anything to use the online version? A: No. Simply open https://inspector.mcp-use.com/inspector in a modern browser.
Q: How does the inspector store my credentials? A: All tokens, API keys, and session data are saved in the browser’s localStorage and never sent to external servers.
Q: Can I run the inspector without an internet connection?
A: Yes. Use npx @mcp-use/inspector to launch the UI locally; it works offline after the initial package download.
Q: What transports are supported for connecting to MCP servers? A: Streamable HTTP (SSE), WebSocket, and stdin/stdout process connections.
Q: How can I disable telemetry?
A: Set the environment variable MCP_USE_ANONYMIZED_TELEMETRY=false before starting, or set localStorage.setItem("mcp_inspector_telemetry_disabled", "true") in the browser.
⚠️ This is a read-only mirror of
libraries/typescript/packages/inspectorin the mcp-use/mcp-use monorepo.🚀 Please submit issues and pull requests to the monorepo instead.
🛠 This branch mirrors:
canary🌐 Source folder:
libraries/typescript/packages/inspector
🔍 MCP Inspector by mcp-use is an open-source, interactive developer tool for testing and debugging MCP servers with support for MCP-UI and OpenAI Apps SDK widgets. It provides a beautiful, intuitive interface for testing tools, exploring resources, managing prompts, and monitoring server connections - all from your browser.
npx @mcp-use/inspectorFor detailed usage instructions and guides, visit mcp-use.com/docs/inspector
| Package | Description | Version |
|---|---|---|
| mcp-use | Core MCP framework | |
| @mcp-use/cli | Build tool for MCP apps | |
| create-mcp-use-app | Create MCP apps |
| Feature | Description |
|---|---|
| 🚀 Auto-Mount | Automatically available at /inspector for all mcp-use servers |
| 🔌 Multi-Connection | Connect to and manage multiple MCP servers simultaneously |
| 🎯 Interactive Testing | Test tools with live execution and real-time results |
| 📊 Real-time Status | Monitor connection states, errors, and server health |
| 🔐 OAuth Support | Built-in OAuth flow handling with popup authentication |
| 💾 Persistent Sessions | Connections saved to localStorage and auto-reconnect |
| 🎨 Beautiful UI | Modern, responsive interface built with React and Tailwind |
| 🔍 Tool Explorer | Browse and execute all available tools with schema validation |
| 📁 Resource Browser | View and copy resource URIs with syntax highlighting |
| 💬 Prompt Manager | Test and manage prompts with argument templates |
| 🌐 Universal Support | Works with HTTP/SSE and WebSocket connections |
| 🎨 Widget Support | Full support for MCP-UI and OpenAI Apps SDK widgets |
| 🔑 BYOK Chat | Bring Your Own Key chat interface for testing conversational flows |
| 💾 Saved Tool Calls | Save and replay tool executions for repeated testing |
| ⌨️ Quick Actions | Cmd + K keyboard shortcuts for rapid navigation |
| 🐳 Docker Ready | Self-host with a single Docker container for production use |
There are three ways to use the MCP Inspector:
Visit inspector.mcp-use.com - no installation required!
npx @mcp-use/inspector
Opens the inspector in your browser at http://localhost:8080
When you create an MCP server with mcp-use, the inspector is automatically available at /inspector:
import { MCPServer } from "mcp-use/server";
const server = new MCPServer({
name: "my-server",
version: "1.0.0",
});
// Add your tools, resources, prompts...
server.listen(3000);
// 🎉 Inspector automatically available at http://localhost:3000/inspector
The main dashboard is your central hub for managing MCP server connections:
To connect to an MCP server:
https://mcp.linear.app/mcp)Example URLs:
https://mcp.linear.app/mcphttp://localhost:3000/mcpFor servers requiring OAuth (like Linear):
Privacy Note: All authentication tokens and credentials are stored securely in your browser's local storage. Nothing is sent to our servers - everything stays on your device.
Once connected, each server shows:
Click "Inspect" to open the detailed server view.
After clicking "Inspect" on a connected server, you'll see four main tabs:
The Tools tab displays all available tools from the MCP server.
Features:
Example: When connected to Linear MCP server, you'll see 23+ tools for managing issues, projects, and teams.
Browse available resources from the MCP server:
Note: Some servers (like Linear) may not expose resources, in which case you'll see "No resources available".
Test and manage pre-configured prompts:
Note: Not all servers provide prompts. If none are available, you'll see "No prompts available".
The Elicitation tab handles tool requests that require user input during execution.
Features:
Supported field types:
type: "string" + enumtype: "string" + oneOf[{ const, title }]type: "string" + enum + enumNames (legacy)type: "array" + items.enumtype: "array" + items.anyOf[{ const, title }]This aligns with SEP-1330 enum schema variants used by MCP conformance scenarios.
The Chat tab provides an interactive interface to test the MCP server with an LLM using BYOK (Bring Your Own Key).
Privacy: Your API key is stored locally in your browser and never sent to our servers. All requests are made directly from your device to your LLM provider.
Setup:
Using Chat:
| Shortcut | Action |
|---|---|
Cmd/Ctrl + K |
Quick search and navigation |
Esc |
Close modals and overlays |
Quick Search (Cmd/Ctrl + K) allows you to:
The inspector automatically saves your configurations:
Your data never leaves your browser - everything is stored locally for privacy and security.
Deploy the MCP Inspector to your own infrastructure with a single Docker container. Perfect for enterprise environments, air-gapped networks, or when you need full control over your debugging environment.
The official Docker image is available on Docker Hub.
Quick Start:
docker run -d -p 8080:8080 --name mcp-inspector mcpuse/inspector:latest
Then visit http://localhost:8080 to access your self-hosted inspector.
Using Docker Run:
docker run -d \
--name mcp-inspector \
-p 8080:8080 \
-e NODE_ENV=production \
mcpuse/inspector:latest
Using Docker Compose:
version: "3.8"
services:
mcp-inspector:
image: mcpuse/inspector:latest
ports:
- "8080:8080"
environment:
- NODE_ENV=production
- PORT=8080
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
timeout: 10s
retries: 3
All configuration is optional. The inspector works out of the box with sensible defaults.
| Variable | Default | Description |
|---|---|---|
NODE_ENV |
production | Node.js environment |
PORT |
8080 | Port to run the inspector on |
HOST |
0.0.0.0 | Host to bind to |
The MCP Inspector collects anonymized usage data to help us improve the tool.
We collect:
We DO NOT collect:
You can disable telemetry in several ways:
Option 1: Environment Variable
# Set before starting the inspector
export MCP_USE_ANONYMIZED_TELEMETRY=false
Option 2: localStorage (Browser)
// In browser console
localStorage.setItem("mcp_inspector_telemetry_disabled", "true");
Option 3: Package-level
// Add to your package.json
{
"scarfSettings": {
"enabled": false
}
}
We use:
We welcome contributions!
See our contributing guide for details.
MIT © mcp-use
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.