Security & Testing
quartermasterhq.ai
Manages agent identities, principal key rotation, spending mandates, and revocation for secure agent authentication and access control.
ENDPOINT 1
https://api.quartermasterhq.ai/mcp
MCP server metadata
- Name
- quartermaster
- Version
- 0.3.0
This store sells travel digital goods (eSIM data plans) to AI agents only. Purchases are paid from your principal's prepaid wallet (USD). Flow: register_agent once (keep the returned agent_key; the first agent of a new principal also gets principal_key, which the principal must keep: registering more agents for that principal requires it) -> get_wallet -> if the balance is short, get_topup_link and give the URL to your principal, who pays in ILS on the acquirer's hosted page -> poll get_wallet -> search_plans -> get_quote -> purchase (with a fresh idempotency_key) -> order_status -> troubleshoot (order_id, device, symptom) if the eSIM does not install or work, relaying its steps to the traveler -> request_refund if needed (refunds credit the wallet). Prices are final, in minor units, taxes included. Every decision returns {allowed, reason_code, human_readable}. Errors are JSON with error.code; WALLET_INSUFFICIENT_FUNDS carries a top-up link in error.decision.effects.topup_url; SUPPLIER_FAILURE with retryable=true is the only case that calls for a new quote and a new idempotency_key. A purchase can also return order.status "processing" with supplier_outcome "unknown": the supplier did not confirm, the price is held (not debited), and the order may still be delivered. Poll order_status, which settles it; never buy again with a new idempotency_key for the same need while it is processing. If a purchase call times out or its connection drops, call purchase again with the same quote_id and idempotency_key: ORDER_IN_PROGRESS (retryable, retry_after_seconds, order_id) means the original call is still running; wait and repeat, or poll order_status. QUOTE_PRICE_CHANGED (retryable, nothing held or charged): the price went up since the quote; get a new quote and purchase that. A dispute about a delivered eSIM is credited automatically only when the supplier confirms it cancelled the eSIM; otherwise, and for partial refunds, it is escalated (outcome "escalate", reason DISPUTE_SUPPLIER_CANCEL_UNCONFIRMED) and a human decides. request_refund refuses orders the supplier has not confirmed yet (ORDER_AWAITING_SUPPLIER: poll order_status). ORDER_CHANGED is retryable. After a full refund, order_status no longer returns the activation code. Agent management takes the principal_key (argument or X-Principal-Key header) on top of your agent credentials: list_agents shows the principal's agents; revoke_agent revokes one for good (AGENT_REVOKED) and frees its slot; renew_mandate re-signs an existing agent's mandate (on MANDATE_EXPIRED, or to change limits) instead of registering a new agent. Only active agents (not revoked, mandate unexpired) count toward max_agents_per_principal. rotate_principal_key revokes every agent registered under the previous key except you and keep_agent_ids.
Known tools 18
register_agentCreate an agent identity bound to a principal, with a spending mandate (limits in minor units).
Potential side effectslist_agentsEvery agent registered for your principal: agent_id, created_at, principal_key_version, status (active, expired or revoked), mandate_expiry and limits, plus active_agents against max_agents_per_principal.
Inferred read-onlyrevoke_agentRevoke an agent of your principal for good: it can no longer authenticate (AGENT_REVOKED) and no longer holds a slot under max_agents_per_principal.
Inferred read-onlyrenew_mandateRe-sign the mandate of an existing agent of your principal (you, unless target_agent_id names another) with new limits and expiry, under the same registration policy caps as register_agent.
Inferred read-onlyget_policiesReturns every policy as machine-readable JSON (mandate, refund, dispute, supplier trust, registration), the store terms and the product/agent JSON Schemas, so you can reason about terms before buying.
Potential side effectsget_quoteLock the final price for one product for a short time (quote_ttl_seconds in store terms).
Inferred read-onlyget_walletBalance, available funds (balance minus pending holds), open (unpaid) top-up links, top-ups awaiting confirmation, recent top-ups and recent ledger entries of the wallet of the principal you act for.
Inferred read-onlyorder_statusCurrent order state, eSIM delivery payload, activation and data usage from the supplier, receipts, and the latest disputes (disputes_total counts all).
Inferred read-onlyregenerate_activationFor a delivered order of your principal (bought by any of its agents) whose activation code (QR / LPA) does not install: asks the supplier for a fresh code and returns the new delivery payload.
Inferred read-onlytroubleshootOrdered steps to relay to the traveler when an order's eSIM does not install (cant_install_qr) or does not work (no_data, no_signal, slow), worded for the phone (device.
Inferred read-onlyrequest_refundReasons "unused" and "changed_plans" are voluntary refunds under the refund policy.
Potential side effectsverify_receiptCheck a receipt's signature and that it matches its hash-chained ledger entry.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.quartermaster]
url = "https://api.quartermasterhq.ai/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"quartermaster": {
"type": "http",
"url": "https://api.quartermasterhq.ai/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: quartermaster
Remote MCP URL: https://api.quartermasterhq.ai/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"quartermaster": {
"url": "https://api.quartermasterhq.ai/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"quartermaster": {
"type": "http",
"url": "https://api.quartermasterhq.ai/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "quartermaster",
"transport": "streamable-http",
"url": "https://api.quartermasterhq.ai/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.