# OpenZeppelin/contracts-wizard [Official] [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/OpenZeppelin/contracts-wizard/tree/master/packages/mcp  
**GitHub Stars:** 296  
**npm Downloads (last month):** 1022  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/openzeppelin-contracts-wizard

## Description
A Model Context Protocol (MCP) server that allows AI agents to generate secure smart contracts in multiples languages based on OpenZeppelin Wizard templates.

## Tools
Capabilities this server exposes over MCP:

- **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. This contract type does not support upgradeability. 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. This contract type does not support upgradeability. 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.

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-erc6909** — Make a minimal multi-token per the ERC-6909 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-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.
- **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.
- **confidential-erc7984** — Make a confidential fungible token in Solidity according to the ERC-7984 standard, similar to ERC-20 but with confidentiality.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **stellar-account** — Make a smart account contract that authorizes operations through configurable signers and policies, for example a multisig with passkey, Ed25519 and delegated signers.

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-governor** — Make a governor contract for on-chain governance using token-based voting.

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.
- **stellar-vault** — Make a tokenized vault that issues Fungible Token shares for an underlying asset, similar to ERC-4626.

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.
- **tron-trc20** — Make a fungible token per the TRC-20 standard, targeting the TRON Virtual Machine.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **tron-trc721** — Make a non-fungible token per the TRC-721 standard, targeting the TRON Virtual Machine.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **tron-trc1155** — Make a multi-token contract per the TRC-1155 standard, targeting the TRON Virtual Machine.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **tron-governor** — Make a contract to implement governance, such as for a DAO, targeting the TRON Virtual Machine.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **tron-custom** — Make a custom smart contract, targeting the TRON Virtual Machine.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.
- **uniswap-hooks** — Make a Uniswap v4 hook contract using the OpenZeppelin Uniswap Hooks library.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "contracts-wizard": {
    "command": "npx",
    "args": ["-y","@openzeppelin/contracts-mcp"]
  }
}
```

## Documentation

## What OpenZeppelin/contracts-wizard does

OpenZeppelin/contracts-wizard connects an MCP-compatible AI client to contract generators based on OpenZeppelin Contracts libraries. Its tools create source code for common token and smart-contract patterns rather than editing a project or writing files to disk. Each result is returned as source inside a Markdown code block.

The available families cover Solidity, Cairo, confidential Solidity, Stellar, Stylus, and TRON. Solidity generators include ERC-20, ERC-721, ERC-1155, stablecoin, real-world asset, account, governor, and custom contracts. Cairo adds ERC-6909, multisig, and vesting generators. Other supported patterns include confidential ERC-7984, Stellar fungible and non-fungible tokens, Stellar vaults and accounts, Stylus token standards, and TRON TRC-20, TRC-721, and TRC-1155 contracts.

## How it works

The server runs locally and communicates with an MCP client over a standard process configuration. Tool names identify the language and contract kind, such as `solidity-erc20` or `cairo-account`. An AI agent can select and call an appropriate generator while helping write or modify a smart contract. The generated source is sent back in the tool response for the agent or developer to inspect and use.

Clients that support MCP Apps can also display an interactive Wizard interface for each tool. The interface provides the options for the selected contract type, a live code preview, and a way to return the current source to the agent. Cursor and Claude are examples of clients identified as supporting this extension. Clients without MCP Apps support still receive the generated source as Markdown text.

## Setup and configuration

Node.js is required because the package runs locally. The documented installation uses the npm package through `npx`:

```json
{
  "mcpServers": {
    "OpenZeppelinContracts": {
      "command": "npx",
      "args": ["-y", "@openzeppelin/contracts-mcp"]
    }
  }
}
```

Cursor, Windsurf, Claude Desktop, and VS Code can use this stdio configuration in their MCP settings. Claude Code can add the server with:

```sh
claude mcp add OpenZeppelinContracts -- npx -y @openzeppelin/contracts-mcp
```

When running from a local checkout or a `file:` dependency, the MCP Apps HTML must be built with `yarn --cwd packages/mcp build:apps`. Published npm packages include those generated app files.

## Tools and capabilities

The generator set includes:

- Solidity ERC-20, ERC-721, ERC-1155, stablecoin, RWA, account, governor, and custom contracts.
- Cairo ERC-20, ERC-721, ERC-1155, ERC-6909, account, multisig, governor, vesting, and custom contracts.
- Confidential ERC-7984 fungible tokens.
- Stellar fungible, stablecoin, non-fungible, governor, vault, and account contracts.
- Stylus ERC-20, ERC-721, and ERC-1155 contracts.
- TRON TRC-20, TRC-721, and TRC-1155 contracts.

The source output is intended as a starting point for development. Stablecoin and real-world asset Solidity generators are marked experimental, do not support upgradeability, and include features that may be unaudited or subject to change.

## Limitations and notes

The server does not save generated contracts to disk. Developers must copy or integrate the returned source into their own project. AI agents decide when and how to call the tools, so generated code and recommendations require technical review for correctness and suitability. The hosted alternative is separate from this local package.

_Full upstream README: https://allmcps.com/mcp/openzeppelin-contracts-wizard/readme_

