MCP Sui Tools

by 0xdwong
Verified
MIT License
52
1
  • Apple
  • Linux

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Integrates with the Sui blockchain to provide functionality like accessing testnet faucets for obtaining test tokens across multiple network environments (testnet, devnet).

Sui MCP 工具

这是一个基于 Sui 区块链的 MCP(模型上下文协议)工具包。该项目提供与 Sui 区块链交互的功能,并集成 MCP SDK 以实现模型上下文协议功能。

🚀 功能

  • 使用 TypeScript 开发以确保类型安全
  • 与 Sui 区块链功能深度集成
  • 支持多种网络环境(测试网、开发网)
  • 完整的构建脚本和开发工具链

📦安装和配置

安装和配置 Sui MCP Tools 有两种方法:

方法 1:使用 npx(推荐)

这是最简单的方法 - 只需将以下配置添加到您的 Claude Desktop 配置文件中:

{ "mcpServers": { "sui-tools": { "command": "npx", "args": ["-y", "sui-mcp@latest"] } } }

方法二:本地构建

  1. 克隆并安装依赖项:
git clone https://github.com/0xdwong/sui-mcp.git cd sui-mcp yarn install
  1. 构建项目:
yarn build
  1. 使用本地构建配置 Claude Desktop:
{ "mcpServers": { "sui-tools": { "command": "node", "args": ["<absolute-path-to-your-project>/build/index.js"] } } }

配置位置

Claude Desktop 配置文件位于:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

您可以通过 Claude Desktop 访问此文件:Claude > 设置 > 开发者 > 编辑配置

重新启动 Claude Desktop 以使更改生效。

🛠 可用工具

  • 测试网水龙头

    例如:请求 0x9eb94b1c301505d188f1b97914208b31a5419b57b2a3571169ad2165d41c2ffa 的 SUI

  • 检查 SUI 余额

    例如:检查 0x9eb94b1c301505d188f1b97914208b31a5419b57b2a3571169ad2165d41c2ffa 的 SUI 余额

  • 转移 SUI

    例如:将 1 SUI 转移到 0x9eb94b1c301505d188f1b97914208b31a5419b57b2a3571169ad2165d41c2ffa

📚 文档

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

与 Sui 区块链集成的工具包,当用户提供他们的钱包地址时,允许 Claude 通过测试网水龙头工具请求测试代币。

  1. 🚀 Features
    1. 📦 Installation & Configuration
      1. Method 1: Using npx (Recommended)
      2. Method 2: Local Build
      3. Configuration Location
    2. 🛠 Available Tools
      1. 📚 Documentation
        ID: u5hue94cq5