Gloam
v1.8.0Private stablecoin payments for people and AI agents on mainnet, hosted or local with limits.
Values you need
| Variable | What it is | |
|---|---|---|
GLOAM_NETWORK | optional | Default network for tools: tempo-mainnet, robinhood-mainnet, base-mainnet, ethereum-mainnet, elysium-mainnet or bnb-mainnet (mainnet; Solana has its own gloam_solana_* tools, and Starknet its gloam_starknet_* tools, not open on Gloam yet); tempo, robinhood, base or ethereum (testnet; elysium for Ely |
GLOAM_AGENT_PRIVATE_KEY | optional secret | The agent's key. With GLOAM_TEMPO_ACCOUNT it is a Tempo access key bound by the owner's onchain limits. Optional: without it the tools only read and plan. |
GLOAM_AGENT_SOLANA_KEY | optional secret | The agent's Solana keypair (a keypair file's JSON array, or base58) for the gloam_solana_* tools. It opens the same private account the Gloam app opens for that wallet. Optional: without it the Solana tools only read. |
GLOAM_STARKNET_ACCOUNT_INDEX | optional | Which private Starknet account GLOAM_AGENT_PRIVATE_KEY opens for the gloam_starknet_* tools (default 0): the same account the Gloam app opens for that wallet. Starknet is not open on Gloam yet. |
GLOAM_TEMPO_ACCOUNT | optional | The owner's Tempo account that authorized the agent key in the AccountKeychain. |
GLOAM_NOTE_KEY | optional secret | 32 random bytes in hex that encrypt the server's note store. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add gloam -- npx -y --package=@gloamtrade/mcp@0.12.1 gloam-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"gloam": {
"args": [
"-y",
"--package=@gloamtrade/mcp@0.12.1",
"gloam-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gloam": {
"args": [
"-y",
"--package=@gloamtrade/mcp@0.12.1",
"gloam-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"gloam": {
"args": [
"-y",
"--package=@gloamtrade/mcp@0.12.1",
"gloam-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gloam]
command = "npx"
args = ["-y", "--package=@gloamtrade/mcp@0.12.1", "gloam-mcp"]Remote (hosted)
Run in a terminal
claude mcp add --transport http gloam https://www.gloam.trade/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"gloam": {
"args": [
"-y",
"mcp-remote",
"https://www.gloam.trade/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gloam": {
"url": "https://www.gloam.trade/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"gloam": {
"type": "http",
"url": "https://www.gloam.trade/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gloam]
command = "npx"
args = ["-y", "mcp-remote", "https://www.gloam.trade/mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: gloam_info, gloam_privacy_status, gloam_swap_quote, gloam_execute_private_swap, gloam_finish_swap, gloam_solana_info, gloam_solana_balance, gloam_solana_register, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json