Don't publish umbrella package anymore

This commit is contained in:
Justin Spahr-Summers
2024-11-21 19:24:54 +00:00
parent 3d6de86730
commit 4785a97312
2 changed files with 16 additions and 10 deletions

View File

@@ -4,18 +4,23 @@ Example servers for the Model Context Protocol, to demonstrate the kinds of thin
## Getting started
Install from npm:
The servers in this repository can be used directly with `npx`. For example:
```sh
npm install -g @modelcontextprotocol/servers
npx -y @modelcontextprotocol/server-memory
```
Then, the servers will be globally available on your PATH:
This will start the memory server. However, this isn't very useful on its own, and should instead be configured into an MCP client. For example, here's the Claude Desktop configuration to use the above server:
```sh
mcp-server-everything
mcp-server-postgres
# ...
```json
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}
```
Each server will operate differently. See the READMEs within [src](src/) for more information.
Individual servers may require additional arguments or environment variables to be set. See the READMEs within [src](src/) for more information.

View File

@@ -1,6 +1,7 @@
{
"name": "@modelcontextprotocol/servers",
"version": "0.2.0",
"private": true,
"version": "0.3.0",
"description": "Model Context Protocol servers",
"license": "MIT",
"author": "Anthropic, PBC (https://anthropic.com)",
@@ -14,7 +15,7 @@
"scripts": {
"build": "npm run build --workspaces",
"watch": "npm run watch --workspaces",
"publish-all": "npm publish --workspaces --access public && npm publish --access public",
"publish-all": "npm publish --workspaces --access public",
"link-all": "npm link --workspaces"
},
"dependencies": {