About mcp
mcp is an MCP server published by git+amirdauti in the Developer Tools category: mCP server for Dritan SDK market data and local Solana wallet swap execution. It has been installed 0 times through Conduid.
Install
npx @dritan/mcpclaude mcp add dritan-mcp -- npx -y @dritan/mcpnpx -y @dritan/mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about mcp
Powered by Claude · Grounded in docs
Security checks
- ·README presentNot checked yet.
- ·License declaredNot checked yet.
- ·Tests presentNot checked yet.
- ·Dependencies pinnedNot checked yet.
- ·No dynamic code executionNot checked yet.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
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-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.
README mirrored from the source repository 4 months ago. The original is authoritative.