Mirror of https://github.com/modelcontextprotocol/inspector — Visual testing tool for MCP servers
  • TypeScript 90.8%
  • JavaScript 8.8%
  • CSS 0.2%
  • HTML 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-11-07 14:02:53 +00:00
.github/workflows Work around npm CLI issue 2024-10-28 10:55:15 +00:00
client Add support for listing and filling resource templates 2024-11-07 14:02:53 +00:00
server Install TypeScript SDK from registry 2024-10-28 10:42:31 +00:00
.gitattributes Switch to npm 2024-10-28 10:48:41 +00:00
.gitignore fix type errors 2024-10-16 16:22:14 -07:00
.npmrc Add .npmrc 2024-10-31 21:53:01 +00:00
.prettierignore init root 2024-10-07 16:28:11 -07:00
.prettierrc init root 2024-10-07 16:28:11 -07:00
package-lock.json Update SDK to 0.3.2 2024-11-07 13:46:21 +00:00
package.json Switch to npm 2024-10-28 10:48:41 +00:00
README.md README instructions for preinstalling the SDK 2024-10-29 14:22:19 +00:00

MCP Inspector

The MCP inspector is a developer tool for testing and debugging MCP servers.

Getting started

This repository depends on the MCP TypeScript SDK. Until these repositories are made public and published to npm, the SDK has to be preinstalled manually:

  1. Download the latest release of the SDK (the file named something like modelcontextprotocol-sdk-0.1.0.tgz). You don't need to extract it.
  2. From within your checkout of this repository, run npm install --save path/to/sdk.tgz. This will overwrite the expected location for the SDK to allow you to proceed.

Then, you should be able to install the rest of the dependencies normally:

npm install

You can run it in dev mode via:

npm run dev

This will start both the client and server.

To run in production mode:

npm run build
npm start