From a9c405fac93e91802473af9ffeefa3096026d696 Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 18 Mar 2026 03:14:58 -0700 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20MCP=20install=20commands=20?= =?UTF-8?q?=E2=80=94=20use=20uv,=20not=20bare=20pip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The standard install already includes MCP via .[all]. For users who need to add it separately, the correct command is: cd ~/.hermes/hermes-agent && uv pip install -e ".[mcp]" The venv is created by uv, so bare 'pip' isn't available. All four occurrences across 3 docs pages updated. --- website/docs/guides/use-mcp-with-hermes.md | 7 ++++++- website/docs/reference/faq.md | 4 ++-- website/docs/user-guide/features/mcp.md | 9 ++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/website/docs/guides/use-mcp-with-hermes.md b/website/docs/guides/use-mcp-with-hermes.md index e202594d1..9083bdae8 100644 --- a/website/docs/guides/use-mcp-with-hermes.md +++ b/website/docs/guides/use-mcp-with-hermes.md @@ -37,8 +37,13 @@ That last part matters. Good MCP usage is not just “connect everything.” It ## 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 -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. diff --git a/website/docs/reference/faq.md b/website/docs/reference/faq.md index 4d7be7aa0..eaa92a064 100644 --- a/website/docs/reference/faq.md +++ b/website/docs/reference/faq.md @@ -372,8 +372,8 @@ hermes chat --continue **Solution:** ```bash -# Ensure MCP dependencies are installed -pip install hermes-agent[mcp] +# Ensure MCP dependencies are installed (already included in standard install) +cd ~/.hermes/hermes-agent && uv pip install -e ".[mcp]" # For npm-based servers, ensure Node.js is available node --version diff --git a/website/docs/user-guide/features/mcp.md b/website/docs/user-guide/features/mcp.md index 5009fab70..15890015b 100644 --- a/website/docs/user-guide/features/mcp.md +++ b/website/docs/user-guide/features/mcp.md @@ -20,10 +20,11 @@ If you have ever wanted Hermes to use a tool that already exists somewhere else, ## Quick start -1. Install MCP support: +1. Install MCP support (already included if you used the standard install script): ```bash -pip install hermes-agent[mcp] +cd ~/.hermes/hermes-agent +uv pip install -e ".[mcp]" ``` 2. Add an MCP server to `~/.hermes/config.yaml`: @@ -374,7 +375,9 @@ Inspect the project root and explain the directory layout. Check: ```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 npx --version ```