Tools

How do I set up a payments MCP server in my client?

To connect a payments MCP server you write its address in your client's configuration file and send the key in the Authorization header; a more prudent practice is to read that key from an environment variable instead of writing it in the file. This tool builds the block for each client.

Last updated:

The tool does not ask for your key: the block only names an environment variable. Formats change with each client version; when in doubt, its official documentation wins.
Client

Lowercase letters, numbers and hyphens. It is the name you will see for the server in your client.

It must start with https://. The example is not a real server: use your provider's address.

Only the variable name, in UPPERCASE. Never paste the key here.

Save it in: .mcp.json (at the root of your project)

MCP server configurationExample
{  "mcpServers": {    "pagos": {      "type": "http",      "url": "https://mcp.ejemplo.com/mcp",      "headers": {        "Authorization": "Bearer ${PAGOS_MCP_KEY}"      }    }  }}

The key is not in the block. Set the variable PAGOS_MCP_KEY in your environment to your key before opening the client.

The block is built in your browser. The tool asks for no key and sends nothing you type.

How to use the block

  1. Pick your client and type your MCP server address and the name of the variable where you will keep the key.
  2. Copy the block and save it in the file the tool shows (if the file already exists, add only the server entry).
  3. Set the environment variable to your key, in the same environment you open the client from, and restart the client.
  4. Check that the server shows as connected and ask for a harmless read, such as reading the policy, before requesting a payment.

If you use a different key for each agent, you can retire one without affecting the others. The MCP for payments guide explains why an agent's key must not be able to edit its own limits.

What changes from one client to another

Client
ClientFile rootHow the key is read
Claude CodemcpServers, with type: "http"${VARIABLE} in the header
CursormcpServers${env:VARIABLE} in the header
VS Codeservers (not mcpServers)Asks once (inputs) and stores it encrypted
WindsurfmcpServers, with serverUrl${env:VARIABLE} in the header
Codex[mcp_servers.name] in TOMLbearer_token_env_var with the variable name

Formats read in each client's official documentation on October 26, 2026: Claude Code, Cursor, VS Code, Windsurf and Codex. Claude Code reads some reserved variables as empty in remote server headers (for example ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, AWS_BEARER_TOKEN_BEDROCK, HTTPS_PROXY and NPM_TOKEN); it is not a prefix rule, but this tool rejects names starting with ANTHROPIC_ or AWS_ to be safe.

What this tool does not do

It does not test the connection, save files or know your server: it builds text from what you type. It also does not decide the key's permissions. Those are set on the server, with per-payment and per-period limits; you can work them out with the budget calculator.

Frequently asked questions

Does the tool store or send my key?

No. It does not even ask for it: the block only names an environment variable and everything is built in your browser, without sending what you type.

Why does the example address not work?

Because it is only an example with an invented domain. Replace it with the address your MCP server provider gives you.

What happens if the environment variable does not exist when I open the client?

It depends on the client. Claude Code leaves the text unexpanded and flags it in its server list; in Windsurf the variable becomes empty text and the connection fails with an authentication error.

Does Nouron Pass offer an MCP server?

Nouron Pass is designed to offer an MCP server that enforces limits, allowed destinations and approvals outside the agent. Today it is in early access and runs in the Sandbox; it does not process real payments yet. Reserve your spot and we will write to you when your access opens.

Try these limits in the Sandbox

Nouron Pass is designed to enforce limits outside the agent. Today it runs in the Sandbox. Reserve your spot and we will write to you when your access opens.