mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-24 06:45:21 +02:00
Merge pull request #3659 from ShionEria/fix/issue-3460-windows-npx-docs
docs: add Windows npx wrapper examples
This commit is contained in:
15
README.md
15
README.md
@@ -187,6 +187,19 @@ However, running a server on its own isn't very useful, and should instead be co
|
||||
}
|
||||
```
|
||||
|
||||
On Windows, wrap `npx` with `cmd /c`:
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"memory": {
|
||||
"command": "cmd",
|
||||
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-memory"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Additional examples of using the Claude Desktop as an MCP client might look like:
|
||||
|
||||
```json
|
||||
@@ -215,6 +228,8 @@ Additional examples of using the Claude Desktop as an MCP client might look like
|
||||
}
|
||||
```
|
||||
|
||||
On Windows, apply the same wrapper to each `npx`-based entry above by changing `"command"` to `"cmd"` and prepending `"/c", "npx"` to the existing `args`. Leave `uvx` entries unchanged.
|
||||
|
||||
## 🛠️ Creating Your Own Server
|
||||
|
||||
Interested in creating your own MCP server? Visit the official documentation at [modelcontextprotocol.io](https://modelcontextprotocol.io/introduction) for comprehensive guides, best practices, and technical details on implementing MCP servers.
|
||||
|
||||
Reference in New Issue
Block a user