Merge pull request #25 from modelcontextprotocol/justin/update-servers-instructions

Remove `npm install -g` instruction
This commit is contained in:
Justin Spahr-Summers 2024-11-21 20:53:35 +00:00 • committed by GitHub
commit 6ce9dd9329
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,16 +99,6 @@ brew install node git sqlite3
<Tabs>
<Tab title="macOS">
<Steps>
<Step title="Install example servers">
Let's start by getting the pre-built MCP servers:
```bash
npm install -g @modelcontextprotocol/servers
```
This makes the MCP servers available as command-line tools that Claude Desktop can launch.
</Step>
<Step title="Create a sample database">
Let's create a simple SQLite database for testing:
@ -144,8 +134,12 @@ brew install node git sqlite3
{
"mcpServers": {
"sqlite": {
"command": "mcp-server-sqlite",
"args": ["/Users/YOUR_USERNAME/test.db"]
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/Users/YOUR_USERNAME/test.db"
]
}
}
}
@ -162,16 +156,6 @@ brew install node git sqlite3
</Tab>
<Tab title="Windows">
<Steps>
<Step title="Install example servers">
Let's start by getting the pre-built MCP servers:
```bash
npm install -g @modelcontextprotocol/servers
```
This makes the MCP servers available as command-line tools that Claude Desktop can launch.
</Step>
<Step title="Create a sample database">
Let's create a simple SQLite database for testing:
@ -210,8 +194,12 @@ brew install node git sqlite3
{
"mcpServers": {
"sqlite": {
"command": "mcp-server-sqlite",
"args": ["C:\\Users\\YOUR_USERNAME\\test.db"]
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"C:\\Users\\YOUR_USERNAME\\test.db"
]
}
}
}