io.github.dingdawg/agent-spend-policy-mcp โ Model Context Protocol (MCP) Server
This local MCP server performs deterministic checks for agent spend-policy decisions. It evaluates a proposed agent spend action against a supplied policy and returns a decision with a stable reason code, without holding funds, keys, payment credentials, or making network requests.
๐ ๏ธ Key Features
- Deterministic, local evaluation of proposed agent spend actions
- Returns one of
ELIGIBLE,DENY, orSTEP_UP - Stable reason code for each result
- No network access, no network requests
- No custody, signing, sending, settling, or recording of payments
๐ Use Cases
- Local governance checks for agent spend eligibility
- Policy enforcement logic for AI-agent spend actions
- Decisioning workflows that require deterministic policy outcomes
โก Developer Benefits
- Stable outputs (
ELIGIBLE/DENY/STEP_UP) with stable reason codes - Policy evidence is local only and does not grant payment authority
โ ๏ธ Limitations
- Not payment authorization:
ELIGIBLEis policy evidence only - Does not include funds, private keys, payment credentials, or settlement authority
- Requires a separate production payment adapter for payment-related capabilities
๐ Topics
- ai-agents, mcp, model-context-protocol, policy-engine, typescript, spend-policy, deterministic, governance