Gloam — Claude Code MCP server: what it does, how to install
Gloam — an MCP server for private stablecoin payments within AI agents. It enables agents to execute confidential transactions and generate verifiable proofs of payment without exposing their wallets.
no license ★ 7 updated 2026-11-16
claude mcp add --transport http gloam https://www.gloam.trade/mcpWhat Gloam does
This server provides AI agents with tools for private value transfers using zero-knowledge proofs. It obscures transaction details while allowing the payer to confirm specific data, such as a balance threshold or total payroll amount, to a designated recipient. The system follows Zcash-based cryptography, ensuring that keys remain on the device or agent instance rather than being managed by a third party.
Operation requires setting GLOAM_NETWORK, GLOAM_AGENT_PRIVATE_KEY, and GLOAM_NOTE_KEY. The server runs on five mainnets including Ethereum and Base and enforces spending limits for agents. Integration in environments like Claude Code or Cursor is handled via the @gloamtrade/mcp package using stdio or http transport.
What it helps with
- execute private stablecoin payments
- verify transactions without exposing full history
- set automated spending limits for agents
- generate proofs for payroll totals
Example prompts for the agent
- Instruct your agent: “Pay this invoice via gloam within my defined policy limits”
- Ask the agent: “Generate a proof of payment for the recipient with an expiry set to 24 hours”
How to install Gloam
1Platform CLI: remote server
claude mcp add --transport http gloam https://www.gloam.trade/mcp2Platform CLI
claude mcp add --env GLOAM_NETWORK=<GLOAM_NETWORK> --env GLOAM_AGENT_PRIVATE_KEY=<GLOAM_AGENT_PRIVATE_KEY> --env GLOAM_TEMPO_ACCOUNT=<GLOAM_TEMPO_ACCOUNT> --env GLOAM_NOTE_KEY=<GLOAM_NOTE_KEY> --transport stdio gloam -- npx -y @gloamtrade/mcpReplace <…> with your own values
1Platform CLI: remote server
codex mcp add gloam --url https://www.gloam.trade/mcp2Platform CLI
codex mcp add gloam --env GLOAM_NETWORK=<GLOAM_NETWORK> --env GLOAM_AGENT_PRIVATE_KEY=<GLOAM_AGENT_PRIVATE_KEY> --env GLOAM_TEMPO_ACCOUNT=<GLOAM_TEMPO_ACCOUNT> --env GLOAM_NOTE_KEY=<GLOAM_NOTE_KEY> -- npx -y @gloamtrade/mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"gloam": {
"url": "https://www.gloam.trade/mcp"
}
}
}{
"mcpServers": {
"gloam": {
"command": "npx",
"args": [
"-y",
"@gloamtrade/mcp"
],
"env": {
"GLOAM_NETWORK": "<GLOAM_NETWORK>",
"GLOAM_AGENT_PRIVATE_KEY": "<GLOAM_AGENT_PRIVATE_KEY>",
"GLOAM_TEMPO_ACCOUNT": "<GLOAM_TEMPO_ACCOUNT>",
"GLOAM_NOTE_KEY": "<GLOAM_NOTE_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"gloam": {
"type": "http",
"url": "https://www.gloam.trade/mcp"
}
}
}{
"servers": {
"gloam": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@gloamtrade/mcp"
],
"env": {
"GLOAM_NETWORK": "<GLOAM_NETWORK>",
"GLOAM_AGENT_PRIVATE_KEY": "<GLOAM_AGENT_PRIVATE_KEY>",
"GLOAM_TEMPO_ACCOUNT": "<GLOAM_TEMPO_ACCOUNT>",
"GLOAM_NOTE_KEY": "<GLOAM_NOTE_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http gloam https://www.gloam.trade/mcp2Platform CLI
gemini mcp add -e GLOAM_NETWORK=<GLOAM_NETWORK> -e GLOAM_AGENT_PRIVATE_KEY=<GLOAM_AGENT_PRIVATE_KEY> -e GLOAM_TEMPO_ACCOUNT=<GLOAM_TEMPO_ACCOUNT> -e GLOAM_NOTE_KEY=<GLOAM_NOTE_KEY> gloam npx -y @gloamtrade/mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Gloam
How to install Gloam in Claude Code?
Run `claude mcp add --env GLOAM_NETWORK=<GLOAM_NETWORK> --env GLOAM_AGENT_PRIVATE_KEY=<GLOAM_AGENT_PRIVATE_KEY> --env GLOAM_TEMPO_ACCOUNT=<GLOAM_TEMPO_ACCOUNT> --env GLOAM_NOTE_KEY=<GLOAM_NOTE_KEY> --transport stdio gloam -- npx -y @gloamtrade/mcp`.
What is Gloam?
It is an infrastructure building block that enables confidential blockchain payments and selective disclosure via ZK-proofs.
What is required for Gloam?
The setup requires a GLOAM_NETWORK configuration alongside GLOAM_AGENT_PRIVATE_KEY and GLOAM_NOTE_KEY for secure operations.