Multichain MCP Server

Official

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides community support through Discord's Oraichain server for users of the Multichain MCP.

  • Enables integration through GitHub Discussions as part of the community engagement channels for the MCP server.

  • Serves as a runtime environment for the MCP server, supporting execution of blockchain operations through the server infrastructure.

多链 MCP 服务器 🌐

🏗️ 由Oraichain Labs构建和维护

一个用于构建和部署具有区块链功能的 AI 代理的综合工具包。该 Monorepo 包含:

  • 用于 AI 应用的模型上下文协议 (MCP) 服务器
  • 用于区块链交互的代理开发工具
  • 用于构建自定义 AI 代理的开发套件

关于 Oraichain Labs

Oraichain Labs是 Oraichain 背后的团队,Oraichain 是全球首个基于 Web3 的 AI Layer 1。我们专注于 AI 代理和区块链技术:

  • 自主的 Web3 AI 代理
  • 去中心化人工智能市场
  • 人工智能预言机系统
  • 多链 DeFi 协议

贡献者

感谢这些出色的人:

概述

该项目提供了一套完整的AI-区块链集成工具:

MCP 服务器

  • 与多个区块链网络交互
  • 检索钱包地址和余额
  • 转移资金和管理代币
  • 部署并与智能合约交互
  • 网络之间的桥梁资产

代理工具

  • 即用型区块链交互工具
  • 开箱即用的多链支持
  • DeFi 协议集成
  • 安全交易处理

代理开发套件

  • 利用区块链功能构建自定义 AI 代理
  • 可扩展的接口和类型
  • 最佳实践和示例
  • 测试实用程序

整个工具包使用 TypeScript 构建,并通过统一的接口支持多个区块链网络。

先决条件

  • Node.js(v18 或更高版本)
  • pnpm(v9.0.0 或更高版本)
  • 支持网络的钱包配置
  • 支持网络的 API 密钥(可选)

安装先决条件

  1. 安装 Node.js:
    • 访问Node.js 官方网站
    • 下载并安装 LTS 版本(v18 或更高版本)
    • 验证安装:
      node --version npm --version
  2. 安装 pnpm:
    # Using npm npm install -g pnpm # Verify installation pnpm --version
    有关其他安装方法,请访问pnpm 安装指南

安装

克隆此存储库:

git clone https://github.com/oraichain/multichain-mcp.git cd multichain-mcp

安装依赖项:

pnpm install

构建项目:

pnpm build

配置

使用您的配置创建一个.env文件:

# Server Configuration PORT=4000 # Optional, defaults to 4000 # Network RPC URLs RPC_URL=your_rpc_url # Optional, defaults to https://rpc.orai.io

发展

要开发所有包,请运行:

pnpm dev

构建所有包:

pnpm build

运行测试:

pnpm test

项目结构

这是一个使用 Turborepo 和 pnpm 工作区构建的 monorepo。其结构如下:

  • packages/
    • mcp-server/ :核心 MCP 服务器实现
    • agent-tools/ :AI代理的区块链交互工具集合
    • agent-kit/ :用于构建具有区块链功能的 AI 代理的开发套件

每个包都有特定的用途:

MCP 服务器

实现用于区块链交互的模型上下文协议的主服务器包。它提供了处理来自 AI 客户端请求的核心功能。

代理工具

专为 AI 代理与各种区块链网络交互而设计的工具集合。MCP 服务器使用这些工具来执行区块链操作。

代理套件

一款开发工具包,可帮助开发者构建具有区块链功能的 AI 代理。它包含用于一致代理开发的实用程序、类型和接口。

与AI工具集成

Claude 桌面集成

要将此 MCP 服务器添加到 Claude Desktop:

  1. 创建或编辑 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
  2. 添加以下配置:
{ "mcpServers": { "mcp-server": { "command": "npx", "args": ["-y", "@oraichain/mcp-server@0.0.21"], "env": { "RPC_URL": "https://rpc.orai.io" } } } }
  1. 重新启动 Claude Desktop 以使更改生效。

📜 许可证

该项目根据 GNU 通用公共许可证 v3.0 获得许可 - 有关详细信息,请参阅LICENSE文件。

💬 社区

⭐ 支持

如果您发现 Multichain MCP 有用,请考虑为该存储库加注星标并贡献新功能或改进!

-
security - not tested
A
license - permissive license
-
quality - not tested

用于构建具有区块链功能的 AI 代理的综合工具包,可与多个区块链网络进行交互,执行钱包管理、资金转移、智能合约交互和跨链资产桥接等任务。

  1. About Oraichain Labs
    1. Contributors
      1. Overview
        1. MCP Server
        2. Agent Tools
        3. Agent Development Kit
      2. Prerequisites
        1. Installing Prerequisites
      3. Installation
        1. Configuration
          1. Development
            1. Project Structure
              1. MCP Server
              2. Agent Tools
              3. Agent Kit
            2. Integration with AI Tools
              1. Claude Desktop Integration
            3. 📜 License
              1. 💬 Community
                1. ⭐ Support
                  ID: 2jyrpowok1