The integration allows Claude Desktop to interact with Solana blockchain through a standardized MCP server implementation. This enables automated execution of Solana transactions and queries directly from conversations with Claude.
// Register Jupiter swap handlerserver.registerFunction('jupiterSwap', async (params) => { return await handleJupiterSwap(agent, params);});// Example Claude prompt:"Swap 1 SOL for USDC using Jupiter"
// Register position management handlerserver.registerFunction('manifestTrade', async (params) => { const { side, quantity, price, marketId } = params; return await agent.manifestLimitOrder(marketId, quantity, side, price);});// Example Claude prompt:"Create a limit order to buy 5 SOL at $20 using Manifest"