
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.
概览
一个本地 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。仅限桌面客户端;未声明身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Ashfields MCP Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Ashfields MCP Server
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
Or via npx (no clone needed):
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
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
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.
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.
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.
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).
Returns: { status, minted, ashBurned, tokenIds, wallet, approvalTx, mintTx, etherscan, opensea }
Example response:
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.
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)
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
Links
License
MIT © 2025 smoke711711
来源:README.md,提交 fbd1abb
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分