
Dritan MCP
Provides Solana blockchain access for token trading and wallet management through a local SDK. Keeps your private keys secure while enabling automated trading operations.
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.
What it does
- Execute Solana token swaps
- Track real-time token prices
- Manage Solana wallets locally
- Sign and broadcast transactions
- Query Solana market data
- Monitor portfolio balances
Best for
About Dritan MCP
Dritan MCP is a community-built MCP server published by amirdauti that provides AI assistants with tools and capabilities via the Model Context Protocol. Dritan MCP lets personal agents access Solana market data and execute token swaps via the Dritan SDK while keeping local It is categorized under finance, developer tools.
How to install
You can install Dritan MCP in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
License
Dritan MCP is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
dritan-mcp
MCP server for personal agents to use dritan-sdk for market data and swap execution, with local Solana wallet signing.
Requirements
- Node.js 20+
solana-keygenavailable inPATH- Optional: Dritan API key (
DRITAN_API_KEY) for market/swap tools. - For paid onboarding without an existing key, use x402 tools.
Setup
npm install
cp .env.example .env
Install As MCP (npx)
npx @dritan/mcp@latest
Codex example:
codex mcp add dritan npx \"@dritan/mcp@latest\"
Run
npm run dev
# or
npm run build && npm start
Tools
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_broadcast
Notes
- Wallets default to the current working directory (
process.cwd()). - Private keys never leave local files; only public address/signature are returned.
swap_sign_and_broadcastsigns locally, then broadcasts via Dritan.auth_set_api_keyactivates a key for the running MCP process without restart and persists it to a local auth store.auth_set_api_keyand successfulx402_create_api_keyresponses include a capability summary so agents can immediately guide users to next actions.- Agent onboarding without an active API key should use x402-first flow (
wallet_create_localin current directory -> share wallet + backup file path -> user chooses SOL amount and funds agent wallet -> if no key exists usex402_create_api_key_quote->wallet_transfer_sol->x402_create_api_key). - Free key at
https://dritan.devis fallback only if the user declines funding or x402 cannot proceed. x402_create_api_keyauto-activates returned keys and persists them locally for restart recovery.- Default auth store path is
.dritan-mcp/auth.jsonunder current working directory; override withDRITAN_MCP_AUTH_FILE. - Use
auth_clear_api_keyto remove in-memory + persisted key state (and optionally clear process env key). token_get_ohlcv_chartreturns ready-to-send markdown image output (raw chart URL fields are intentionally omitted to force inline embedding).token_get_ohlcv_chartsupportschartType: "line-volume" | "candlestick"(default iscandlestick).token_get_ohlcv_chartdefaults tomaxPoints: 30; set highermaxPointsonly when users explicitly ask for more history.- Wallet visual chart workflow:
wallet_get_holdings_chartfor balance allocation (token distribution).wallet_get_portfolio_chart_visualfor portfolio equity curve.wallet_get_performance_chartfor PnL history/summary/token-level bars depending on available fields.- For all chart tools, agents should send the returned
markdownfield directly (no plain URL output). ths_get_top_walletsreturns a paginated leaderboard of THS-ranked wallets (page,limit) for smart-wallet discovery workflows.- Ticker workflow for chart requests:
token_search-> extract mint ->token_get_ohlcvortoken_get_ohlcv_chart. - If users ask for
$WIFstyle symbols, always resolve mint withtoken_searchfirst. - If Solana CLI is missing, run
system_check_prereqsand follow returned install steps.
Alternatives
Related Skills
Browse all skillsProduction-ready financial analyst skill with ratio analysis, DCF valuation, budget variance analysis, and rolling forecast construction. 4 Python tools (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.
UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.
Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".
Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.
Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.
Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.