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 分