Skip to main content

Default deny

Steerholm uses an allowlist permission model. An agent with no policy gets zero tools — Steerholm creates an empty policy that denies everything.

How policy evaluation works

When an agent calls a tool, Steerholm checks three things in order:
1

Tool lookup

Steerholm resolves which server owns the requested tool. If the tool doesn’t exist on any server the agent has access to → AUTHORIZATION_DENIED. If it isn’t found but one of those servers didn’t answer, that server may be the one with the tool → SERVER_UNAVAILABLE.
2

Tool check

Does any tool permission in the policy match the requested tool name? If not → AUTHORIZATION_DENIED.
3

Argument check

Each argument policy is checked only when the call actually includes that argument — a tool that doesn’t take the argument is unaffected. If a provided argument fails its policy → AUTHORIZATION_DENIED. So --tool "*" --args "path=..." constrains the path argument wherever it appears, without rejecting tools that have no path.
If all checks pass, the request is forwarded to the MCP server. Every one of these decisions is recorded — allowed and denied alike — in the audit log, readable with holm log.

Tool filtering

list_tools only returns tools that match at least one entry in the policy. Agents never see tools they aren’t allowed to use.

Argument policies

Argument policies restrict the values of specific tool arguments. Two match types are supported: In a glob, * and ? match within one path level and ** matches across levels: /home/user/* allows /home/user/a but not /home/user/a/b. A value with a .. segment never matches a glob unless the pattern contains .. itself, so a path pattern cannot be walked out of. A glob pattern without wildcards is an exact match — mode=readonly matches only "readonly".

CLI examples

Each example assumes the server is already added — a grant records the server’s id, so holm add server has to come first.

Grants and lifetime

A grant ties one agent to one server, and it lives only as long as both sides do. Removing an agent deletes its policy; removing a server revokes every grant on it. Names are reusable, so a grant that outlived either side would silently attach to whatever took the name next. To change a server without losing its grants, modify it in place (holm modify server) rather than removing and re-adding it.

Agents

Agents are created with holm add agent <name>. Each gets:
  • A name (stored in config.json) — reusable once an agent is removed
  • An immutable id, minted at creation and kept across key rotation
  • A key prefix for display (stored in config.json)
  • A bcrypt-hashed access key (stored in config.json) — the raw key is shown once at creation and never stored
The agent authenticates by sending the access key as Authorization: Bearer <key> to the daemon’s Streamable HTTP MCP endpoint. The daemon resolves the agent by checking the access key against all stored hashes.
The caller does not declare which agent it is. Steerholm resolves the agent from the access key, so the caller cannot influence how it is identified.