DingDawg Agent Spend Policy MCP
OfficialThis server provides a single local tool, evaluate_spend_policy, to deterministically check whether a proposed agent spend action is permitted under a caller-supplied policy. It returns one of three eligibility verdicts: ELIGIBLE, DENY, or STEP_UP with stable reason codes. The policy checks include matching expected principal, agent, authority, asset, payload hash, and idempotency key; verifying the rail and recipient are in allowed lists; enforcing per-action and daily limits using caller-supplied already-spent amount; optional step-up threshold and purpose requirement; and action expiration. All monetary values are integer micro-unit strings. The tool is read-only, idempotent, makes no network requests, has no side effects, and does not authorize, sign, send, settle, or execute any payment — it only provides a local policy evidence verdict.
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., "@DingDawg Agent Spend Policy MCPCan I spend $50 on cloud compute? Check against our policy."
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.
DingDawg Agent Spend Policy MCP
A small, local MCP server that deterministically evaluates whether a proposed agent spend action matches a supplied policy.
It returns one of ELIGIBLE, DENY, or STEP_UP, with a stable reason code.
ELIGIBLE is local policy evidence only. It is not payment authorization.
Safety boundary
This package does not hold funds, private keys, payment credentials, customer data, or settlement authority. It does not sign, send, settle, custody, or record payments. It makes no network requests.
A production payment adapter needs separate, independently verified controls for authenticated policy/action provenance, canonical payload hashing, durable atomic budget reservation and replay protection, customer-controlled signing, rail validation, and settlement reconciliation.
Related MCP server: A2A Identity Toll MCP
Install
npx -y @dingdawg/agent-spend-policy-mcpConfigure it as a local stdio MCP server:
{
"mcpServers": {
"dingdawg-agent-spend-policy": {
"command": "npx",
"args": ["-y", "@dingdawg/agent-spend-policy-mcp"]
}
}
}Tool
evaluate_spend_policy accepts an evaluation time, a policy, a proposed action,
and the already-spent amount. All money is passed as integer micro-unit strings,
never JavaScript floating-point numbers.
The caller supplies the clock and already-spent value; therefore this tool is safe for dry runs and local evidence, not a replacement for a trusted payment or accounting system.
Agent contract
The versioned machine-readable contract is
capabilities.json. It describes the only tool this
package exposes, its required inputs, its three possible outcomes, and its
non-negotiable safety boundary.
Transport: local stdio MCP
Tool:
evaluate_spend_policyRequired inputs:
evaluationTime,policy,action, andalreadySpentMicrosOutputs:
ELIGIBLE,DENY, orSTEP_UP, each with a stable reason codeSide effects: none
Credentials, payment execution, custody, signing, settlement, and network access: not supported
The manifest is package-source evidence for this release, not a promise of a
hosted agent-discovery endpoint. ELIGIBLE remains local policy evidence only,
not payment authorization.
Development
npm install
npm test
npm run pack:checkMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
Alicense-qualityCmaintenanceEnforces deterministic policies on AI agent tool calls, evaluating actions against compliance modules (SOC 2, HIPAA, GDPR, etc.) and returning ALLOW, BLOCK, or CONSTRAIN decisions with an audit trail.Last updatedMIT- Alicense-qualityBmaintenancePaid remote MCP gate for caller identity, agent scope, task intent, data class, policy verdicts, and audit receipts.Last updatedMIT
- Flicense-qualityCmaintenanceProvides MCP tools to enforce spend policies (allow, deny, step-up, allowlist) on agent wallets with an immutable audit trail.Last updated
- Alicense-qualityBmaintenanceEnables verification of AI agent identity, authority, and integrity at transaction time, returning signed verdicts for allow, step-up, review, or block.Last updatedMIT
Related MCP Connectors
Log, evaluate, and ground AI decisions against authority context. Returns PASS, WARN, or BLOCK.
Policy review and purchase discovery for AI-agent commerce actions.
Git-native policy layer for AI agents: check_action verdicts against rules approved via PR.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/dingdawg/dingdawg-agent-spend-policy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server