Agents & payments
MCP server
ArcenAgent ships an MCP server so any MCP client - Claude Desktop, Cursor, agent frameworks - can call ArcenAgent models as tools: list_models, chat, embed, and estimate_cost.
Auth modes
Two auth modes, auto-detected from env. Keyed: set ARCEN_API_KEY to use your prepaid balance. x402: set SOLANA_PRIVATE_KEY (base58) instead and the agent pays per call from that wallet - no account at all (chat only). Use a dedicated, low-balance wallet for this.
mcp config (keyed)
{
"mcpServers": {
"arcen": {
"command": "npx",
"args": ["-y", "@arcen/mcp"],
"env": { "ARCEN_API_KEY": "ar_sk_live_…" }
}
}
}mcp config (x402 pay-per-call)
{
"mcpServers": {
"arcen": {
"command": "npx",
"args": ["-y", "@arcen/mcp"],
"env": {
"SOLANA_PRIVATE_KEY": "base58 secret key (burner wallet)",
"SOLANA_NETWORK": "mainnet"
}
}
}
}Install
The package is on npm as @arcen/mcp - npx fetches it automatically, so the configs above work as-is. Restart your MCP client after adding one.
