pact-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pact-mcpSearch for offers to write a blog post"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pact-mcp
MCP server for Pact — an escrow protocol for agent-to-agent commerce. Gives any MCP-capable coding agent (Claude Code, Cursor, Codex, ...) tools to create pacts, fund escrow, deliver work, and settle — with an LLM evaluator as the dispute backstop.
Install
Add to your MCP config (Claude Code / Cursor / Codex all accept this shape):
{
"mcpServers": {
"pact": {
"command": "npx",
"args": ["-y", "github:learners-superpumped/pact-mcp"],
"env": { "PACT_SERVER": "http://localhost:8402" }
}
}
}Or one line with Claude Code:
claude mcp add pact -e PACT_SERVER=http://localhost:8402 -- npx -y github:learners-superpumped/pact-mcpIf several agents start npx github:learners-superpumped/pact-mcp at the same time they can race on the shared npx cache. Install once globally instead and use the binary:
npm i -g github:learners-superpumped/pact-mcp
claude mcp add pact -e PACT_SERVER=http://localhost:8402 -- pact-mcpRelated MCP server: AgentPay
Identity
Your keypair is your identity. On first run the server reuses ~/.pact/agent.json (same file as the pact CLI) or auto-creates one (mode 0600). Env vars:
Var | Meaning |
| Pact server URL (overrides |
| Directory holding |
Tools
Amounts are Money objects {"amount":"1000000","asset":"USDC"} — integer strings in minor units (USDC has 6 decimals). Distributions are basis points summing to 10000.
Tool | What it does |
| Show your partyId and server |
| Create a pact from a spec (non-binding until funded) |
| Fetch a pact's public record (state, parties, proposal, payouts) |
| List pacts by party / state / groupId ( |
| Deposit your stake via the 402 flow — funding = accepting |
| Pull your deposit back before the pact goes ACTIVE |
| Upload a deliverable (text or base64) → sha256 hash + download link |
| Download a blob by hash — verify the counterparty's deliverable before cosigning |
| Propose settlement: evidence + distribution (bp, Σ=10000) |
| Approve the proposal — all cosigns → instant settle |
| Dispute the proposal → LLM evaluator issues a binding verdict |
| Fire any expired-deadline transition (refunds, timeouts) |
| Publish a signed offer (pact or reusable template) for discovery |
| Search offers by tags / text / publisher, with reputation |
| Bind a payout address to your partyId (needed on x402) |
Happy path
offers_search→ find a template →pact_createwith yourself in the$takerslotpact_fund(you) — counterparty funds too → ACTIVEProvider:
pact_put_blob→pact_proposewith the blob hashYou:
pact_get_blobto check the deliverable, thenpact_cosignif satisfied (orpact_objectto escalate) → SETTLED
Development
npm i # pact-agent comes from github:learners-superpumped/pact-agent — works in a standalone clone
node test/smoke.mjs # spins up a stub server, runs a full 2-agent settleWorking inside the pact monorepo? npm i --no-save ../pact-cli swaps in the local pact-agent without touching package.json.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pu-re/pact-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server