Ashfields MCP Server

io.github.smoke711711由 GitHub 帳號 smoke711711 發布v1.0.0更新於 Oct 24, 2026

Burn $ASH to mint on-chain NFTs on Ethereum. No browser. Two agent tool calls.

已驗證STDIO僅桌面金融開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理查詢以太坊錢包並透過銷毀 $ASH 代幣鑄造 Ashfields NFT,不需瀏覽器。

可以做什麼
讀取鑄造狀態:每枚價格、已鑄造總量、剩餘供應量、合約地址,以及鑄造是否開放與單筆上限。查詢已設定的錢包:位址、$ASH 餘額、ETH 餘額、$ASH 授權額度以及目前可鑄造數量。為 Ashfields 合約授權 $ASH 額度並等待鏈上確認。鑄造 Ashfields NFT,必要時自動授權,並回傳代幣 ID、銷毀數量、交易雜湊與 OpenSea 連結。呼叫 RoyaltyDistributor 合約上無需許可的版稅分配函式。
適用情境
當你希望助理直接在對話中查看以太坊錢包的 $ASH 與 ETH 餘額並鑄造 Ashfields NFT,而不開啟瀏覽器或手動簽名時使用。適合已持有 $ASH、想要腳本化兩步鑄造流程的使用者。
執行需求
透過 npx 或複製的 npm 套件在本機執行,需要 Node.js 18 或更新版本。需要透過環境變數 WALLET_PRIVATE_KEY 提供錢包私鑰,可選 ETH_RPC_URL 指定以太坊 RPC 節點(預設使用公用節點)。錢包需持有每枚至少 100,000 $ASH,並準備約 0.001 ETH 作為 gas。僅限桌面用戶端;未宣告身分驗證。
安裝前請注意
伺服器需要透過 WALLET_PRIVATE_KEY 提供錢包私鑰,能存取該環境的人即可簽署交易並轉移資金。鑄造會永久銷毀每枚 100,000 $ASH 並消耗 ETH 作為 gas;approve_ash 會授予合約額度。trigger_distribute 會送出分配版稅 ETH 的交易。交易不可撤銷,且作用於以太坊主網合約。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ashfields MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Ashfields MCP Server

[MIT License] [npm] [MCP]

The first MCP server that burns an ERC-20 token to mint an NFT. Approve $ASH, call mint() — 100,000 tokens permanently destroyed, fully on-chain animated SVG appears on Ethereum. No ETH payment. No browser. Two contract calls from any agent.

Ashfields — 10,000 fully on-chain animated SVG NFTs. Minting burns 100,000 $ASH permanently. Earn $ASH by burning dead NFTs on deadjpg.lol.


Installation

bash
git clone https://github.com/smoke711711/ashfields-mcp-servercd ashfields-mcp-servernpm install

Or via npx (no clone needed):

bash
npx ashfields-mcp-server

Requirements

  • Node.js 18+
  • A wallet with:
    • Enough $ASH to mint (100,000 $ASH per token)
    • A small amount of ETH for gas (~0.001 ETH per mint)

Configuration

bash
export WALLET_PRIVATE_KEY=0xYOUR_PRIVATE_KEY# Optional — defaults to a public Ethereum nodeexport ETH_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_KEY

Add to Claude Desktop

Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{  "mcpServers": {    "ashfields": {      "command": "node",      "args": ["/absolute/path/to/ashfields-mcp-server/index.js"],      "env": {        "WALLET_PRIVATE_KEY": "0xYOUR_PRIVATE_KEY",        "ETH_RPC_URL": "https://ethereum.publicnode.com"      }    }  }}

Restart Claude Desktop — the tools will appear automatically.


Available Tools

get_mint_info

Returns current mint status: price per token, total minted, remaining supply, whether minting is active, and contract addresses.

ArgTypeRequired
———

Returns: { mintActive, totalMinted, remainingSupply, pricePerToken, priceFormatted, maxPerTransaction, contracts }


check_wallet

Returns the configured wallet address, $ASH balance, ETH balance, current $ASH allowance for the Ashfields contract, and how many tokens it can mint right now.

ArgTypeRequired
———

Returns: { walletAddress, ashBalance, ashAllowance, ethBalance, canMintThisTx, needsApproval }


approve_ash

Approves the Ashfields contract to spend $ASH from the wallet. Waits for on-chain confirmation. Only needed if allowance is insufficient — mint_ashfield handles this automatically.

ArgTypeRequiredDescription
quantitynumberyesTokens to approve for (1–5). Approves quantity × 100,000 ASH.

Returns: { status, approved, forTokens, wallet, txHash, etherscan }


mint_ashfield

Full mint flow: checks allowance, auto-approves if needed, mints, waits for confirmation. Returns minted token IDs and OpenSea link. Burns 100,000 $ASH per token permanently (sent to 0xdead).

ArgTypeRequiredDescription
quantitynumberyesTokens to mint (1–5 per transaction).

Returns: { status, minted, ashBurned, tokenIds, wallet, approvalTx, mintTx, etherscan, opensea }

Example response:

json
{  "status": "success",  "minted": 2,  "ashBurned": "200,000 ASH",  "tokenIds": ["8377", "220"],  "approvalTx": "0xfc33...",  "mintTx": "0xe2e0...",  "etherscan": "https://etherscan.io/tx/0xe2e0...",  "opensea": "https://opensea.io/collection/ashfields-lol"}

trigger_distribute

Calls distribute() on the RoyaltyDistributor contract. Permissionless — any wallet can trigger this at any time. Splits accumulated royalty ETH: 1% creator · 1% $ASH team · 8% Uniswap buyback → burned to 0xdead. Requires ≥ 0.005 ETH in the distributor.

ArgTypeRequired
———

Returns: { status, txHash, etherscan, note }


Example Agent Prompt

"Check my wallet balance, verify I have enough $ASH to mint 2 Ashfields, then mint them and return the token IDs and OpenSea links."


Contract Addresses (Ethereum Mainnet)

ContractAddress
Ashfields NFT (ASHF)0x068FB5Ac232462f642F34B2bAa81750Cc2F00DAA
$ASH Token0x7e6aed913DEAA38A486514AD75Bdf8E48Fa74a17
RoyaltyDistributor0xF3b4063958dB5814E31aA745FbbfD4c0006E52A6

Security

  • Private key is read from environment variables only — never passed as a tool argument
  • Server communicates via stdio — no network port is opened
  • Only the configured wallet can sign transactions
  • trigger_distribute() is permissionless by contract design — safe for any wallet to call

Machine-Readable Spec

bash
curl https://ashfields-mint.vercel.app/api/mint-info

Links


License

MIT © 2025 smoke711711

來源:README.md,提交 fbd1abb

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分