cloak_balance
Get Cloaked Agent balance with spending limits and remaining amounts. Use this to check how much SOL is available and what the daily/total limits are.
Give an agent a Solana spending account with daily and total ceilings, and let it pay x402-protected endpoints without a payment loop of your own.
LABSCO SUMMARY
That is the whole proposition, and it is a narrow one worth being clear about: this is a spending account with a daily cap and a total cap, an audit trail through cloak_status, and cloak_pay and cloak_x402_fetch as the ways to draw on it. The x402 path is what makes it more than a wallet wrapper — a paywalled endpoint becomes a single call, with the 402 detection, the payment and the retry folded in, which is precisely the sequence people hand-roll and get wrong. A priced test endpoint at 0.001 SOL exists so the loop can be run once before it is trusted with anything larger.
A Solana spending-account server, exposing 4 tools that pay an address or an x402-protected endpoint within limits the account itself carries.
A Cloaked Agent key, supplied as CLOAKED_AGENT_KEY. Every tool also takes agent_key as a call argument.
Add the configuration to your client
USE CASES
Make the request through the account and let the 402, the payment and the retry happen in one call, with the budget checked first.
Pay the destination address from the constrained account, then read the constraints and history the account records for it.
Read the history against the ceilings it was given, and see how much room is left before the next call is refused.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
cloak_balanceGet Cloaked Agent balance with spending limits and remaining amounts. Use this to check how much SOL is available and what the daily/total limits are.
cloak_payPay SOL or tokens to a destination address using the Cloaked Agent spending account. Use this for x402 payments or any transfer within the agent's spending limits.
cloak_statusGet detailed Cloaked Agent status including constraints, spending history, and health indicator. Use this for a comprehensive overview of the agent's spending account.
cloak_x402_fetchFetch x402-protected resources with automatic payment. Makes HTTP request, detects 402 Payment Required, pays using Cloaked Agent, retries with payment proof, returns content. Test server available at https://api.cloakedagent.com/api/x402-test/paid-content (0.001 SOL).
BEFORE YOU INSTALL
4 tools when we connected. cloak_pay moves money and cloak_x402_fetch pays 402-gated endpoints. The cloaked-mcp binary ships inside @cloakedagent/sdk, which is why the block names that package.
CONTEXT COST
Rated by the size of the 4 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
This one is configured rather than run — your client needs the configuration block, not a command.
{
"mcpServers": {
"cloaked": {
"command": "npx",
"args": [
"-y",
"-p",
"@cloakedagent/sdk",
"cloaked-mcp"
],
"env": {
"CLOAKED_AGENT_KEY": "<YOUR_CLOAKED_AGENT_KEY>"
}
}
}
}