Skip to main content
Glama

Meteora DLMM MCP Server

by fciaf420
server-test.js•2.26 kB
// Simplified MCP server structure test require('dotenv').config(); // Load the server module const serverModule = require('./dist/index.js'); console.log('šŸš€ Meteora DLMM MCP Server - Structure Test'); console.log('=' .repeat(50)); // Test configuration const testConfig = { rpcUrl: "https://solana-rpc.publicnode.com", walletPrivateKey: undefined, // No wallet for read-only testing debug: true, maxRetries: 3, rpcTimeout: 30000 }; try { console.log('āœ… 1. Loading server module...'); console.log('āœ… 2. Creating server instance...'); const server = serverModule({ config: testConfig }); console.log('āœ… 3. Server created successfully!'); console.log('šŸ“Š Configuration loaded:', JSON.stringify(testConfig, null, 2)); console.log('\nšŸ› ļø MCP Server Features:'); console.log('- āœ… get_pool_info: Get detailed information about a Meteora DLMM pool'); console.log('- āœ… get_user_positions: Get all user positions for a wallet address'); console.log('- āœ… get_claimable_fees: Get claimable fees for a specific position'); console.log('- āœ… claim_fees: Claim accumulated fees (requires wallet configuration)'); console.log('- āœ… get_popular_pools: Get list of popular Meteora DLMM pools'); console.log('\nšŸŽÆ Server Status: READY'); console.log('\nšŸ’” How to Use:'); console.log('1. āœ… Local server is working'); console.log('2. šŸ”§ For full testing, you need a paid RPC endpoint (Helius, QuickNode, etc.)'); console.log('3. 🌐 Connect to Claude using MCP server configuration'); console.log('\nšŸ“– Example Usage with Claude:'); console.log('- "Get pool info for [pool-address]"'); console.log('- "Show me my Meteora positions for wallet [wallet-address]"'); console.log('- "Check claimable fees for pool [pool] and position [position]"'); console.log('- "Get popular DLMM pools"'); console.log('\nšŸ” Security:'); console.log('- āœ… Read-only mode (no wallet configured)'); console.log('- āœ… Environment variables protected'); console.log('- āœ… Private keys stay secure'); console.log('\nšŸŽ‰ Your Meteora DLMM MCP server is ready to use!'); } catch (error) { console.error('āŒ Error:', error.message); console.error('\nDebug info:', error); }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fciaf420/Meteora-DLMM-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server