
OpenZeppelin Contracts MCP Server
A Model Context Protocol (MCP) server that allows AI agents to generate smart contracts using OpenZeppelin Contracts libraries.
Tools
solidity-erc20
Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-erc721
Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-erc1155
Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-stablecoin
Make a stablecoin token that uses the ERC-20 standard. Experimental, some features are not audited and are subject to change. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-rwa
Make a real-world asset token that uses the ERC-20 standard. Experimental, some features are not audited and are subject to change. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-account
Make an account contract that follows the ERC-4337 standard. Experimental, some features are not audited and are subject to change. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-governor
Make a contract to implement governance, such as for a DAO. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
solidity-custom
Make a custom smart contract. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-erc20
Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-erc721
Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-erc1155
Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-account
Make a custom smart contract that represents an account that can be deployed and interacted with other contracts, and can be extended to implement custom logic. An account is a special type of contract that is used to validate and execute transactions. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-custom
Make a custom smart contract. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-multisig
Make a multi-signature smart contract, requiring a quorum of registered signers to approve and collectively execute transactions. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-governor
Make a contract to implement governance, such as for a DAO. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
cairo-vesting
Make a vesting smart contract that manages the gradual release of ERC-20 tokens to a designated beneficiary based on a predefined vesting schedule. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stellar-fungible
Make a fungible token per the Fungible Token Standard, compatible with SEP-41, similar to ERC-20. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stellar-stablecoin
Make a stablecoin that uses Fungible Token Standard, compatible with SEP-41. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stellar-non-fungible
Make a non-fungible token per the Non-Fungible Token Standard, compatible with SEP-50, similar to ERC-721. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stylus-erc20
Make a fungible token per the ERC-20 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stylus-erc721
Make a non-fungible token per the ERC-721 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
stylus-erc1155
Make a non-fungible token per the ERC-1155 standard. Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
README
OpenZeppelin Contracts Wizard
Contracts Wizard is a web application to interactively build a contract out of components from OpenZeppelin Contracts. Select the kind of contract that you want, set your parameters and desired features, and the Wizard will generate all of the code necessary. The resulting code is ready to be compiled and deployed, or it can serve as a starting point and customized further with application specific logic.
Usage
Use the Contracts Wizard at https://wizard.openzeppelin.com
MCP Servers
MCP Servers allow AI agents to generate smart contracts with the same options as the Contracts Wizard.
For local installation, see the Contracts MCP Server package.
For a hosted version, see OpenZeppelin MCP Servers.
TypeScript API
You can use the programmatic TypeScript API to generate contracts from your own applications.
View the API documentation for each smart contract language:
Embedding
To embed Contracts Wizard on your site, first include the script tag:
<script async src="https://wizard.openzeppelin.com/build/embed.js"></script>
Then place <oz-wizard></oz-wizard>
in the body where you want Contracts Wizard to load.
Optionally focus on specific tab with the data-tab
attribute as in <oz-wizard data-tab="ERC721"></oz-wizard>
.
For languages other than Solidity, use the data-lang
attribute, for example: <oz-wizard data-lang="cairo"></oz-wizard>
.
Contributing
We welcome contributions from the community! Here's how you can get involved:
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
If you are looking for a good place to start, find a good first issue here, or open an issue for a bug report or feature request.
You can find more details in our Contributing guide.
License
This project is licensed under the GNU Affero General Public License v3.0 - see the LICENSE file for details.
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。