Skip to main content
Glama
agent-verifier-mcp

agent-verifier-mcp

by goodmeta

Agent Verifier MCP

Лимиты расходов для ИИ-агентов. Одно изменение конфигурации.

{
  "mcpServers": {
    "budget": {
      "command": "npx",
      "args": ["@goodmeta/agent-verifier-mcp"],
      "env": { "VERIFIER_API_KEY": "gm_..." }
    }
  }
}

Затем спросите своего агента:

"Search Exa for agent payments research. Budget: $1."

Агент вызывает create_budget, check_budget перед каждым платежом и settle после него. Если бюджет исчерпан, следующий платеж будет отклонен.

Инструменты

Инструмент

Что он делает

create_budget

Установить лимит расходов ($10, 24 часа)

check_budget

Проверить, разрешена ли покупка (создает удержание средств)

settle

Подтвердить удержание после оплаты или отменить, если платеж не прошел

get_budget

Запросить оставшийся бюджет и историю

Related MCP server: Rein

Как это работает

Agent wants to buy something ($0.50)
  │
  ├── check_budget(budget_id, 50, "vendor")
  │     → "Approved. Hold ID: hold_abc. Remaining: $9.50"
  │
  ├── [agent makes the payment via x402/card/MPP/any rail]
  │
  └── settle(hold_id, success=true)
        → "Hold confirmed."

Контроль бюджета не зависит от платежного канала. Работает с x402, кредитными картами, MPP, банковскими переводами — верификатор отслеживает бюджет, а способ оплаты не имеет значения.

Настройка

Получите бесплатный API-ключ:

curl -X POST https://verifier.goodmeta.co/setup/merchants \
  -H "Content-Type: application/json" \
  -d '{"names":["My Agent"]}'

Добавьте ключ в свою конфигурацию MCP. Готово.

Совместимость

  • Claude Code

  • Любой MCP-совместимый клиент (Cursor, Windsurf, Codex, OpenClaw)

  • npm-пакет agent-verifier для программного использования

  • demo-agent для полноценного рабочего примера с реальными платежами x402

Зачем это нужно

Пять протоколов позволяют ИИ-агентам тратить деньги (AP2, ACP, x402, MPP, UCP). Ни один из них не отслеживает общие расходы агента по разным сервисам. Агент, вызывающий Exa + Firecrawl + Nansen, может превысить бюджет, так как каждый сервис одобряет платежи независимо. Этот MCP-сервер — недостающий уровень контроля бюджета.

Available Tools

7 tools
check_budgetA

Check if a purchase is within budget. Call BEFORE making a payment. Returns a hold_id to settle after.

Inputs: vendor (required), budget_id (required), amount_cents (required).

create_budgetB

Create a spending budget for this agent. Set a limit before making purchases.

Inputs: amount_dollars (required), currency, valid_hours.

get_budgetC

Check remaining budget and spending history.

Inputs: budget_id (required).

query_reservationA

Look up the state of a single reservation/hold by its ID (held, settled, released, refunded, etc.).

Inputs: hold_id (required).

refundA

Refund a settled (already-committed) payment, fully or partially. Reverses the spend and restores budget. For pre-commit cancellations use release instead.

Inputs: hold_id (required), amount_cents (required), idempotency_key.

releaseA

Release a pre-commit hold, returning the unspent reservation to the budget. Use when a planned payment is cancelled BEFORE it settles. For already-settled payments use refund instead.

Inputs: hold_id (required).

settleA

Confirm or cancel a payment hold. Call AFTER payment succeeds (success=true) or fails (success=false).

Inputs: hold_id (required), success (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools have distinct purposes, but 'release' and 'refund' could be confused without careful reading of descriptions. However, the descriptions clearly differentiate pre-commit vs. settled.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, e.g., check_budget, create_budget, query_reservation.

    Tool Count5/5

    7 tools cover the essential budget and payment lifecycle without being bloated. Each tool serves a clear role.

    Completeness4/5

    The tool set covers create, check, hold, settle, release, refund, and query operations. Missing update or delete budget, but those are less critical for the core workflow.

    Maintenance

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Budget & cost control for AI agents: hard per-agent spend caps, rate limits, idempotency, and human-in-the-loop approval — enforced before each LLM call, not after the invoice. One hosted MCP endpoint (no proxy or self-hosting), settled via x402 (USDC on Base).
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents and their operators to track spending across x402/MPP/API-key rails, set budget caps that warn at 80% and reject over-cap entries, auto-price token usage, and pull spend reports and anomaly alerts — plus request and decide approvals and manage credentials. Also attaches an enforcing proxy so an over-budget provider call is refused before it is ever sent.
      18
      MIT