About Postcept
Postcept is an MCP server for agents and teams that need to verify whether high-risk actions actually completed. It checks outcomes against systems of record and returns signed receipts rather than relying on an agent's claim.
Key features
- 01Verify refunds, cancellations, and tickets
- 02Retrieve and recheck past verifications
- 03Read Verified Completion Rate
- 04Run checks against a deterministic test connector
- 05Return signed completion receipts
Use cases
- 01Confirm a refund before reporting it complete
- 02Check a subscription cancellation against its record
- 03Verify a support ticket reached the expected state
- 04Reconcile a previous verification with live records
MCP support
The server exposes Postcept's outcome-verification API as MCP tools. Verification is read-only against systems of record, and the agent may choose whether to call the tools; the integration is advisory.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
6Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| test | boolean | No | Sandbox mode: verify against the deterministic mock connector instead of a live system of record. Sandbox verifications are excluded from your Verified Completion Rate. |
| agent_id | string | Yes | Identifier for the agent that performed the action. |
| currency | string | No | ISO 4217 currency code, e.g. usd. |
| customer | string | Yes | Customer id or email the refund should belong to. |
| charge_id | string | No | The charge the refund applies to, e.g. ch_1P09x. |
| connector | enum | No | Payments system of record to check. Defaults to stripe.stripe | zendesk | gorgias | intercom | shopify | hubspot | front | servicenow | salesforce | netsuite |
| refund_id | string | No | The refund id the agent created, e.g. re_4md82k. |
| amount_cents | integer | Yes | Refund amount in minor units (cents), e.g. 12000 for $120.00. |
| operation_id | string | Yes | Stable id for the agent operation, preserved across retries and handoffs. |
| idempotency_key | string | No | Optional Postcept idempotency key: a repeat with the same key returns the original verification instead of creating a duplicate. |
Details
From the project README@postcept/mcp
A Model Context Protocol server that exposes Postcept, outcome verification for AI agents, as MCP tools.
After an agent performs a high-risk action (a refund, a subscription
cancellation, a support-ticket resolution), it calls a verify_* tool to confirm
the action actually completed in the system of record (Stripe, Zendesk, and more)
and obtain a signed completion receipt. "done" becomes proof, not a claim.
The server is a thin wrapper over the live Postcept HTTP API. It holds no credentials of its own beyond your Postcept API key, and verification is read-only against your systems of record.
Configuration
| Variable | Required | Default | Notes |
|---|---|---|---|
POSTCEPT_API_KEY | yes | none | A Postcept API key (pcpt_sk_...) with verifications:write. |
POSTCEPT_BASE_URL | no | https://api.postcept.com | Point at a self-hosted or staging API. |
Create an API key in the Postcept dashboard under API keys.
Use with Claude Desktop / Claude Code
{
"mcpServers": {
"postcept": {
"command": "npx",
"args": ["-y", "@postcept/mcp"],
"env": { "POSTCEPT_API_KEY": "pcpt_sk_..." }
}
}
}
Tools
| Tool | Purpose |
|---|---|
verify_refund | Verify a claimed refund (exists, amount/currency/customer match, not duplicated). |
verify_cancellation | Verify a subscription was actually cancelled. |
verify_ticket | Verify a support ticket is in the expected state. |
get_verification | Fetch a past verification and its signed receipt by id. |
reconcile_verification | Re-verify a past verification against the live system of record. |
verified_completion_rate | Read the organization's Verified Completion Rate. |
Every verify_* tool accepts test: true to run against the deterministic
sandbox connector (excluded from your Verified Completion Rate), so an agent can
exercise the full flow without a live system of record.
A non-verified result (incomplete, duplicated, mismatched,
policy_failed) means the work is not done. Surface the gap and recover.
Advisory, by design
MCP puts the verification call in the agent's hands, which makes it the right integration for development, demos, and workflows where the agent's judgment is already trusted. It is advisory: an agent can skip the call, pass the wrong identifiers, or ignore the answer.
For consequential actions, enforce the decision outside the agent. The workflow
or orchestrator calls the Postcept API (or the SDK's guard()) itself and
branches on safe_to_claim_complete before anything customer-facing happens.
The agent then receives the allowed outcome instead of deciding it. Both
patterns use the same API and the same receipts, what changes is who owns the
branch.
Development
pnpm --filter @postcept/mcp build # compile to dist/
pnpm --filter @postcept/mcp typecheck
POSTCEPT_API_KEY=pcpt_sk_... node dist/index.js # stdio server
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.