---
title: "MCP Inspector: Test an MCP Server in Your Browser"
url: "https://mcpshelf.co/servers/mcp-inspector"
description: "MCP Inspector is the official tool for testing an MCP server: list its tools, call them by hand, read the raw messages. How to start it on any server."
updated: "2026-10-27"
site: "MCP Shelf"
---

# MCP Inspector

> The official debugging UI for MCP servers. Not a server you add to a client.

Source: https://mcpshelf.co/servers/mcp-inspector  
Markdown: https://mcpshelf.co/servers/mcp-inspector.md  
Generated: 2026-11-23T23:08:31.407Z

## Facts

- **Name:** MCP Inspector
- **Tagline:** The official debugging UI for MCP servers. Not a server you add to a client.
- **Description:** MCP Inspector is the official testing tool from the Model Context Protocol project, used to connect to an MCP server and call its tools, resources and prompts by hand.
- **Repository:** https://github.com/modelcontextprotocol/inspector
- **Package:** @modelcontextprotocol/inspector 2.12.0 (npm)
- **Install:** Set up with the steps under "How do I install" below
- **Auth:** Needs `npx @modelcontextprotocol/inspector`
- **Tools exposed:** Grouped: Web, --cli, --tui, mcpdo
- **Category:** Developer tools (https://mcpshelf.co/categories/developer-tools)
- **Stats:** 11.2K GitHub stars, 295.1K downloads a week, last commit 25 Oct 2026, 0 upvotes on MCP Shelf
- **Install check:** Not yet tested by us
- **Listed:** 2026-10-26
- **Page updated:** 2026-10-27

## Full description

### What is MCP Inspector?

**MCP Inspector is the official testing tool from the Model Context Protocol project, used to connect to an MCP server and call its tools, resources and prompts by hand.**

Inspector is maintained by the Model Context Protocol project. It starts a small web app that connects to one server, lists its tools, prompts and resources, and lets you call each tool with your own arguments while showing the JSON going back and forth.

Use it before blaming your client: if a server misbehaves in Inspector, the problem is the server or its config.

|  |  |
| --- | --- |
| Made by | The Model Context Protocol project (modelcontextprotocol) |
| GitHub | https://github.com/modelcontextprotocol/inspector |
| Licence | MIT / Apache-2.0 |
| npm package | [@modelcontextprotocol/inspector](https://www.npmjs.com/package/@modelcontextprotocol/inspector) 2.12.0 (21 Oct 2026) |
| GitHub stars | 11.2K |
| Downloads | 295.1K a week |
| Last commit | 25 Oct 2026 |
| Tools | Test client |
| Runs on | Your computer |
| Install check | Not yet tested by us |
| Category | [Developer tools](https://mcpshelf.co/categories/developer-tools) |
| Setup checked | 27 Oct 2026 |
| Page updated | 27 Oct 2026 |

**Our check:** Written from the project's own documentation. We have not run this config ourselves yet.

#### MCP Shelf take

> We have not run MCP Inspector on our test machine yet, so this take only covers what we checked by hand. It sits 6th of 24 in its category on our shelf by GitHub stars (11.2K, with 295.1K downloads a week).

— MCP Shelf tests (numbers from our own runs)

#### Tool groups

| Group | Covers |
| --- | --- |
| `Web` | A browser app for connecting to a server, listing its tools, resources and prompts, and calling them by hand. |
| `--cli` | A scriptable command line client: connect, list, call and check results, ideal for CI and quick agent feedback. |
| `--tui` | An interactive view in the terminal, for when you are on SSH or prefer the keyboard. |
| `mcpdo` | Experimental: connect once, then run many commands against that named connection. |

### How do I install MCP Inspector?

#### Install steps from the MCP Inspector README

Copied from the project's [README on GitHub](https://github.com/modelcontextprotocol/inspector#readme) on 10 Nov 2026 under its MIT / Apache-2.0 licence.

##### MCP Inspector

A developer tool for inspecting [Model Context Protocol](https://modelcontextprotocol.io) (MCP) servers. It ships as a single package, `@modelcontextprotocol/inspector`, that provides four ways to inspect a server:

- **Web** — a Vite + React + [Mantine](https://mantine.dev) single-page app with a Node backend.
- **CLI** — a scriptable command-line client for automation, CI, and fast agent feedback loops.
- **TUI** — an interactive terminal UI built with [Ink](https://github.com/vadimdemedes/ink).
- **mcpdo** *(experimental)* — a connection CLI: connect once, then run many commands against the named connection through an implicit local daemon. See [`clients/mcpdo`](https://github.com/modelcontextprotocol/inspector/blob/HEAD/clients/mcpdo/README.md).

The first three run through one global `mcp-inspector` binary; `mcpdo` is a second binary in the same package:

```
npx @modelcontextprotocol/inspector                   # web UI (default)
npx @modelcontextprotocol/inspector --cli             # CLI
npx @modelcontextprotocol/inspector --tui             # TUI
npx -p @modelcontextprotocol/inspector mcpdo --help   # mcpdo
```

> **Warning:** **The Inspector manages secrets — OAuth tokens, OAuth client secrets, and stdio `env:` values — and stores them in the OS keychain, if available, by default.** On a machine with no keychain — Linux without libsecret or a Secret Service, headless and SSH sessions, Termux, and containers with a mounted volume — they are saved to `~/.mcp-inspector/secrets.json` instead, unencrypted unless you supply a key. See [Where secrets are stored](https://github.com/modelcontextprotocol/inspector/blob/HEAD/docs/secret-storage.md) for how to get a keychain back, encrypt the file, or keep secrets in memory only.

> **Upgrading from v1?** Read the [v1 → v2 migration guide](https://github.com/modelcontextprotocol/inspector/blob/HEAD/docs/v1-to-v2-migration.md) — CLI flags, the new `--config` vs. `--catalog` split, the Node engine bump, and what no longer ships.

> **Repo status.** This is the **v2** line of the Inspector. Active development happens on **`v2/main`** (the develop branch — all v2 PRs target it), which is merged into **`main`** at milestone releases; `main` is the default branch and holds the latest released v2, published to the npm `latest` tag. The legacy **v1** line lives on **`v1/main`** — security fixes only, published straight from that branch to the npm `v1-latest` tag (`npx @modelcontextprotocol/inspector@v1-latest`). See [`AGENTS.md`](https://github.com/modelcontextprotocol/inspector/blob/HEAD/AGENTS.md) for branch/board conventions.

#### What you need first

- Node.js 22.19 or newer

1. Run it with the server command after it: npx @modelcontextprotocol/inspector npx -y @playwright/mcp@latest
2. Open the local address it prints in your browser.
3. Click Connect, then List Tools, and try a tool with your own input.

Checked against the project's own install docs on 27 Oct 2026: https://github.com/modelcontextprotocol/inspector#readme, https://github.com/modelcontextprotocol/inspector/blob/main/docs/v1-to-v2-migration.md

### How do I configure MCP Inspector?

| Setting | Kind | Required | What it does |
| --- | --- | --- | --- |
| `npx @modelcontextprotocol/inspector` | config | yes | Starts the web interface. Add your server's command after it to connect straight away. Example: `npx @modelcontextprotocol/inspector node build/index.js` |
| `--cli` | flag | no | Uses the command line client instead of the browser. |
| `--tui` | flag | no | Uses the terminal interface. |
| `--config` | flag | no | Loads server definitions from a config file, in the same shape most MCP clients use. |
| `--format json` | flag | no | Prints CLI results as JSON so you can test a server with jq in a script. |

### What can MCP Inspector read and change?

**It can read**

- Whatever the server you are testing exposes: its tools, resources and prompts

**It can change**

- Only what the tools you call by hand change
- Saves OAuth tokens and env values in your system keychain where one exists

**Safer setup:** Test servers against throwaway data, since calling a tool here does exactly what it would do for an agent.

### Good for

- Checking a server starts and lists the tools you expect
- Debugging environment variables and arguments
- Building your own server

### MCP Inspector not working? Common fixes

**It will not install or start**
Version 2 needs Node 22.19 or newer. Check node --version.

**Secrets are not saved between runs on Linux or in a container**
There is no keychain there. Install libsecret or follow the project's guidance for machines without one.

**Old v1 flags stop working**
Version 2 changed several CLI flags and split --config from --catalog. Read the v1 to v2 migration guide.

### What are the alternatives to MCP Inspector?

| Server | What it does | Tools | Runs on | Licence | Stars |
| --- | --- | --- | --- | --- | --- |
| [MCP Inspector](https://mcpshelf.co/servers/mcp-inspector) | The official debugging UI for MCP servers. Not a server you add to a client. | Test client | Your computer | MIT / Apache-2.0 | 11.2K |
| [XcodeBuildMCP](https://mcpshelf.co/servers/xcodebuildmcp) | Build, run and test iOS and macOS apps, and drive simulators, from an agent. | 24 | Your computer | MIT | 6.5K |
| [Peekaboo](https://mcpshelf.co/servers/peekaboo) | Screenshots of any Mac app or screen, with optional questions about what is on it. | 4 groups | Your computer | MIT | 5.4K |
| [Kubernetes MCP Server](https://mcpshelf.co/servers/kubernetes) | Pods, logs, events and resources from your current kubeconfig context. | 14 | Your computer | Apache-2.0 | 2.2K |
| [IDA Pro MCP](https://mcpshelf.co/servers/ida-pro) | Lets an assistant read and annotate the binary you have open in IDA Pro. | 48 | Your computer | MIT | 13.2K |
| [GitMCP](https://mcpshelf.co/servers/gitmcp) | A hosted server that reads any public GitHub repo's docs and code on request. | 5 | Hosted | Apache-2.0 | 8.5K |

### MCP Inspector FAQ

#### What is MCP Inspector?

It is the official tool from the Model Context Protocol project for testing MCP servers by hand. You point it at a server, then list and call its tools, resources and prompts to see exactly what an agent would get back. It is a client, not a server you add to Claude or Cursor.

#### How do I run MCP Inspector?

Run npx @modelcontextprotocol/inspector for the web interface, and add your server's own start command after it to connect straight away, for example npx @modelcontextprotocol/inspector node build/index.js. --cli gives a scriptable command line client and --tui a terminal interface.

#### How do I test a remote MCP server with MCP Inspector?

Start the web interface, choose the HTTP transport and paste the server URL. If the server uses OAuth, the Inspector walks through the sign-in and keeps the tokens in your system keychain, so you can check a hosted server's login as well as its tools.

#### Can MCP Inspector run in CI?

Yes. The --cli mode connects, lists and calls tools without a browser, and --format json lets you check results with jq, so a pipeline can smoke-test a server on every change and fail on a bad exit code.

#### Is MCP Inspector free?

Yes. It is open source and runs locally with npx; there is no account. The MCP project is moving its licence from MIT to Apache 2.0, with new contributions under Apache 2.0.

#### Why will MCP Inspector not start?

Version 2 needs Node.js 22.19 or newer, so check node --version first. If it starts but forgets secrets between runs on Linux, in a container or over SSH, there is no keychain to store them in: install libsecret or follow the project's guidance for machines without one.

#### What changed in MCP Inspector v2?

Version 2 added the terminal interface and the experimental mcpdo connection tool, raised the Node.js requirement, renamed several CLI flags and split --config, which loads server definitions, from --catalog. The project's v1 to v2 migration guide lists each change.

#### Is it safe to call tools from MCP Inspector?

The Inspector does nothing on its own, but a tool you call runs for real, exactly as it would for an agent: a delete tool deletes. Test servers against throwaway data or a sandbox account, especially database and cloud servers.

Full docs on GitHub: https://github.com/modelcontextprotocol/inspector

## Notes for agents

Fetch these instead of parsing the HTML page:

- llms.txt: https://mcpshelf.co/llms.txt
- llms-full.txt: https://mcpshelf.co/llms-full.txt
- ai.txt: https://mcpshelf.co/ai.txt
- Full catalog (.md): https://mcpshelf.co/catalog.md
- API spec: https://mcpshelf.co/openapi.json
- MCP server: https://mcpshelf.co/mcp
- MCP manifest: https://mcpshelf.co/.well-known/mcp.json
- Developer docs: https://mcpshelf.co/developers

MCP endpoint (Streamable HTTP, no key): https://mcpshelf.co/mcp. REST API: https://mcpshelf.co/api/v1.

