loading…
Search for a command to run...
loading…
Enables personal agents to access Solana market data and execute token swaps via the Dritan SDK while maintaining local wallet security. It provides tools for w
Enables personal agents to access Solana market data and execute token swaps via the Dritan SDK while maintaining local wallet security. It provides tools for wallet management, real-time token price tracking, and secure transaction signing and broadcasting.
MCP server for personal agents to use dritan-sdk for market data and swap execution, with local Solana wallet signing.
solana-keygen available in PATHDRITAN_API_KEY) for market/swap tools.npm install
cp .env.example .env
npx @dritan/mcp@latest
Codex example:
codex mcp add dritan npx \"@dritan/mcp@latest\"
npm run dev
# or
npm run build && npm start
system_check_prereqsauth_statusauth_set_api_keyauth_clear_api_keywallet_create_localwallet_get_addresswallet_get_balancewallet_transfer_solx402_get_pricingx402_create_api_key_quotex402_create_api_keydritan_healthmarket_get_snapshottoken_searchtoken_get_pricetoken_get_metadatatoken_get_risktoken_get_first_buyerstoken_get_aggregatedtoken_get_deployer_statstoken_get_ohlcvtoken_get_ohlcv_chartwallet_get_performancewallet_get_performance_chartwallet_get_token_performancewallet_get_portfolio_chartwallet_get_portfolio_chart_visualwallet_get_summarywallet_get_trade_historywallet_get_holdingswallet_get_holdings_chartwallet_get_holdings_pagemarket_stream_samplewallet_stream_sampleths_healthths_get_scoreths_get_score_tokens_getths_get_score_tokens_postths_get_top_walletsswap_buildswap_sign_and_broadcastswap_build_sign_and_broadcastprocess.cwd()).swap_sign_and_broadcast signs locally, then broadcasts via Dritan.auth_set_api_key activates a key for the running MCP process without restart and persists it to a local auth store.auth_set_api_key and successful x402_create_api_key responses include a capability summary so agents can immediately guide users to next actions.wallet_create_local in current directory -> share wallet + backup file path -> user chooses SOL amount and funds agent wallet -> if no key exists use x402_create_api_key_quote -> wallet_transfer_sol -> x402_create_api_key).https://dritan.dev is fallback only if the user declines funding or x402 cannot proceed.x402_create_api_key auto-activates returned keys and persists them locally for restart recovery..dritan-mcp/auth.json under current working directory; override with DRITAN_MCP_AUTH_FILE.auth_clear_api_key to remove in-memory + persisted key state (and optionally clear process env key).token_get_ohlcv_chart returns ready-to-send markdown image output (raw chart URL fields are intentionally omitted to force inline embedding).token_get_ohlcv_chart supports chartType: "line-volume" | "candlestick" (default is candlestick).token_get_ohlcv_chart defaults to maxPoints: 30; set higher maxPoints only when users explicitly ask for more history.wallet_get_holdings_chart for balance allocation (token distribution).wallet_get_portfolio_chart_visual for portfolio equity curve.wallet_get_performance_chart for PnL history/summary/token-level bars depending on available fields.markdown field directly (no plain URL output).ths_get_top_wallets returns a paginated leaderboard of THS-ranked wallets (page, limit) for smart-wallet discovery workflows.token_search -> extract mint -> token_get_ohlcv or token_get_ohlcv_chart.$WIF style symbols, always resolve mint with token_search first.system_check_prereqs and follow returned install steps.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"dritan-mcp": {
"command": "npx",
"args": []
}
}
}