Token导航 LogoToken导航TokenDH.com
1moneynetwork MCP logo
金融服务未说明官方级别未说明来源级核验

1moneynetwork MCP

MCP Server

1Money网络协议的MCP服务器,提供账户、代币、交易等API端点以及签名、哈希等实用工具。

工具数

32

提示词数

0

GitHub Stars

0

资源数

0
区块链TypeScriptClaude金融工具Claude DesktopClaudeCursor

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

1Money-Co

提供方

1Money-Co

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

1Money网络MCP

1Money网络协议的MCP(stdio)服务器,由 @1money/protocol-ts-sdk.

此MCP服务器的功能

  • 公开协议API端点(帐户、令牌、交易、检查点、链)作为MCP工具。
  • 包括用于签名、哈希、RLP编码和地址推导的实用工具。
  • 使用SDK客户端配置并尊重网络/基础URL/超时。

配置

环境变量:

  • ONEMONEY_PROTOCOL_NETWORK: testnet, mainnet,或 local (默认值: testnet)
  • ONEMONEY_PROTOCOL_BASE_URL:覆盖网络基础URL
  • ONEMONEY_PROTOCOL_TIMEOUT_MS:请求超时(毫秒)(默认值: 10000)
  • ONEMONEY_PROTOCOL_HEADERS:所有请求中包含的可选JSON标头字符串(仅自定义网关/代理需要)

示例 .env 文件(参见 .env.example):

export ONEMONEY_PROTOCOL_NETWORK=testnet
export ONEMONEY_PROTOCOL_TIMEOUT_MS=15000

大多数用户可以省略 ONEMONEY_PROTOCOL_HEADERS.

整合

光标(一键安装)

安装后,将配置添加到 ~/.cursor/mcp.json:

{
  "mcpServers": {
    "1money-network": {
      "command": "npx",
      "args": ["-y", "@1money/network-mcp"],
      "env": {
        "ONEMONEY_PROTOCOL_NETWORK": "testnet"
      }
    }
  }
}

克劳德代码

在终端中运行以下命令:

claude mcp add --transport stdio 1money-network --env ONEMONEY_PROTOCOL_NETWORK=testnet -- npx -y @1money/network-mcp

克劳德桌面版

添加到您的Claude Desktop配置文件中:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json\ 窗户: %APPDATA%\\Claude\\claude_desktop_config.json

{
  "mcpServers": {
    "1money-network": {
      "command": "npx",
      "args": ["-y", "@1money/network-mcp"],
      "env": {
        "ONEMONEY_PROTOCOL_NETWORK": "testnet"
      }
    }
  }
}

食品法典整合

将MCP服务器添加到Codex配置文件中,然后重新启动Codex:

[mcp_servers.1money-network]
command = "npx"
args = ["-y", "@1money/network-mcp"]
env = { ONEMONEY_PROTOCOL_NETWORK = "testnet" }

工具调用示例

{
  "tool": "accounts.get_nonce",
  "input": {
    "address": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC74ff3"
  }
}
{
  "tool": "transactions.estimate_fee",
  "input": {
    "from": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC74ff3",
    "value": "1000000000",
    "token": "0x2cd8999Be299373D7881f4aDD11510030ad1412F"
  }
}
{
  "tool": "utils.sign_message",
  "input": {
    "payload": [
      1212101,
      2,
      "0x0000000000000000000000000000000000000000",
      "1000000000000000000",
      "0x0000000000000000000000000000000000000000"
    ],
    "private_key": "0xYOUR_PRIVATE_KEY"
  }
}

注: utils.sign_message 直接接受私钥。避免在共享环境中使用真实密钥。

示例提示

  • “获取当前链id。”
  • “获取测试网上的最新检查点编号。”
  • “使用令牌0x…从0x发送1000000000个单位的估计费用。”
  • “获取0x的令牌元数据…。”
  • “导出钱包0x…和薄荷0x…的令牌帐户地址。”

工具

账户

  • accounts.get_nonce
  • accounts.get_bbnonce
  • accounts.get_token_account

链条

  • chain.get_chain_id

检查点

  • checkpoints.get_number
  • checkpoints.get_by_hash
  • checkpoints.get_by_number
  • checkpoints.get_receipts_by_number

代币

  • tokens.get_token_metadata
  • tokens.manage_blacklist
  • tokens.manage_whitelist
  • tokens.burn
  • tokens.grant_authority
  • tokens.issue
  • tokens.mint
  • tokens.pause
  • tokens.update_metadata
  • tokens.bridge_and_mint
  • tokens.burn_and_bridge

交易

  • transactions.get_by_hash
  • transactions.get_receipt_by_hash
  • transactions.get_finalized_by_hash
  • transactions.estimate_fee
  • transactions.payment

实用工具

  • utils.derive_token_address
  • utils.sign_message
  • utils.encode_payload
  • utils.to_hex
  • utils.calc_tx_hash
  • utils.typeof
  • utils.safe_promise_all
  • utils.safe_promise_line

批处理工具(utils.safe_promise_allutils.safe_promise_line)接受a calls 数组 { tool, input } 物体。这 safe_promise_all 变量并行执行,并在第一个错误时失败。这 safe_promise_line variant按顺序执行并忽略错误。

模式

schemas/tools.json 是所有工具的JSON模式源。

目录标签

目录标签

区块链TypeScriptClaude金融工具本地部署API服务加密交易网络协议

支持客户端

Claude DesktopClaudeCursor

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

token

工具数量(toolCount,工具数)

32

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明token部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP