原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Dagon Inference

作者:inkwell-finance版本 0.1.0i★ 0i电脑或云端官方网站 ↗
注册名称io.github.inkwell-finance/dagon-mcp

安装方法

What it does

Uncensored LLM inference: list models, chat, create keys, buy credits with Solana USDC.

  • Connects 电脑或云端
  • Account or key Cloud: Works without a key · add Authorization if you have one (often raises limits) · Local: Needs DAGON_API_KEY · 1 setting to fill in (DAGON_TREASURY_WALLET)
  • Category 加密货币与区块链

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分20/100

质量: 基础检查通过 5/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Dagon Inference。按照 https://mcp.popnx.com/i/inkwell-finance-dagon-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 5/5 项检查 · 你的提问会经过开发者的服务器(inference.dagon.so) · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Dagon Inference
    Remote MCP server URL · 地址https://inference.dagon.so/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsDagon Inference

  4. 试一试

    用 Dagon Inference 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Dagon Inference,或回答中出现 Dagon Inference 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Dagon Inference
    Connection · 地址https://inference.dagon.so/mcp
  3. 在聊天中选择 Dagon Inference

    开启新聊天,输入前先从插件列表中选择 Dagon Inference

  4. 试一试

    用 Dagon Inference 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Dagon Inference,或回答中出现 Dagon Inference 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user dagon https://inference.dagon.so/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Dagon Inference 在列表中并显示已连接

  4. 试一试

    用 Dagon Inference 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Dagon Inference,或回答中出现 Dagon Inference 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Dagon Inference 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Dagon Inference,或回答中出现 Dagon Inference 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Dagon Inference 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Dagon Inference,或回答中出现 Dagon Inference 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://inference.dagon.so/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Dagon Inference 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user dagon https://inference.dagon.so/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "dagon": {
      "url": "https://inference.dagon.so/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "dagon": {
      "type": "http",
      "url": "https://inference.dagon.so/mcp"
    }
  }
}

安装在电脑上

Claude Code

claude mcp add --scope user dagon --env DAGON_API_KEY=your-value --env DAGON_TREASURY_WALLET=your-value -- npx -y dagon-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "dagon": {
      "command": "npx",
      "args": [
        "-y",
        "dagon-mcp"
      ],
      "env": {
        "DAGON_API_KEY": "your-value",
        "DAGON_TREASURY_WALLET": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "dagon": {
      "command": "npx",
      "args": [
        "-y",
        "dagon-mcp"
      ],
      "env": {
        "DAGON_API_KEY": "your-value",
        "DAGON_TREASURY_WALLET": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "dagon": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dagon-mcp"
      ],
      "env": {
        "DAGON_API_KEY": "your-value",
        "DAGON_TREASURY_WALLET": "your-value"
      }
    }
  }
}

