How to use the block
- Pick your client and type your MCP server address and the name of the variable where you will keep the key.
- Copy the block and save it in the file the tool shows (if the file already exists, add only the server entry).
- Set the environment variable to your key, in the same environment you open the client from, and restart the client.
- 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 | File root | How the key is read |
|---|---|---|
| Claude Code | mcpServers, with type: "http" | ${VARIABLE} in the header |
| Cursor | mcpServers | ${env:VARIABLE} in the header |
| VS Code | servers (not mcpServers) | Asks once (inputs) and stores it encrypted |
| Windsurf | mcpServers, with serverUrl | ${env:VARIABLE} in the header |
| Codex | [mcp_servers.name] in TOML | bearer_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.