A Model Context Protocol (MCP) server that allows AI agents to generate smart contracts using OpenZeppelin Contracts libraries. This server runs locally and requires Node.js to be installed. For a hosted version, see OpenZeppelin MCP Servers. Provides tools to generate smart contract source code for the following languages and contract kinds. Resulting contracts use OpenZeppelin Contracts librarie
Add this skill
npx mdskills install OpenZeppelin/contracts-wizardWell-documented MCP server for generating smart contracts across multiple blockchain languages
A Model Context Protocol (MCP) server that allows AI agents to generate smart contracts using OpenZeppelin Contracts libraries.
This server runs locally and requires Node.js to be installed. For a hosted version, see OpenZeppelin MCP Servers.
Warning:
AI agents determine when and how to use the MCP server and therefore may produce inaccurate results. You should always review any information produced by the AI agent to ensure that any results are accurate and suit your purposes.
Provides tools to generate smart contract source code for the following languages and contract kinds. Resulting contracts use OpenZeppelin Contracts libraries for each language. Tools are named in the format -.
| Language | Contracts |
|---|---|
| solidity | erc20, erc721, erc1155, stablecoin, rwa, account, governor, custom |
| cairo | erc20, erc721, erc1155, account, multisig, governor, vesting, custom |
| confidential | erc7984 |
| stellar | fungible, stablecoin, non-fungible |
| stylus | erc20, erc721, erc1155 |
| uniswap-hooks | hooks (tool name is just uniswap-hooks) |
For quick installation, use the button below.
For manual installation:
{
"mcpServers": {
"OpenZeppelinContracts": {
"command": "npx",
"args": [
"-y",
"@openzeppelin/contracts-mcp"
]
}
}
}
claude mcp add OpenZeppelinContracts -- npx -y @openzeppelin/contracts-mcp
For quick installation, use one of the buttons below.
For manual installation:
{
"servers": {
"OpenZeppelinContracts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@openzeppelin/contracts-mcp"
]
}
}
}
When interacting with an AI agent, for example in your IDE's Write or Agent mode, ask it to write or modify smart contracts for your use case. When the AI agent determines it is appropriate to do so, it will use the MCP server to generate the contracts or determine best practices for your use case.
Install via CLI
npx mdskills install OpenZeppelin/contracts-wizardOpenZeppelin Contracts MCP Server is a free, open-source AI agent skill. A Model Context Protocol (MCP) server that allows AI agents to generate smart contracts using OpenZeppelin Contracts libraries. This server runs locally and requires Node.js to be installed. For a hosted version, see OpenZeppelin MCP Servers. Provides tools to generate smart contract source code for the following languages and contract kinds. Resulting contracts use OpenZeppelin Contracts librarie
Install OpenZeppelin Contracts MCP Server with a single command:
npx mdskills install OpenZeppelin/contracts-wizardThis downloads the skill files into your project and your AI agent picks them up automatically.
OpenZeppelin Contracts MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.