No description
  • TypeScript 86%
  • JavaScript 9.8%
  • CSS 3.8%
  • HTML 0.4%
Find a file
Ashwin Bhat eb70539958
Merge pull request #105 from devin-open-source/devin/1733551277-capability-negotiation
feat: implement capability negotiation for UI tabs
2024-12-09 03:56:58 -08:00
.github/workflows Add publish workflow 2024-11-21 10:41:25 +00:00
bin fix arg passing 2024-11-27 19:17:47 -05:00
client address comment 2024-12-09 04:52:15 -07:00
server style: apply prettier formatting 2024-12-06 19:43:48 +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 Pull SDK from npm 2024-11-11 16:28:51 +00:00
.prettierignore init root 2024-10-07 16:28:11 -07:00
.prettierrc init root 2024-10-07 16:28:11 -07:00
CODE_OF_CONDUCT.md no need to prettier format everything right now 2024-12-06 12:48:48 -07:00
CONTRIBUTING.md Clarify testing and submission steps 2024-11-20 16:02:21 +00:00
LICENSE Update LICENSE 2024-11-18 22:24:35 +00:00
mcp-inspector.png clarify readme 2024-11-25 17:00:04 -05:00
package-lock.json chore: move shell-quote to main dependencies 2024-12-06 19:43:11 +00:00
package.json chore: move shell-quote to main dependencies 2024-12-06 19:43:11 +00:00
README.md link to MCP docs site in readme 2024-11-29 16:26:56 -05:00
SECURITY.md no need to prettier format everything right now 2024-12-06 12:48:48 -07:00

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

For more details on ways to use the inspector, see the Inspector section of the MCP docs site.

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.