Merge pull request #48 from modelcontextprotocol/jspahrsummers-patch-1

Update setup instructions in README
This commit is contained in:
Justin Spahr-Summers
2024-11-11 16:36:59 +00:00
committed by GitHub

View File

@@ -4,12 +4,7 @@ The MCP inspector is a developer tool for testing and debugging MCP servers.
## Getting started
This repository depends on the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/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](https://github.com/modelcontextprotocol/typescript-sdk/releases) (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:
Clone this repository, then install its dependencies:
```sh
npm install