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
- Only open the tools you really need.
- Prioritize the
includewhitelist, and do not open it by default. - The key only gives the minimum permissions required by this MCP server.
- Run
/reload-mcpor 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/.