magicblock_swap
InactiveTool of SAP MCP Server
Build an unsigned swap transaction from a quote. 'public' mode passes through Jupiter. 'private' mode routes output through scheduled private transfer with delay and split, requires destination, and currently rejects wSOL output because live mainnet testing found stuck-fund risk in MagicBlock shuttle delivery. Agents must continue with sap_preview_transaction, sap_sign_transaction, and sap_submit_signed_transaction; never write temporary signing scripts or read keypair JSON. Value-action fee applies.
Parameters schema
{
"type": "object",
"required": [
"userPublicKey",
"quoteResponse"
],
"properties": {
"split": {
"type": "number",
"description": "Private only. Number of queue entries to split across (1-14)"
},
"validator": {
"type": "string",
"description": "Optional validator pubkey for the transfer-queue PDA"
},
"maxDelayMs": {
"type": "string",
"description": "Private only. Latest (ms) the queued transfer may settle (<= 600000)"
},
"minDelayMs": {
"type": "string",
"description": "Private only. Earliest (ms) the queued transfer may settle"
},
"visibility": {
"enum": [
"public",
"private"
],
"type": "string",
"description": "'public' = transparent Jupiter pass-through, 'private' = output routed through scheduled private transfer"
},
"clientRefId": {
"type": "string",
"description": "Private only. Optional u64 client correlation ID"
},
"destination": {
"type": "string",
"description": "Final private-transfer recipient (required when visibility='private')"
},
"quoteResponse": {
"type": "object",
"properties": {},
"description": "Quote response object from magicblock_swapQuote (pass as-is)"
},
"userPublicKey": {
"type": "string",
"description": "Wallet that will sign the swap transaction"
},
"wrapAndUnwrapSol": {
"type": "boolean",
"description": "Auto wrap/unwrap native SOL when needed (default true)"
},
"asLegacyTransaction": {
"type": "boolean",
"description": "Build a legacy transaction (not allowed when visibility=private, default false)"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
SAP MCP Server
https://github.com/OOBE-PROTOCOL/sap-mcp
2/7 registries