Block changes and approve calls at the MCP gateway
Start with 3 free protected services on the Agentalog gateway to pin each tool's hash on first use, hold changes and enforce per-call human approval on sensitive tools.
Updated
1Enable free starter protection on the server listing
Open a remote MCP server over Streamable HTTP that does not require its own OAuth flow and select Protect (or send POST /api/protection/services with listing_id).
- 3 free services per account: protect up to 3 MCP servers or verified skill copies at no cost.
- On-demand expansion: the optional US$ 1 pass adds +10 protected services for 30 days, with no automatic renewal.
- Ready-to-use agent endpoint: the response returns
https://agentalog.com/g/<id>/mcpand the connection command.
claude mcp add --transport http protected-server https://agentalog.com/g/<LISTING_ID>/mcp --header "X-Agentalog-Key: <AGENTALOG_API_KEY>"2Pin the canonical signature on first use
When your client runs initialize and tools/list for the first time, the guard computes the SHA-256 of each tool's canonical JSON (name, title, description, inputSchema, outputSchema and annotations) and of the server instructions.
That initial reading is automatically approved on your account as the cryptographic baseline.
3Hold changed tools and require per-call approval on sensitive actions
The gateway protects your agent session across two complementary layers:
- Automatic silent-mutation blocking: if the remote server changes any field of a tool or announces a new tool, the guard removes it from
tools/listand blockstools/calluntil reviewed. - Per-call human approval (
gated_tools): mark sensitive tools (or * for all tools) viaPOST /api/protection/services/:id/policywithgated_tools. Everytools/callto those tools is held with the SHA-256 of the canonical { arguments, tool } JSON until you approve that specific single-use execution.
4Review the exact hash before approving
Read GET /api/protection or open Mine to compare the previous definition with the received hash_input and send POST /api/protection/services/:id/approve with expected_hashes.
- Race-condition protection: if the remote server changes again between your read and your request, the API answers 409 protection_changed and refuses to approve a different version.
- Daily seal integration: when a server with daily seals enters review, the gateway also pauses calls until the domain controller confirms.