Skip to main content
Glama

AllowAgent MCP

AllowAgent is a browser demo for reviewing an AI assistant’s proposed payments. Choose a sample bill or refund to see which account record supports it, which spending rule applies, and what needs your approval. Built independently for the PayPal AI Hackathon.

Sample invoice showing the recipient, proposed amount and usual charge

Try it locally

Use Node.js 22 and npm. The built-in assistant and sample account work without credentials.

git clone https://github.com/poferraz/allowagent-mcp.git
cd allowagent-mcp
npm ci
npm run dev

Open the URL Vite prints. In Personal, select An unexpected extra charge. The sample invoice is $185 and the usual charge is $150. Review payment opens the comparison and available decisions. Selecting an example only previews it. Choosing an action updates the in-memory demo ledger. Business has examples for refunds, disputed deliveries and contractor payments.

Related MCP server: Allowance

My role

I chose to replace the original developer console with a customer dashboard. I wanted someone reviewing a bill to see the recipient, amount, reason and next action together. The technical evidence is still available on demand. I used AI assistance during development and review. One earlier implementation saved connection credentials across reloads. The dashboard now keeps credentials in memory for the current page. Dashboard change

How it works

The assistant proposes an action. TypeScript checks the referenced sample records and the rules in the selected PAYPAL.md policy. A request can be eligible, require review, or be blocked. The execution step rechecks the request and allows a single use. The project runs as a React application with locally defined payment-tool schemas. Sample policies · Decision logic · Product scope

Settings offers an optional PayPal Sandbox credential check and model connections. The Sandbox connection test contacts PayPal. Dashboard payment and refund actions use the sample ledger. An external model receives the prompt and tool definitions from the browser when you request a proposal. The default reasoner runs locally. Connections and privacy

Run npm run verify and npm run build to check a change. Contributing

The code uses the MIT licence. The bundled DM Sans fonts use the SIL Open Font License. PayPal names and marks belong to their respective owners. Code licence · Font licence

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables store owners to reorder from suppliers by voice or chat and settle payments through PayPal, while a deterministic policy engine enforces spending limits, allow-listed suppliers, price-jump and duplicate checks so the LLM can only propose payments, never move money. Funds are authorized rather than charged, then captured only for goods verified on delivery via a 3-way match, with step-up human approval for unusual orders and a full audit ledger of every authorization, capture, void and refund.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to route PayPal money-moving requests through deterministic spending rules, AI injection and intent checks, human approvals, and tamper-evident audit logging.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables an AI agent to create and capture orders, refund captures, and pay suppliers through PayPal while the operator's policy fixes the payee, currency, and credential behind a broker that the agent never sees. Adds spending limits, human-approval thresholds, server-derived idempotency, and a hash-chained audit ledger, so a compromised or injected agent can only pick an operation and bounded values.
      2
      2
      MIT