agentleFS
Hashi-Ai-DevHashi-Ai-Dev/HermitDoc/skills/hermes-mcp/SKILL.md

hermes-mcp

Skill4 starsChanged 7 months agoMITView on GitHub

Use when setting up MCP servers or connecting tools. Covers: hermes mcp CLI (serve, add, remove, list, test, configure, login), HTTP/SSE and stdio transports, MCP presets, auth methods (oauth, header), env vars for stdio servers. Triggers on: MCP, model context protocol, mcp server, stdio, http, mcp tools.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Only add trusted MCP servers — they get tool access

    line 131
  2. Very specific:

    Use --env for credentials, not hardcoded values

    line 133

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hermes MCP Reference

MCP (Model Context Protocol) integration — connecting external tools and running Hermes as an MCP server.

MCP CLI

hermes mcp serve               # Run Hermes as MCP server (expose conversations to other agents)
hermes mcp list                # List configured MCP servers
hermes mcp add NAME [OPTIONS]  # Add an MCP server
hermes mcp remove NAME         # Remove an MCP server
hermes mcp test NAME           # Test connection
hermes mcp configure NAME      # Toggle tool selection for a server
hermes mcp login NAME          # Force re-auth for OAuth-based servers

Adding a Server

HTTP/SSE endpoint:

hermes mcp add my-api --url "https://api.example.com/mcp"

Stdio command:

hermes mcp add github --command "npx @modelcontextprotocol/server-github"

With environment variables:

hermes mcp add db --command "python /path/to/mcp-server.py" --env DB_HOST=localhost --env DB_PORT=5432

With auth:

hermes mcp add my-api --url "https://api.example.com/mcp" --auth header
hermes mcp add github --command "npx @modelcontextprotocol/server-github" --auth oauth

With preset:

hermes mcp add github --preset github

With args:

hermes mcp add filesystem --command "npx @anthropic/mcp-server-filesystem" --args "/path/to/serve"

Removing a Server

hermes mcp remove my-api
hermes mcp rm my-api  # alias

Testing

hermes mcp test github
hermes mcp test my-api

Tool Selection

hermes mcp configure github
# Interactive picker — enable/disable specific tools from the server

Running Hermes as MCP Server

hermes mcp serve
# Exposes Hermes tools via MCP protocol
# Other agents (Claude Code, etc.) can connect and use Hermes tools

MCP Tools in Delegation

MCP tools are available via server:tool notation:

delegate_task(
  goal="Create a GitHub issue",
  context="...",
  toolsets=["github:create_issue", "github:list_repos"]
)

Common MCP Servers

GitHub

hermes mcp add github --preset github
# Requires: GITHUB_TOKEN in .env

File System

hermes mcp add filesystem --command "npx @anthropic/mcp-server-filesystem" --args "/workspace"

Brave Search

hermes mcp add brave-search --command "npx @modelcontextprotocol/server-brave-search"
# Requires: BRAVE_API_KEY in .env

Slack

hermes mcp add slack --preset slack
# Requires: SLACK_BOT_TOKEN in .env

Security Notes

  • Only add trusted MCP servers — they get tool access
  • Review tool permissions before enabling
  • Use --env for credentials, not hardcoded values

References

  • hermes-config/ — MCP config keys
  • hermes-tools/ — tool reference
  • hermes-cli/ — MCP CLI commands

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.