프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 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 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 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에서 AI 채팅을 Agent 모드로 열기

  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에서 AI 채팅을 Agent 모드로 열기

  3. 해 보기

    Dagon Inference을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Dagon Inference을 쓰고 있다고 하거나 답에 Dagon Inference 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

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
    게이트웨이 URL (기본값 https://inference.dagon.so)
    영어 원문 보기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
    호출당 최대 구매 금액(USD, 기본값 50; 0이면 구매 비활성화).
    영어 원문 보기Largest purchase per call in USD (default 50; 0 disables purchases)
  • DAGON_MAX_PURCHASE_USD_PER_SESSION env
    서버 프로세스당 구매 한도(USD, 기본값 200)
    영어 원문 보기Purchase cap per server process in USD (default 200)
  • DAGON_MAX_PURCHASE_USD_PER_DAY env
    UTC 하루당 구매 한도(USD, 기본값 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 , 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
웹사이트
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 사용

  • ✓ 통과

    엔드포인트 응답

    443ms 만에 응답(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를 받는 앱에서도 쓸 수 있어요. 예: 웹 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