financedeveloper-tools

Dritan MCP

by amirdauti

Dritan MCP lets personal agents access Solana market data and execute token swaps via the Dritan SDK while keeping local

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.

github stars

0

Local wallet securityReal-time market dataDirect Solana integration

best for

  • / Crypto traders building automated strategies
  • / Developers integrating Solana functionality
  • / Portfolio management automation

capabilities

  • / Execute Solana token swaps
  • / Track real-time token prices
  • / Manage Solana wallets locally
  • / Sign and broadcast transactions
  • / Query Solana market data
  • / Monitor portfolio balances

what it does

Provides Solana blockchain access for token trading and wallet management through a local SDK. Keeps your private keys secure while enabling automated trading operations.

about

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

MIT

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.

readme

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-keygen available in PATH
  • 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_prereqs
  • auth_status
  • auth_set_api_key
  • auth_clear_api_key
  • wallet_create_local
  • wallet_get_address
  • wallet_get_balance
  • wallet_transfer_sol
  • x402_get_pricing
  • x402_create_api_key_quote
  • x402_create_api_key
  • dritan_health
  • market_get_snapshot
  • token_search
  • token_get_price
  • token_get_metadata
  • token_get_risk
  • token_get_first_buyers
  • token_get_aggregated
  • token_get_deployer_stats
  • token_get_ohlcv
  • token_get_ohlcv_chart
  • wallet_get_performance
  • wallet_get_performance_chart
  • wallet_get_token_performance
  • wallet_get_portfolio_chart
  • wallet_get_portfolio_chart_visual
  • wallet_get_summary
  • wallet_get_trade_history
  • wallet_get_holdings
  • wallet_get_holdings_chart
  • wallet_get_holdings_page
  • market_stream_sample
  • wallet_stream_sample
  • ths_health
  • ths_get_score
  • ths_get_score_tokens_get
  • ths_get_score_tokens_post
  • ths_get_top_wallets
  • swap_build
  • swap_sign_and_broadcast
  • swap_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_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.
  • Agent onboarding without an active API key should use x402-first flow (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).
  • Free key at 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.
  • Default auth store path is .dritan-mcp/auth.json under current working directory; override with DRITAN_MCP_AUTH_FILE.
  • Use 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 visual chart workflow:
  • 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.
  • For all chart tools, agents should send the returned 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.
  • Ticker workflow for chart requests: token_search -> extract mint -> token_get_ohlcv or token_get_ohlcv_chart.
  • If users ask for $WIF style symbols, always resolve mint with token_search first.
  • If Solana CLI is missing, run system_check_prereqs and follow returned install steps.

FAQ

What is the Dritan MCP MCP server?
Dritan MCP is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Dritan MCP?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    Dritan MCP is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated Dritan MCP against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: Dritan MCP is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    Dritan MCP reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend Dritan MCP for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: Dritan MCP surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    Dritan MCP has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, Dritan MCP benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired Dritan MCP into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    Dritan MCP is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.