mcpField
P

paysafe

Local
@paysafe-agent.comSecurity

About paysafe

Payment firewall for x402: scans for replay, overpayment, PII/secret leaks, prompt-injection

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-paysafe-agent-paysafe": {
"command": "npx",
"args": [
"-y",
"paysafe-x402"
]
}
}
}
Run commandnpx -y paysafe-x402

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmpaysafe-x4021.1.1

Tools

12

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
policyobjectNo
policy.skip_deepbooleanNo
policy.force_deepbooleanNoRun deep content analysis even below the micropayment threshold
contextobjectNo
context.offerstringNoThe raw 402 offer / discovery payload the payment terms came from (accepts entry, Bazaar listing JSON). pay_to is expected here and exempt from the address-provenance check; the offer is still scanned for embedded injection instructions.
context.phaseenumNoSet 'pre_sign' when scanning BEFORE the payment is signed (the normal scan-before-pay flow): the EIP-3009 nonce doesn't exist yet, so its absence won't be flagged. Omit or use 'post_sign' when scanning a signed payload.pre_sign | post_sign
context.originenumNoWhere the decision to pay originatedplanning | user_instruction | tool_result | fetched_content | unknown
context.contentstringNoPROSE the agent just read (page text, tool output), for injection analysis. Do NOT put the 402 offer / discovery JSON here — that goes in `offer` (the recipient address is expected there).
context.content_source_urlstringNo
paymentobjectYes
payment.assetstringNo
payment.noncestringNo
payment.payerstringNo
payment.amountstringNoAtomic units, e.g. '10000' = $0.01 USDC
payment.pay_tostringNo
payment.reasonstringNo
payment.schemestringNo
payment.networkstringNoCAIP-2, e.g. eip155:8453
payment.metadataobjectNo
payment.amount_usdnumberNo
payment.descriptionstringNo
payment.resource_urlstringNo
payment.asset_decimalsnumberNo
agent_idstringNo
expected_price_usdnumberNo

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

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.