MCP.so
登录

Smart-Contract MCP Server Generator

@tawago

基本信息

分类

开发工具

许可证

Apache-2.0 license

传输方式

stdio

作者

tawago

关于 Smart-Contract MCP Server Generator

Artifact2MCP Generator allows generation of MCP server automatically & dynamically given smart contract's compiled artifact (chain‑agnostic)

Smart-Contract MCP Server Generator 配置

暂无标准配置

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

代码仓库

Smart-Contract MCP Server Generator 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Smart-Contract MCP Server Generator?

A chain-agnostic tool that automatically generates typed MCP (Model Context Protocol) servers from smart contract artifacts (ABIs, IDLs, etc.). The generated servers expose smart contract functionality as tools that can be used by Large Language Models (LLMs) through the Model Context Protocol.

How to use Smart-Contract MCP Server Generator?

Install via go install github.com/openhands/mcp-generator/cmd/generate-mcp@latest, then use the CLI with flags such as --artifact, --lang, --chain, and --output. For example, generate-mcp --artifact path/to/abi.json --lang ts --output ./my-mcp-server generates a TypeScript MCP server from an Ethereum ABI.

Key features of Smart-Contract MCP Server Generator

  • Generates typed MCP servers from smart contract ABIs/IDLs
  • Supports multiple blockchain platforms (Ethereum, Solana, etc.)
  • Customizable templates for TypeScript and Python
  • CLI tool for easy integration into development workflows
  • Chain-agnostic design

Use cases of Smart-Contract MCP Server Generator

  • Creating an MCP server for an ERC-20 token to enable LLM balance queries
  • Generating Solana program tools for AI assistants
  • Rapidly prototyping smart contract interfaces for AI agents

常见问题

1

What is MCP?

The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs. It enables LLMs to securely access tools and data sources through a standardized client-server architecture.

2

Which blockchain platforms are supported?

The tool currently supports Ethereum, Solana, and other platforms through the use of ABIs and IDLs.

3

How do I install the CLI?

Run `go install github.com/openhands/mcp-generator/cmd/generate-mcp@latest`.

4

Is this project production-ready?

No, the project is still a work in progress. See the Phase 1 issue for current development status.

5

How can I test the generated MCP servers?

The project includes end-to-end tests using Playwright and the MCP Inspector. Run `cd mcp-tests && npm install && ./run-tests.sh` to verify connectivity, tool listing, execution, and error handling.

评论

开发工具 分类下的更多 MCP 服务器