diff --git a/README.md b/README.md index 782a8278..25cd74b2 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +Individual servers may require additional arguments or environment variables to be set. See the READMEs within [src](src/) for more information. diff --git a/package.json b/package.json index cb2c06db..cde4116d 100644 --- a/package.json +++ b/package.json @@ -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": {