Degenly MCP Server
OfficialProvides tools for looking up Solana tokens and trading them on Degenly, including token facts, search, trending tokens, price quotes, holdings, trade history, and demo buy/sell workflows (live trading tools are present but live trading is not yet available).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Degenly MCP Server What's the current price of BONK on Solana?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@degenly/agent
Degenly for AI agents: one package with an MCP server, a CLI and a SKILL.md.
Your AI app (Claude Code, Gemini CLI, Cursor, Claude Desktop) uses it to look up Solana tokens and trade them on Degenly.
Demo mode needs nothing; live mode uses a separate agent wallet whose key is created and kept on your computer.
Live trading is not available yet. Degenly's Bot API (/v1/*) is switched off today and answers 404, so the live
tools and commands below cannot trade yet. Demo mode works now. Do not fund the agent wallet until live trading is available.
Demo mode (works now)
10 demo SOL, live Degenly prices, no wallet, no key, no account, no browser step.
The demo record lives only on your computer in ~/.degenly/demo.json; nothing about it is sent to Degenly.
One command, no wallet: npx -y @degenly/agent@0.1.0 demo status --json
Related MCP server: solagent-mcp
Live mode setup (3 steps)
npx -y @degenly/agent@0.1.0 setup --owner <main wallet address>: creates the agent wallet on this computer (~/.degenly/agent-wallet.json) and prints its address and a pairing code (valid 10 minutes, once).On degenly.app open
/bot, sign in with your main wallet, choose "Pair agent" and paste the pairing code. The site shows an API key once. Fund the agent wallet with SOL only after live trading is available, and only with what you can afford to lose.npx -y @degenly/agent@0.1.0 login --key-file <path>: stores the API key in~/.degenly/credentials.json(or pipe the key on stdin tologin; the key is never taken as a command argument).
Check it: npx -y @degenly/agent@0.1.0 whoami. A new pairing code for the same wallet:
npx -y @degenly/agent@0.1.0 pair --owner <main wallet address> (setup never overwrites an existing wallet).
Add Degenly to your AI app (one line per client)
Claude Code:
claude mcp add degenly -- npx -y @degenly/agent@0.1.0Gemini CLI:
gemini mcp add degenly npx -y @degenly/agent@0.1.0Cursor (
mcp.json) / Claude Desktop (claude_desktop_config.json):
{ "mcpServers": { "degenly": { "command": "npx", "args": ["-y", "@degenly/agent@0.1.0"] } } }ChatGPT does not support local MCP servers, so it cannot use this package. The Gemini web app: not verified. Per-client details and how each one shows the confirmation step: docs/clients.md.
Without arguments (or with mcp) the package starts the MCP stdio server. With a command it is the CLI.
Agent instructions: SKILL.md.
Safety
Spending limits apply to trades made through Degenly. An agent that can read files on this computer could read the agent wallet key and move funds outside Degenly. Fund the agent wallet with only what you can afford to lose.
Spending limits (per trade and per day) are set only on degenly.app:
/bot→ "Spending limits", signed in with your main wallet. No tool or command of this package can change them. The package also checks them on this computer before a buy is sent (second layer); the limit on Degenly's side is the real one. Sells are not limited.Every live buy / sell is confirmed by you in a form your AI app shows (MCP elicitation), on by default. The agent cannot switch it off. If your app cannot show the form, the trade is not sent; only you can set
DEGENLY_CONFIRM=offin this MCP server's configuration.Claude Code: add a deny rule so Claude Code's file tools cannot read the agent wallet folder, in
~/.claude/settings.json:
{ "permissions": { "deny": ["Read(~/.degenly/**)"] } } This is an extra layer, not full protection: the Read rule does not cover Bash commands in general. It applies to
Claude Code's built-in file tools and to some shell commands Claude Code recognizes, but not to a command that
reads files without naming them, such as grep -r (see the "Read and Edit" warning in the
Claude Code permissions docs).
An equivalent rule for Cursor or Gemini CLI is not verified.
The key file is kept in your home folder (
~/.degenly/), never in a project folder. Do not ask an agent to read, print, copy or move it.
Tools / commands
Demo (demo SOL only, every answer "mode":"demo" and "note":"Demo trade. No real funds moved."):
MCP tool | CLI | |
|
| demo balance, positions, realized P&L |
|
| live price only |
|
| demo buy at the live price |
|
| demo sell at the live price |
|
| demo history, newest first |
|
| back to 10 demo SOL |
|
| name / symbol (untrusted), decimals, price, authorities |
|
| find mints by name or symbol |
|
| most traded on Degenly |
Live (the agent wallet, every answer "mode":"live"; listed by the MCP server only after setup + pairing + login,
except degenly_live_whoami, which says what is missing):
MCP tool | CLI | |
|
| agent wallet + API key check, confirm setting, spending limit |
| token facts by mint (name / symbol untrusted) | |
| USD price by mint | |
|
| real balances of the agent wallet |
|
| confirmed Degenly trades of the agent wallet |
|
| real quote, nothing signed or sent |
| (MCP only) | buy by mint; you confirm first |
| (MCP only) | sell by mint; you confirm first |
Add --json to any CLI command for one-line JSON. Mint addresses only; names and symbols are refused.
Error codes
Errors: non-zero exit (0 ok, 2 usage, 3 rate limited, 4 network / Degenly, 1 other) and
{"ok":false,"error":"CODE","hint":"..."}. The hint says what to do.
error | meaning |
| a name / symbol / bad address was passed instead of a mint |
| wrong amount, percent, arguments or command |
| demo: not enough demo SOL / no demo position |
| wait |
| Degenly unreachable or unexpected answer |
| the Bot API is off: live trading is not available yet |
| run setup, pair on degenly.app/bot, then login |
| an agent wallet exists and is never overwritten; use |
| the API key was given as an argument; use stdin or |
| unknown / revoked key, or a key of another wallet: pair again |
| refused by the spending limit (or no limit known): nothing sent |
| Degenly does not allow buying this token through the API |
| you did not confirm, or the app cannot show the form: nothing sent |
| trading is off, or the trade did not complete |
| sent, no answer: do NOT retry; check holdings and ledger first |
What goes over the network
Demo: only Degenly's public read endpoints on https://degenly.app: /api/swap/quote (price only, no wallet),
/api/data/tokens, /api/data/search, /api/data/top. Each quote is a real upstream call for Degenly, so the
package caps itself at 1 quote per 2 s and 300 per day per computer (~/.degenly/quote-limit.json).
Live: only signed requests to https://degenly.app/v1/*. The agent wallet key never leaves this computer; requests
carry the API key and a signature. No cookies, no telemetry.
Run from source (until it is published)
npm install
npm run build
node dist/cli.js demo status --json
node dist/cli.js mcpClaude Code against the local build: claude mcp add degenly -- node <absolute path>/dist/cli.js.
Tests: npm test (no network: fetch is faked). Requires Node 20+.
Available Tools
10 toolsdegenly_buyA
Demo buy at the live price: spends demo SOL, never real funds. Mint address only.
Inputs: sol (required), mint (required).
degenly_live_whoamiARead-only
LIVE (real funds): check the agent wallet and API key with Degenly, or say what is missing (setup, pairing, login). Shows the confirm setting and the spending limit when Degenly sends it.
Inputs: no named parameters.
degenly_quoteARead-only
Live price quote, nothing is traded. buy: amount = SOL to spend ("0.1"). sell: amount = token amount, "N%" or "all" of the demo position.
Inputs: mint (required), side (required), amount (required).
degenly_resetADestructiveIdempotent
Reset the demo account to 10 demo SOL. Deletes all demo positions and demo trades.
Inputs: no named parameters.
degenly_searchARead-only
Find token mints by name or symbol (2-40 chars). Many tokens share a name: choose by mint, then check with degenly_token.
Inputs: query (required).
degenly_sellA
Demo sell at the live price: sells part or all of a demo position for demo SOL. Mint address only.
Inputs: mint (required), amount (required).
degenly_statusARead-only
Demo account: demo SOL balance, open demo positions, realized demo P&L. Local only, no network.
Inputs: no named parameters.
degenly_tokenARead-only
Token facts by mint: name and symbol (untrusted text), decimals, USD price, market cap, liquidity, mint / freeze authority.
Inputs: mint (required).
degenly_tradesBRead-only
Demo trade history, newest first. Local only.
Inputs: limit.
degenly_trendingBRead-only
Most traded Solana tokens on Degenly for a window (5m, 1h, 6h, 24h).
Inputs: limit, window.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clear primary purpose: quote previews, buy/sell execute, token gives mint facts, search resolves mints, trending lists hot tokens, status/trades/reset manage the demo account. The main soft spot is degenly_live_whoami, which sits apart from the otherwise demo-only set and can be confused with degenly_status (demo vs. live account checks).
All tools share the consistent degenly_ prefix and snake_case style, which is predictable. However degenly_live_whoami breaks the two-segment pattern used everywhere else and mixes a mode qualifier into the name, a minor inconsistency.
Ten tools is well within a healthy range and each earns its place: three for discovery (search, token, trending), five for demo trading lifecycle (status, quote, buy, sell, trades), plus reset and whoami.
The demo trading loop is fully covered: discover tokens, quote, buy, sell, review history, and reset. Gaps exist around the live mode, which advertises real-funds capability but only exposes degenly_live_whoami with no live buy/sell counterpart, and there is no per-position P&L detail beyond the status summary.
Maintenance
Related MCP Connectors
Non-custodial DeFi tools for AI agents on Solana: swaps, perps, lending, staking, equities.
Run all your Solana wallets from your AI: send, swap, split, consolidate and clean up.
Warden MCP lets AI agents find tokens, quote swaps and trade onchain on Base, BNB Chain, Robinhood Chain, Arc and Solana, within limits you set. Market tools need no credential: list_chains, search_tokens, trending_tokens, price_history, quote_swap and swap_status. Search by name, ticker or contract address, read USD price candles, and price a swap before committing to it, including cross-chain swaps. Wallet tools act for the wallet whose owner connected the agent, by OAuth sign-in or a wk_ key. agent_permissions shows what the agent may do and its daily limits. prepare_swap builds a trade and hands the owner a review link to sign. With request_session the owner turns on hands-free trading in one tap, and execute_swap then trades within the limits they set. swap_status tracks gasless and cross-chain trades. get_wallet shows holdings on every chain. Gasless trading is available on Base, BNB Chain and Robinhood Chain. Built by Warden Protocol, the team behind Warden Token Terminal.
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI agents with real-time financial market intelligence including stock quotes, crypto data, technical analysis, and portfolio insights. Enables natural language queries for current prices, technical indicators, asset comparisons, and portfolio analysis.1710MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with the Solana blockchain through MCP, supporting wallet queries, token swaps via Jupiter, token transfers, and market data.MIT
- AlicenseNot gradedqualityCmaintenanceProvides read-only $dasha Solana token market data to AI agents, including price, liquidity, market stats, and Jupiter swap quotes, with no transaction signing or wallet access.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to analyze Solana wallets for realized PnL, win rate, trading cadence, and smart-money, bot, or exchange-like flags, plus screen trending tokens for liquidity, volume, and rug risk. Exposes wallet quick checks, full profiles, free previews, and trending-token scans as MCP tools.MIT