需要你填写的值

  • DAGON_API_KEY 机密 必填 env
    Dagon 账户密钥(gk_...),用于查询余额、购买和聊天
    查看英文原文Dagon account key (gk_...) for balance, purchases and chat
  • DAGON_BASE_URL env
    Gateway URL (default https://inference.dagon.so)
  • DAGON_WALLET_SECRET_KEY 机密 env
    可选的 Solana 密钥,用于自行签名的 USDC 购买;请使用专用热钱包。
    查看英文原文Optional Solana secret key for self-signed USDC purchases; use a dedicated hot wallet
  • DAGON_TREASURY_WALLET 必填 env
    受信任的 Dagon 金库地址,购买时必需(9rMdbu4KdLWH2nPXbzhm9HTKaibGZ2ckakQbW1wPh6KK)。
    查看英文原文Trusted Dagon treasury address, required for purchases (9rMdbu4KdLWH2nPXbzhm9HTKaibGZ2ckakQbW1wPh6KK)
  • DAGON_SOLANA_RPC_URL env
    用于提交非赞助购买的 Solana RPC。
    查看英文原文Solana RPC for submitting unsponsored purchases
  • DAGON_MIN_PURCHASE_USD env
    最小购买金额,单位为美元(默认 1)
    查看英文原文Smallest purchase in USD (default 1)
  • DAGON_MAX_PURCHASE_USD env
    每次调用的最大购买金额,单位为美元(默认 50;0 表示禁用购买)。
    查看英文原文Largest purchase per call in USD (default 50; 0 disables purchases)
  • DAGON_MAX_PURCHASE_USD_PER_SESSION env
    每个服务器进程的购买上限,单位为美元(默认 200)
    查看英文原文Purchase cap per server process in USD (default 200)
  • DAGON_MAX_PURCHASE_USD_PER_DAY env
    每个 UTC 日的购买上限,单位为美元(默认 200)
    查看英文原文Purchase cap per UTC day in USD (default 200)
  • DAGON_MAX_SOL_FEES env
    每日最坏情况下的 SOL 费用上限(默认 0.05)
    查看英文原文Daily worst-case SOL fee cap (default 0.05)
  • DAGON_SPEND_LEDGER env
    每日支出账本文件的路径。
    查看英文原文Path of the daily spend ledger file
  • Authorization 机密 HTTP header
    Bearer,用于余额、购买和聊天;dagon_models 和 dagon_create_key 无需它即可工作。远程服务器从不保存钱包:购买会返回待签名的未签名交易。
    查看英文原文Bearer , for balance, purchases and chat; dagon_models and dagon_create_key work without it. The remote server never holds a wallet: purchases return the unsigned transaction to sign.

说明为自动翻译,变量名保持原样;不确定时请查看原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
连接方式
电脑或云端
传输方式
stdio, streamable-http
最新版本i
0.1.0
发布到注册中心i
2026年11月11日
代码最后更新i
2026年11月13日
最近检查
2026年11月16日
作者
inkwell-finance
软件包
npm: dagon-mcp
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月16日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • dagon_models

    List the models available on Dagon Inference, with their pricing (GET /v1/models). No API key needed.

  • dagon_balance

    Show the credit balance of your Dagon key in USD: total credits, total usage, available (GET /v1/credits). Uses the connection's Authorization: Bearer key.

  • dagon_create_key

    Create a new Dagon account key (POST /v1/keys). No API key needed. The secret is shown only once: store it securely and configure your MCP connection to send it as `Authorization: Bearer `; never paste it into shared chats or files under version control.

  • dagon_chat

    Send a chat completion to a Dagon model (POST /v1/chat/completions, non-streaming) and return the reply with its signed receipt id. Spends credits of the connection's Authorization: Bearer key.

  • dagon_buy_credits

    Start a credit purchase for the connection's Dagon key, paid in USDC on Solana from payer_wallet (POST /v1/credits/purchase). This server never signs: it returns the unsigned transaction for payer_wallet to sign. Submit it to Solana yourself, then pass its signature to dagon_conf

  • dagon_confirm_purchase

    Report a dagon_buy_credits payment the payer signed so the connection's Dagon key is credited (POST /v1/credits/purchase/confirm). Submit it yourself and pass its signature.

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 inkwell-finance 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于6天前

  • ✓ 通过

    有许可证

    使用 MIT

  • ✓ 通过

    端点有响应

    在 443 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 6 个工具描述,未发现针对 AI 的隐藏指令

已公开的漏洞(OSV.dev)

OSV.dev 中没有 dagon-mcp@0.1.0 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/inkwell-finance-dagon-mcp.svg)](https://mcp.popnx.com/en/servers/inkwell-finance-dagon-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“加密货币与区块链”中的其他服务器比较i

  • 星标数多于此分类中其他 1774 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1774 个服务器的 83% 更新
  • 基础检查结果等于或优于此分类中其他 1774 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Dagon Inference 安全吗?

它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DAGON_API_KEY

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于6天前,最新版本(0.1.0)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

DexSQL

SQL for Android APK and DEX files: classes, methods, strings, references and smali.

作者:LSPosed正在增长★ 32032天前更新

在你的电脑上运行✓ lsposed.org

PayRam

Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.

作者:PayRam正在增长★ 15843天前更新

在云端运行✓ 服务方 · payram.com

DexPaprika

DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.

作者:coinpaprika正在增长★ 1206天前更新

在云端运行✓ 服务方 · dexpaprika.com

X402 List MCP

Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.

作者:mcccsm起步阶段↓ 80/周★ 1840天前更新

电脑或云端✓ 服务方 · x402-list.com
与相似项目对比
本项
Dagon Inference
DexSQLPayRamDexPaprikaAlchemy MCP ServerX402 List MCP
运行位置云端或安装在电脑上都可以需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以
需要密钥是否否否否否
可在 Claude 中按 + 添加否否否否否否
基础检查5/52/33/44/44/45/5
许可证MITNOASSERTION–MITMITMIT
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Dagon Inference MCP server

A stdio Model Context Protocol server for Dagon Inference: list models, check a balance, create keys, buy credits with USDC on Solana, and chat.

MIT licensed.

Dagon Inference serves uncensored (abliterated) open-weight LLMs through an OpenAI-compatible API, paid with USDC on Solana. This server lets an MCP client (Claude Desktop, Claude Code, Cursor, ...) use it directly. Needs Node 22.18 or newer; no install step:

npx -y dagon-mcp

Get an account key with the dagon_create_key tool or at https://inference.dagon.so.

No MCP client? An agent can pay per request with x402 instead: send the request with no key, sign the USDC transfer the 402 asks for, retry, and keep the key returned in x-dagon-key. No key, no SOL, no install beyond an x402 client such as @x402/fetch with @x402/svm. This server does not pay with x402; it uses keys and the wallet purchase below.

Tools

ToolWhat it doesKey
dagon_modelsGET /v1/models: models and prices.no
dagon_balanceGET /v1/credits: credits, usage and available balance in USD.yes
dagon_create_keyPOST /v1/keys: creates an account key, shown once.no
dagon_buy_credits{ amount_usd, chain: "solana", payer_wallet? }: buys credits with Solana USDC.yes
dagon_confirm_purchase{ purchase_id, signature } for a payment you submitted yourself, or { purchase_id, signed_transaction } for a fee-sponsored one you signed but did not submit: credits it.yes
dagon_chat{ model, prompt or messages, system?, max_tokens?, temperature? }: one non-streaming chat completion.yes

Balance and chat use DAGON_API_KEY by default and accept an api_key argument. Purchases and confirmations never accept an account override: they always use the server's configured DAGON_API_KEY, so a tool caller cannot redirect a configured wallet's payment to another account.

Buying credits

dagon_buy_credits calls POST /v1/credits/purchase, then POST /v1/credits/purchase/confirm (guide).

Before any gateway call, the amount must be at least DAGON_MIN_PURCHASE_USD (default $1), within DAGON_MAX_PURCHASE_USD (per call, default $50), together with purchases this server process has already prepared within DAGON_MAX_PURCHASE_USD_PER_SESSION (default $200), and together with everything prepared today (UTC) by any server process sharing the spend ledger within DAGON_MAX_PURCHASE_USD_PER_DAY (default $200). Requests outside these limits fail with a tool error and create nothing. Purchases the gateway did not create do not count. The session total resets when the MCP server restarts; the daily total does not, because it is kept in DAGON_SPEND_LEDGER (default %APPDATA%\dagon-mcp\spend-ledger.json on Windows, $XDG_CONFIG_HOME/dagon-mcp/spend-ledger.json or ~/.config/dagon-mcp/spend-ledger.json elsewhere; written with mode 0600 where supported). An unreadable or corrupt ledger refuses purchases. DAGON_TREASURY_WALLET is required for every purchase, with or without a wallet.

When the gateway does not sponsor the network fee, the payer's worst-case SOL cost (5,000 lamports per signature, the compute-budget priority fee, and 0.00203928 SOL rent whenever the transaction creates the treasury's USDC account) is counted against DAGON_MAX_SOL_FEES per UTC day (default 0.05 SOL) in the same ledger; a purchase that would exceed it is refused unsigned. An invalid limit stops the server at startup.

  • `DAGON_WALLET_SECRET_KEY` set: DAGON_API_KEY and DAGON_TREASURY_WALLET are also required. The server first proves that the returned transaction (legacy or v0 message) is exactly the payment the payment service builds: one USDC TransferChecked of the requested amount from the configured wallet's associated token account to the configured treasury's associated token account, one SPL Memo whose data is the purchase_id, and at most one idempotent creation of the treasury's USDC account whose rent is paid by the fee payer. It rejects mismatched response metadata, amounts, mint, token program, destination, memo, blockhash, fee-payer or signer roles, lookup tables, duplicate keys, unrelated instructions, accounts or writable authorities; a sponsor fee payer may appear in no instruction except as that rent payer. Only bounded Solana compute-budget instructions may also accompany the transfer. After validation it signs as the wallet. A fee-sponsored transaction carries no fee payer signature: the server does not submit it but sends it to the gateway's confirm as signed_transaction, and the payment service adds its fee payer signature and submits it. Otherwise it submits through DAGON_SOLANA_RPC_URL and confirms with the signature. Either way it confirms the purchase for at most 45 seconds; past that it reports the purchase as pending. Once the payment may be on-chain, every result and error names the purchase_id and the transaction signature (or, when fee sponsored, the signed transaction): do not buy again, pass them to dagon_confirm_purchase. The wallet needs the USDC, and SOL for the fee only when the purchase is not fee sponsored. Give the client a tool timeout of at least 90 seconds; cancelling the tool call stops the wait.
  • No wallet: pass payer_wallet. The server runs the same byte-level validation with payer_wallet as payer and transfer authority, and only then returns the unsigned base64 transaction, naming the treasury it pays and the SOL it can cost. A transaction that fails validation is never returned. Sign it with that wallet before it expires, without rebuilding it. When fee_sponsored is true, do not submit it: call dagon_confirm_purchase with purchase_id and signed_transaction (the base64 wallet-signed transaction). Otherwise submit it, then call dagon_confirm_purchase with purchase_id and its signature.

The secret key never leaves the server process and is never echoed, including in errors. At startup the server prints the derived payer address to stderr; check it is the wallet you meant. The trusted treasury address is configured independently rather than accepted from the gateway response. Use a dedicated hot wallet holding only what you intend to spend.

Every gateway and Solana RPC request is aborted after 30 seconds or when the client cancels the tool call, and gateway responses larger than 4 MiB are refused.

Configuration

VariableDefaultPurpose
DAGON_API_KEYnoneAccount key (gk_...) for balance, purchases and chat. Required with DAGON_WALLET_SECRET_KEY; purchases cannot override it.
DAGON_BASE_URLhttps://inference.dagon.soGateway URL. Must be https://; http:// is accepted only for localhost/127.x/[::1].
DAGON_WALLET_SECRET_KEYnoneSolana secret key: 64-byte base58 (Phantom/Solflare export) or JSON byte array (solana-keygen file; a 32-byte seed is accepted only in this form). 32 bytes of base58 is a Solana address and is refused. Enables validated self-signed purchases.
DAGON_TREASURY_WALLETnoneTrusted Solana treasury owner whose USDC associated token account receives purchases. Required for any purchase and with DAGON_WALLET_SECRET_KEY.
DAGON_SOLANA_RPC_URLhttps://api.mainnet-beta.solana.comRPC for submitting signed purchases that are not fee sponsored (the payment service submits sponsored ones).
DAGON_MIN_PURCHASE_USD1Smallest single dagon_buy_credits amount in USD (whole cents).
DAGON_MAX_PURCHASE_USD50Largest single dagon_buy_credits amount in USD (whole cents). 0 disables purchases.
DAGON_MAX_PURCHASE_USD_PER_SESSION200Total USD of purchases one MCP server process may prepare.
DAGON_MAX_PURCHASE_USD_PER_DAY200Total USD of purchases per UTC day, persisted across restarts in the spend ledger.
DAGON_MAX_SOL_FEES0.05Worst-case SOL (fees plus treasury account rent) unsponsored purchases may cost the payer per UTC day.
DAGON_SPEND_LEDGERuser config dir (see above)File holding the daily totals.

Install

Claude Code
claude mcp add dagon --env DAGON_API_KEY=gk_... -- npx -y dagon-mcp
Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config); write the values themselves:

{

"mcpServers": { "dagon": { "command": "npx", "args": ["-y", "dagon-mcp"], "env": { "DAGON_API_KEY": "gk_...", "DAGON_TREASURY_WALLET": "9rMdbu4KdLWH2nPXbzhm9HTKaibGZ2ckakQbW1wPh6KK" } } } }

On Windows, if npx is not found, use "command": "cmd", "args": ["/c", "npx", "-y", "dagon-mcp"].

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{

"mcpServers": { "dagon": { "command": "npx", "args": ["-y", "dagon-mcp"], "env": { "DAGON_API_KEY": "gk_..." } } } }

Project .mcp.json, omp

Claude Code and omp expand ${VAR} from your environment, so secrets stay out of the file:

{

"mcpServers": { "dagon": { "command": "npx", "args": ["-y", "dagon-mcp"], "env": { "DAGON_API_KEY": "${DAGON_API_KEY}", "DAGON_WALLET_SECRET_KEY": "${DAGON_WALLET_SECRET_KEY:-}", "DAGON_TREASURY_WALLET": "${DAGON_TREASURY_WALLET:-}" }, "timeout": 120000 } } }

timeout is omp's per-tool timeout in milliseconds; drop it for clients that do not use it.

Security

  • DAGON_WALLET_SECRET_KEY is optional. Without it the server never signs anything: it returns validated unsigned transactions for you to sign with your own wallet. With it, use a dedicated hot wallet holding only what you intend to spend; the key never leaves the process and is never echoed.
  • DAGON_TREASURY_WALLET is the trust anchor for purchases: every transaction is checked byte-for-byte to pay exactly that treasury, so a compromised or spoofed gateway cannot redirect funds. The published Dagon treasury is 9rMdbu4KdLWH2nPXbzhm9HTKaibGZ2ckakQbW1wPh6KK; take it from this README or https://inference.dagon.so, not from a tool result.
  • Per-call, per-session and per-day USD caps and a daily SOL fee cap bound what any tool caller can spend.
  • Purchases always credit the configured DAGON_API_KEY; a tool caller cannot redirect them to another account.

Development

git clone https://github.com/inkwell-finance/dagon-mcp.git

cd dagon-mcp npm ci npm run check # type-check npm test # tool tests against a mocked fetch; no network npm run build # compile to dist/

License

MIT © Inkwell Finance, Inc. d/b/a Dagon