Skip to main content

AI integration

Agents perform better when they can read the same public links a human integrator would read.

Public files​

Official MCP server​

The @mupag/mcp-server@0.1.0 release exposes MuPag tools over stdio and is restricted to the sandbox. Its MCP Registry discovery identity is br.com.mupag/mcp-server.

:::info Available Version 0.1.0 is published on npm and in the official MCP Registry. :::

{
"mcpServers": {
"mupag": {
"command": "npx",
"args": ["-y", "@mupag/mcp-server@0.1.0"],
"env": {
"MUPAG_API_KEY": "sk_test_your_key_here",
"MUPAG_ENV": "test"
}
}
}
}

The server can create charges and checkout sessions, manage subscriptions, request refunds, and read reconciliation data. Every mutation requires an idempotency key, an approval reference, and explicit confirmation. It rejects production, PAN/CVV, mismatched credentials, and error output that might expose secrets or PII.

The immutable npm artifact is the release source. The same version is published in the official MCP Registry, on Smithery, and has been submitted to MCP.so through the public directory request. The 0.1.0 MCPB bundle for local servers is also available from the public distribution repository. No directory should point to latest.

Recommendations​

  • Give the agent the overview and quickstart first.
  • Keep the agent on server-side examples whenever sk_* is involved.
  • Use the changelog before regenerating clients, prompts or automations.

Did this page unblock the next step?

Feedback stays inside the docs flow and should never include customer or card data.

mupag / support

How can we help?

Quick answers, AI and our team.

Frequently asked questions

How do I start integrating?

Follow the quickstart, configure the QA environment and create your first test charge.

Read documentation
My PIX payment is pending. What now?

Confirmation is asynchronous. Check the charge status and webhook events before fulfilling the order.

Read documentation
How do I receive payment notifications?

Register a webhook endpoint, verify its signature and handle duplicate events safely.

Read documentation
How do subscriptions work?

Read the subscriptions guide to configure recurring billing and follow the charge lifecycle.

Read documentation
Where can I find authentication help?

See how to use environment credentials in the documentation. Never share your key in chat.

Read documentation