agentis-pay
Install
Build and install the CLI locally with:
Options:
--bin-dirto change the binary destination (default:~/.local/bin).- Shell completion installation is currently not bundled in this CLI package.
Usage
Discover available commands with:
Example commands:
MCP
Install and run the local MCP server:
The generated JSON can be pasted directly into Claude Desktop config.
For local MCP clients, agentis-pay mcp serve automatically reuses the session already saved by the CLI in ~/.agentis-pay/credentials.json, including refreshable auth state and the persisted installation/device identity.
The local MCP server currently exposes these agent-facing tools:
agentispay_whoamiagentispay_accountagentispay_balanceagentispay_history(supportsid?andlimit?)agentispay_brcode_decodeagentispay_depositagentispay_pix_keysagentispay_limitsagentispay_pay(and aliasagentispay_pix_send)
Host/bootstrap commands such as login, verify, logout, mcp serve, and mcp install remain CLI-only.
Trust-related tools are intentionally omitted from MCP for now.
Most local agents should use the saved-login flow above and avoid embedding JWTs in config files. For advanced cases, MCP still supports explicit env overrides:
AGENTIS_PAY_OUTPUT=json \
AGENTIS_PAY_JWT=<token> \
AGENTIS_PAY_AGENT_NAME=<name> \
AGENTIS_PAY_DEVICE_ID=<device-id> \
agentis-pay
Include a request_id and optional idempotency_key for production-safe retries:
agentispay_pay returns the transfer result: