プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のための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 に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · 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 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Dagon Inference を使っていると言うか、回答に Dagon Inference のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 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 を使って、私に何ができるか教えて、1 つやってみせて

    ✓ 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 が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    Dagon Inference を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Dagon Inference を使っていると言うか、回答に Dagon Inference のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    Dagon Inference を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Dagon Inference を使っていると言うか、回答に Dagon Inference のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    Dagon Inference を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Dagon Inference を使っていると言うか、回答に Dagon Inference のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://inference.dagon.so/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?Dagon Inference を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

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
    自己署名の USDC 購入に使用する任意の Solana シークレットキーです。専用のホットウォレットを使用してください。
    英語の原文を見る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
    最小購入額(USD 単位、デフォルトは 1)
    英語の原文を見るSmallest purchase in USD (default 1)
  • DAGON_MAX_PURCHASE_USD env
    1回の呼び出しあたりの最大購入額(USD、既定値 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 の 1 日あたりの購入上限(米ドル、デフォルト 200)
    英語の原文を見るPurchase cap per UTC day in USD (default 200)
  • DAGON_MAX_SOL_FEES env
    1日あたりの最悪ケースの 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 , 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にない
接続方法
パソコンでもクラウドでも
最新バージョンi
0.1.0
レジストリ公開日i
2026年11月11日
コードの最終更新i
2026年11月13日
最終確認
2026年11月16日
作者
inkwell-finance
パッケージ
npm: dagon-mcp
ウェブサイト
inference.dagon.so
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。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

  • このカテゴリのほかの1766件のうち0%よりスターが多い
  • このカテゴリのほかの1766件のうち84%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1766件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Dagon Inferenceは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:DAGON_API_KEY

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は6 日前、最新バージョン(0.1.0)がレジストリに届いたのは8 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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