Hamilton Harness

v0.1.1
io.github.sharathkum05/hamilton-harness Checked 1 day ago Published 2 months ago

Manage your Hamilton Harness AI rep: knowledge, rules, orders, tests and conversations.

Values you need

VariableWhat it is
HAMILTON_URLrequired Address of your Hamilton Harness server, such as https://chat.example.com
HAMILTON_ADMIN_TOKENrequired secret The admin token the server prints when started with --admin

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add hamilton-harness -e 'HAMILTON_ADMIN_TOKEN=<HAMILTON_ADMIN_TOKEN>' -e 'HAMILTON_URL=<HAMILTON_URL>' -- npx -y hamilton-harness@0.1.1 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "hamilton-harness": {
      "args": [
        "-y",
        "hamilton-harness@0.1.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "HAMILTON_ADMIN_TOKEN": "<HAMILTON_ADMIN_TOKEN>",
        "HAMILTON_URL": "<HAMILTON_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "hamilton-harness": {
      "args": [
        "-y",
        "hamilton-harness@0.1.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "HAMILTON_ADMIN_TOKEN": "<HAMILTON_ADMIN_TOKEN>",
        "HAMILTON_URL": "<HAMILTON_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "HAMILTON_ADMIN_TOKEN",
      "id": "hamilton-admin-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "HAMILTON_URL",
      "id": "hamilton-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "hamilton-harness": {
      "args": [
        "-y",
        "hamilton-harness@0.1.1",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "HAMILTON_ADMIN_TOKEN": "${input:hamilton-admin-token}",
        "HAMILTON_URL": "${input:hamilton-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.hamilton-harness]
command = "npx"
args = ["-y", "hamilton-harness@0.1.1", "mcp"]
env = { "HAMILTON_ADMIN_TOKEN" = "<HAMILTON_ADMIN_TOKEN>", "HAMILTON_URL" = "<HAMILTON_URL>" }

For AI agents

  1. Ask the user for: HAMILTON_URL, HAMILTON_ADMIN_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_overview, update_settings, read_knowledge, write_knowledge, delete_knowledge, save_rules, run_fake_customers, list_records, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json