Skip to main content
Glama

MCP EVM Signer

MCP EVM 签名者

一个模型上下文协议 (MCP) 服务器,用于管理以太坊私钥并使用 Infura 部署智能合约。该服务器使 Claude for Desktop 和其他 MCP 客户端能够与兼容 EVM 的区块链进行交互。

MCP EVM 签名者架构

特征

  • 🔑 在本地安全地存储和管理以太坊私钥
  • 🔌 连接到 Infura 进行区块链交互
  • 📝 从编译的 ABI 和字节码部署智能合约
  • ✍️ 签署并发送交易
  • 💰 查看账户余额和交易历史记录
  • 🔍 查询区块链数据并与已部署的合约交互

快速入门

先决条件

  • Node.js v16 或更高版本
  • 带有 API 密钥的 Infura 帐户
  • 已安装 Claude 桌面应用程序

安装

  1. 克隆此存储库:
    git clone https://github.com/zhangzhongnan928/mcp-evm-signer.git cd mcp-evm-signer
  2. 安装依赖项:
    npm install
  3. 构建项目:
    npm run build
  4. 配置环境变量:
    cp .env.example .env
    编辑.env文件以添加您的 Infura API 密钥并配置其他设置。

与 Claude 桌面版集成

  1. 将服务器添加到您的 Claude for Desktop 配置中:
{ "mcpServers": { "evm-signer": { "command": "node", "args": ["/path/to/mcp-evm-signer/build/index.js"], "env": { "INFURA_API_KEY": "your_infura_api_key_here", "DEFAULT_NETWORK": "sepolia", "ENCRYPT_KEYS": "true", "KEY_PASSWORD": "your_secure_password_here" } } } }
  1. 重启 Claude 桌面版
  2. 您现在可以要求 Claude 部署智能合约、检查余额或与 EVM 区块链进行交互

可用工具

MCP EVM 签名服务器公开了以下可与 Claude 一起使用的工具:

钱包管理

  • create-wallet :创建一个新的以太坊钱包
  • import-wallet :从私钥导入现有钱包
  • list-wallets :列出所有已保存的钱包

区块链操作

  • check-balance :检查地址的 ETH 余额
  • get-transactions :获取地址的最近交易
  • send-transaction :将 ETH 发送到某个地址

智能合约交互

  • deploy-contract :从 ABI 和字节码部署智能合约
  • call-contract :调用只读合约方法
  • execute-contract :执行修改状态的合同方法

示例用法

以下是如何与 Claude 一起使用这些工具的一些示例:

创建钱包

你可以问克劳德:

Could you create a new Ethereum wallet for me using the evm-signer tools?

检查余额

你可以问克劳德:

Can you check the balance of my Ethereum wallet 0x1234...5678 on the Sepolia network?

部署 ERC-20 代币

请参阅我们的ERC-20 代币示例,了解部署和与 ERC-20 代币合约交互的完整演练。

安全说明

  • 私钥存储在您的机器本地
  • 密钥可以用密码加密
  • 服务器仅通过 MCP 协议公开功能
  • 在 Claude for Desktop 中批准交易之前,务必先进行审查
  • 开始时使用 Sepolia 或 Goerli 等测试网络

文档

更详细的文档请参考:

项目结构

mcp-evm-signer/ ├── src/ # Source code │ ├── config.ts # Configuration management │ ├── crypto.ts # Key management utilities │ ├── ethereum.ts # Ethereum interaction functions │ └── index.ts # Main MCP server implementation ├── keys/ # Storage for wallet keys (gitignored) ├── examples/ # Example usage patterns ├── .env.example # Example environment variables └── ... # Project configuration files

发展

为该项目做出贡献:

  1. 分叉存储库
  2. 创建功能分支( git checkout -b feature/amazing-feature
  3. 进行更改
  4. 提交您的更改( git commit -m 'Add some amazing feature'
  5. 推送到分支( git push origin feature/amazing-feature
  6. 打开拉取请求

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

一个在本地安全地管理以太坊私钥并允许 Claude for Desktop 通过 Infura 与 EVM 兼容的区块链进行交互的服务器。

  1. 特征
    1. 快速入门
      1. 先决条件
      2. 安装
      3. 与 Claude 桌面版集成
    2. 可用工具
      1. 钱包管理
      2. 区块链操作
      3. 智能合约交互
    3. 示例用法
      1. 创建钱包
      2. 检查余额
      3. 部署 ERC-20 代币
    4. 安全说明
      1. 文档
        1. 项目结构
          1. 发展
            1. 执照

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Enables Claude to interact with Ethereum nodes, allowing users to check ENS token balances, view smart contract code, and decode transactions through natural language.
                Last updated -
                5
                1
                JavaScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                This server enables interaction between Neo4j databases and Claude Desktop, allowing users to execute Cypher queries, create nodes, and establish relationships in the database.
                Last updated -
                3
                227
                53
                TypeScript
                MIT License
              • A
                security
                A
                license
                A
                quality
                This server facilitates interaction with Keboola's Storage API, enabling users to browse and manage project buckets, tables, and components efficiently through Claude Desktop.
                Last updated -
                7
                68
                Python
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                Enables read and write interactions with 60+ blockchain networks through Claude Desktop, providing a standardized multi-chain API for transaction management, account insights, staking, and token interactions.
                Last updated -
                11
                3
                2
                TypeScript
                MIT License
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhangzhongnan928/mcp-evm-signer'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server