Back to AI Q&A
How to configure Hermes Agent MCP? Beginner version

How to configure Hermes Agent MCP? Beginner version

AI Q&A Admin 174 views

Hermes Agent with MCP, start with a small but clear server, don't connect a dozen at once. The idea given by the official MCP guide is to write the MCP server under the mcp_servers of the ~/.hermes/config.yaml and use include/exclude to control the toolface.

Basic structure

mcp_servers:  github:  command: npx  args: ["-y", "@modelcontextprotocol/server-github"]  env:  GITHUB_PERSONAL_ACCESS_TOKEN: "ghp_xxx"

Security restrictions that newbies must do

  1. Only open the tools you really need.
  2. Prioritize the include whitelist, and do not open it by default.
  3. The key only gives the minimum permissions required by this MCP server.
  4. Run /reload-mcp or restart Hermes after you are done.

In a word: MCP is to add external tools to Hermes, and the first principle is to open less, whitelist, and least privilege.

Official open source address: https://github.com/NousResearch/hermes-agent; Official document entry: https://hermes-agent.nousresearch.com/.

Recommended Tools

More