8000 GitHub - delorenj/inspector: Visual testing tool for MCP servers
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

delorenj/inspector

 
 

Repository files navigation

MCP Inspector

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

MCP Inspector Screenshot

Running the Inspector

From an MCP server repository

To inspect an MCP server implementation, there's no need to clone this repo. Instead, use npx. For example, if your server is built at build/index.js:

npx @modelcontextprotocol/inspector build/index.js

You can also pass arguments along which will get passed as arguments to your MCP server:

npx @modelcontextprotocol/inspector build/index.js arg1 arg2 ...

The inspector runs both a client UI (default port 5173) and an MCP proxy server (default port 3000). Open the client UI in your browser to use the inspector. You can customize the ports if needed:

CLIENT_PORT=8080 SERVER_PORT=9000 npx @modelcontextprotocol/inspector build/index.js

Environment Variables

You can import environment variables from a .env file using the import button in the UI. The .env file should follow the standard format:

KEY1=value1
KEY2=value2

For more details on ways to use the inspector, see the Inspector section of the MCP docs site. For help with debugging, see the Debugging guide.

From this repository

If you're working on the inspector itself:

Development mode:

npm run dev

Production mode:

npm run build
npm start

License

This project is licensed under the MIT License—see the LICENSE file for details.

678B

About

Visual testing tool for MCP servers

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.8%
  • JavaScript 9.3%
  • CSS 3.5%
  • HTML 0.4%
0