DM

dushaobindoudou/mcp-wallet

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

11 stars 3 forks Качество 67 Тренд 18MIT

A comprehensive Web3 wallet SDK based on the MCP (Model-Context-Protocol) for interacting with Monad and other EVM-compatible blockchains.

Обзор

A comprehensive Web3 wallet SDK based on the MCP (Model-Context-Protocol) for interacting with Monad and other EVM-compatible blockchains. This library provides a secure, feature-rich wallet implementation that can be integrated into any JavaScript/TypeScript application or used directly with AI assistants that support MCP. MCP Wallet is primarily designed to work with MCP-enabled AI assistants. The Model Context Protocol (MCP) is an open standard that enables secure, two-way connections between AI models and external tools like this wallet. MCP (Model-Context-Protocol) is a protocol that allows AI models to interact with external tools and services. In the context of this wallet: - It enables AI assistants to help users manage their crypto assets securely - It provides standardized ways for LLMs to access wallet functionality - It maintains security boundaries to protect private keys and sensitive operations This wallet exposes the following capabilities through MCP: 1.

README

Показан фрагмент оригинального README. Открыть оригинал.

MCP Wallet

A comprehensive Web3 wallet SDK based on the MCP (Model-Context-Protocol) for interacting with Monad and other EVM-compatible blockchains. This library provides a secure, feature-rich wallet implementation that can be integrated into any JavaScript/TypeScript application or used directly with AI assistants that support MCP.

中文文档 | MCP Integration Guide

🤖 MCP Integration - Core Features

MCP Wallet is primarily designed to work with MCP-enabled AI assistants. The Model Context Protocol (MCP) is an open standard that enables secure, two-way connections between AI models and external tools like this wallet.

What is MCP?

MCP (Model-Context-Protocol) is a protocol that allows AI models to interact with external tools and services. In the context of this wallet:

  • It enables AI assistants to help users manage their crypto assets securely
  • It provides standardized ways for LLMs to access wallet functionality
  • It maintains security boundaries to protect private keys and sensitive operations

MCP Capabilities

This wallet exposes the following capabilities through MCP:

  1. Read-only operations: Get wallet address, check balances, view transaction history
  2. Preparation operations: Create transaction objects, estimate gas fees, suggest swap routes
  3. Information services: Token price information, network status, chain information
  4. Security-focused design: No direct access to private keys, user confirmation required for transactions

Supported Operations

The MCP Wallet supports the following operations through MCP:

Basic Operations

  • Get wallet address and balance
  • View transaction history
  • Check gas prices
  • Estimate transaction fees

Token Operations

  • View ERC-20 token balances
  • Transfer ERC-20 tokens
  • View ERC-721 (NFT) balances
  • Transfer NFTs
  • Get token prices and market data

DeFi Operations

  • Token swaps via Uniswap
    • MONAD to token swaps
    • Token to token swaps
    • Support for multiple DEX protocols
    • Custom slippage and deadline settings

Cross-chain Operations

  • Bridge assets between chains
    • Support for Across Protocol
    • Support for major EVM chains (Monad, Ethereum, Polygon, Arbitrum, Optimism)
    • Cross-chain token transfers
    • Bridge fee estimation

Transaction Management

  • Create and prepare transactions
  • Gas fee estimation and optimization
  • Transaction status monitoring
  • Transaction history tracking

Security Operations

  • Read-only mode for safe browsing
  • Multi-Party Computation (MPC) support
  • Transaction approval workflows
  • Rate limiting and access controls

Operation Examples

Here are some examples of how to interact with the wallet through natural language prompts:

Basic Operations

"What's my wallet balance?"
"Show me my recent transactions"
"What's the current gas price?"
"Get my wallet address"

Token Operations

"Check my USDC balance"
Открыть полный README на GitHub

Установка

npx -y mcp-wallet-mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "mcp-server-wallet": { "command": "npx", "args": ["-y", "mcp-wallet-mcp"], "env": { "MCP_PRIVATE_KEY": "0x...", } } } }