David Soria Parra ea4484cc04 Fix bug that roots returned by roots/list are never updated
The roots state is capture at the initialization of the connectMcpServer.
This causes roots/list to always return empty roots despite updates
to the roots. We are now using a ref to reference it and avoid the closure
issue. roots/list now returns correctly the roots.
2024-11-10 23:45:38 +00:00
2024-10-28 10:48:41 +00:00
2024-10-16 16:22:14 -07:00
2024-10-31 21:53:01 +00:00
2024-10-07 16:28:11 -07:00
2024-10-07 16:28:11 -07:00
2024-11-07 13:46:21 +00:00
2024-10-28 10:48:41 +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
Description
Visual testing tool for MCP servers
Readme 3.7 MiB
Languages
TypeScript 85.7%
JavaScript 13.1%
CSS 0.9%
Dockerfile 0.2%