MCP.so
登录

Layer2 MCP Server

@anylots

关于 Layer2 MCP Server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

anylots

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Layer2 MCP Server?

Layer2 MCP Server is a Model Context Protocol server that lets AI models interact with Ethereum layer 2 networks. It provides a standardized interface for deploying ERC20 tokens, managing transactions, and testing cross-chain operations.

How to use Layer2 MCP Server?

Clone the repository, install dependencies with npm install, and build with npm run build. Configure a .env file with PRIVATE_KEY and ETH_L2_RPC. Then add the server to a client like Claude Desktop or Cursor using the provided configuration. For testing, run npm start and use MCP Inspector.

Key features of Layer2 MCP Server

  • Deploy new ERC20 token contracts
  • Transfer ETH to a specific address
  • Transfer ERC20 tokens to a specific address
  • Perform batch transfers to random addresses for testing
  • Support for L1 settlement and data availability verification

Use cases of Layer2 MCP Server

  • Deploying and testing ERC20 tokens on L2 test networks
  • Transferring ETH or tokens via natural language commands
  • Simulating high‑volume token transfers with batch tool
  • Integrating blockchain capabilities into AI workflows

FAQ from Layer2 MCP Server

What environment variables are required?

You need PRIVATE_KEY (your Ethereum private key) and ETH_L2_RPC (the RPC URL of the target layer 2 chain).

Which networks are supported?

Any Ethereum‑compatible network, including Ethereum Mainnet, layer 2 chains (Optimism, Arbitrum, etc.), and local development networks (Hardhat/Ganache).

How do I add the server to Claude Desktop?

Add a JSON entry with the command set to node, args pointing to the built script, and env containing PRIVATE_KEY and ETH_L2_RPC.

Can I test the server without a client like Claude?

Yes. Use MCP Inspector by running mcp-inspector after starting the server with npm start, then open http://localhost:5173.

评论

其他 分类下的更多 MCP 服务器