Merge pull request #1909 from NousResearch/hermes/hermes-b29f73b2
docs: fix MCP install commands — use uv, not bare pip
This commit is contained in:
@@ -37,8 +37,13 @@ That last part matters. Good MCP usage is not just “connect everything.” It
|
|||||||
|
|
||||||
## Step 1: install MCP support
|
## Step 1: install MCP support
|
||||||
|
|
||||||
|
If you installed Hermes with the standard install script, MCP support is already included (the installer runs `uv pip install -e ".[all]"`).
|
||||||
|
|
||||||
|
If you installed without extras and need to add MCP separately:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install hermes-agent[mcp]
|
cd ~/.hermes/hermes-agent
|
||||||
|
uv pip install -e ".[mcp]"
|
||||||
```
|
```
|
||||||
|
|
||||||
For npm-based servers, make sure Node.js and `npx` are available.
|
For npm-based servers, make sure Node.js and `npx` are available.
|
||||||
|
|||||||
@@ -372,8 +372,8 @@ hermes chat --continue
|
|||||||
|
|
||||||
**Solution:**
|
**Solution:**
|
||||||
```bash
|
```bash
|
||||||
# Ensure MCP dependencies are installed
|
# Ensure MCP dependencies are installed (already included in standard install)
|
||||||
pip install hermes-agent[mcp]
|
cd ~/.hermes/hermes-agent && uv pip install -e ".[mcp]"
|
||||||
|
|
||||||
# For npm-based servers, ensure Node.js is available
|
# For npm-based servers, ensure Node.js is available
|
||||||
node --version
|
node --version
|
||||||
|
|||||||
@@ -20,10 +20,11 @@ If you have ever wanted Hermes to use a tool that already exists somewhere else,
|
|||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
1. Install MCP support:
|
1. Install MCP support (already included if you used the standard install script):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install hermes-agent[mcp]
|
cd ~/.hermes/hermes-agent
|
||||||
|
uv pip install -e ".[mcp]"
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Add an MCP server to `~/.hermes/config.yaml`:
|
2. Add an MCP server to `~/.hermes/config.yaml`:
|
||||||
@@ -374,7 +375,9 @@ Inspect the project root and explain the directory layout.
|
|||||||
Check:
|
Check:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install hermes-agent[mcp]
|
# Verify MCP deps are installed (already included in standard install)
|
||||||
|
cd ~/.hermes/hermes-agent && uv pip install -e ".[mcp]"
|
||||||
|
|
||||||
node --version
|
node --version
|
||||||
npx --version
|
npx --version
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user