Approval holds for MCP tool calls are a Preview and are turned on per workspace. They are off by default; Step 2 turns them on. The approval record, signed when a signing key is configured, is also a Preview and has not yet been observed with a real approval in production.
What you need
- A browser and an email address for app.tracelane.dev.
curlanduuidgen.- A second person with their own sign-in. The person who approves must differ from the person who sent the call, from the person who created the API key, and from the person who published the policy. A workspace on a plan with a single seat cannot add one: Settings → People & access shows your seat limit.
Step 1: Create a workspace
Open app.tracelane.dev/sign-in and sign in. Your first sign-in creates a personal workspace. See Onboarding.Step 2: Turn on action control
Open Settings → Workspace. Under Action control (preview), choose Turn on action control and confirm. Only owners and admins can change it. It applies to this workspace only and usually takes effect within 15 minutes; until then the first call below may not be held.Step 3: Create an API key with the MCP scope
Open Settings → Keys → Agent keys, choose Create API key and give it the MCP scope. A key made before scopes existed does not have it. Copy the key once and keep it asTRACELANE_API_KEY.
Step 4: Add the demo tool server
Open Agents & tools → MCP servers and choose Add server:
The page then shows Gateway endpoint:
/v1/mcp/demo-payments. The demo server lists three tools: release_payment, lookup_customer and export_customers. All three are simulated.
Step 5: Publish the Payments template
Open Rules, choose Start from a template, then Payments, and set:
Leave the rest as it is, then choose Publish policy and confirm. The policy allows a payment up to the limit to an approved beneficiary, holds a larger one for approval of that exact payment, and denies any other beneficiary.
Step 6: Send a payment above the limit
750000 cents is 7,500 dollars, above the 5,000 dollar limit. A protected tool needs anIdempotency-Key header holding a UUID; keep the same one for the retry.
409 instead of the tool result:
Step 7: Approve as a second person
Invite the second person from Settings → People & access. They open Approvals, find the pending request in the Approval queue, and choose Approve. Approving needs a recent sign-in, and a tenant API key cannot approve. Deny is always available. A held call always keeps a minimized preview of its arguments for the approver, so this flow has no blind approve. If the requester, the key’s creator or the policy’s publisher tries to approve, the gateway refuses with403 separation_required. This separation cannot be turned off for a policy-held call.
Step 8: Retry the same call
Run the Step 6 command again with the same$KEY and the same body, before expires_at. An approved request can be used once. The demo server answers with text like:
idempotency_mismatch.
Step 9: Verify offline
Approval decisions on the default path are written to the workspace’s hash-chained ledger. Export a range that covers the test, then check it on your own machine with the open-source verifier. There is no pre-built binary yet, so build it from source:GET /v1/audit/pubkey, never from the export you are checking. Only exit code 0 is a pass. Exit code 3 means the chain is consistent but no public anchor covers it yet, which is expected for a new workspace. Details: Verifier CLI and Audit ledger.
Limits
The demo server is public, simulated and stateless. Protected tools need the Streamable HTTP transport and anIdempotency-Key. The Payments template takes one currency per tool and never converts between currencies. One retry after approval, and only before expires_at. Holds are a Preview.