OpenZeppelin Contracts MCP Server

OpenZeppelin Contracts MCP Server

A Model Context Protocol (MCP) server that allows AI agents to generate smart contracts using OpenZeppelin Contracts libraries.

Category
Visit Server

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

Solidity NPM Package Cairo NPM Package Stellar NPM Package Stylus NPM Package Contracts MCP NPM Package Netlify Status

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:

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured