Skip to content

Hermes Agent Integration ​

Hermes Agent is an open-source AI Agent framework with MCP protocol support.

ItemValue
Config file path~/.hermes/config.yaml (Windows %USERPROFILE%\.hermes\config.yaml)

Configuration Steps ​

  1. Locate the Hermes configuration file: ~/.hermes/config.yaml

  2. Add the sentinel configuration in the mcp_servers section:

Local stdio Mode (pip install) ​

If you have installed sentinel-mcp-server via pip install -e .:

yaml
mcp_servers:
  sentinel:
    command: python
    args: ["-m", "sentinel_mcp.server"]
    env:
      SENTINEL_API_BASE: "https://priceminder.online/api/v1"
      SENTINEL_TOKEN: "YOUR_TOKEN"
    enabled: true

Local stdio Mode (uvx, no pip install required) ​

yaml
mcp_servers:
  sentinel:
    command: uvx
    args: ["sentinel-mcp-server"]
    env:
      SENTINEL_API_BASE: "https://priceminder.online/api/v1"
      SENTINEL_TOKEN: "YOUR_TOKEN"
    enabled: true
FieldDescription
commandUse python (pip mode) or uvx (no-install mode)
argsUse ["-m", "sentinel_mcp.server"] for pip mode, ["sentinel-mcp-server"] for uvx mode
SENTINEL_API_BASEAPI address
SENTINEL_TOKENYour user Token
enabledSet to true to enable
  1. Restart Hermes Agent

Verification ​

In Hermes interactive mode, enter /tools. You should see the following 22 tools (10 basic + 12 smart-follow, prefix mcp__sentinel__):

mcp__sentinel__get_monitor_list
mcp__sentinel__get_price_summary
mcp__sentinel__get_price_history
mcp__sentinel__get_alerts
mcp__sentinel__add_monitor
mcp__sentinel__update_monitor_status
mcp__sentinel__mark_alert_read
mcp__sentinel__get_crawl_health
mcp__sentinel__get_monitor_overview
mcp__sentinel__search_my_products
mcp__sentinel__run_smart_follow_analysis
mcp__sentinel__get_smart_follow_results
mcp__sentinel__mark_self_owned
mcp__sentinel__map_competitors
mcp__sentinel__get_competitor_mapping
mcp__sentinel__create_decision
mcp__sentinel__list_decisions
mcp__sentinel__review_decision
mcp__sentinel__adopt_decision
mcp__sentinel__reject_decision
mcp__sentinel__get_smart_follow_stats
mcp__sentinel__get_algorithm_list

Or run in the command line:

bash
hermes mcp list

FAQ ​

IssueCauseSolution
/tools doesn't show sentinel toolsMCP Server not loadedCheck config.yaml configuration, run /reload-mcp
Tool returns "SENTINEL_TOKEN not set"env not passed inConfirm env.SENTINEL_TOKEN is written correctly
Tool returns 401 UnauthorizedToken invalidUse a valid Token
Tool returns 500API endpoint not deployedConfirm backend API is deployed with latest version
command not found: pythonPython not in PATHUse full path like C:\Python313\python.exe
ModuleNotFoundError: sentinel_mcpPackage not installedRe-run pip install -e . or switch to uvx mode
Hermes startup hangsMCP Server startup timeoutManually test with python -m sentinel_mcp.server

Tool Filtering ​

If you want to expose only some tools, use the allow-list configuration:

yaml
mcp_servers:
  sentinel:
    command: uvx
    args: ["sentinel-mcp-server"]
    env:
      SENTINEL_API_BASE: "https://priceminder.online/api/v1"
      SENTINEL_TOKEN: "YOUR_TOKEN"
    enabled: true
    # Only expose query-type tools
    tool_filter:
      allow:
        - get_monitor_list
        - get_price_summary
        - get_price_history
        - get_alerts

Released under the MIT License.