We are excited to launch Contracts MCP, a server‑based engine that brings OpenZeppelin’s Contracts proven security and style rules directly into any AI‑driven development workflow. Whether you’re writing code in Cursor, Claude, Gemini, Windsurf, or VS Code, Contracts MCP provides AI with the tools it needs to generate safe, correct, and production-ready contracts—no manual rule‑writing required.
Automated Enforcement of OpenZeppelin Standards
Every line of smart contract code generated by the Contracts MCP is validated against the same rule‑set that powers our Contracts Wizard. Imports, modifiers, naming conventions, security checks—Contracts MCP applies them all automatically, so you never miss a best practice or introduce a common vulnerability.
Seamless Integration with Your Favorite AI
From a one‑click button to fully manual setup, adding Contracts MCP to your AI assistant takes seconds. Choose your platform, connect via API, and prompt as usual—Cursor, Claude, Gemini, Windsurf, or VS Code will route each request through Contracts MCP, returning OpenZeppelin‑compliant code.
Build Any Contract available in the Contracts Wizard
Contracts MCP supports every template available in the Contracts Wizard—so you can generate a wide range of contracts for various use cases:
Solidity Contracts: ERC‑20, ERC‑721, ERC‑1155, Stablecoin, RWA, Governor, Account
Cairo Contracts: ERC‑20, ERC‑721, ERC‑1155, Multisig, Governor, Vesting
Stylus Contracts: ERC‑20, ERC‑721, ERC‑1155
Stellar Contracts: Fungible Token, NonFungible Token, Stablecoin
One‑Click or Manual Setup
Visit mcp.openzeppelin.com, select your preferred MCP-enabled AI assistant, and you will be ready to prompt in a few clicks. If one-click setup is not available, just make sure to follow the setup instructions to get ready in no time.
Broad Ecosystem Support
Contracts MCP is live for all EVM chain, Arbitrum Stylus, Starknet, and Stellar environments. As we support new ecosystems and languages, we will also release the related MCP packages.
Prompt‑Driven Workflows
Simply instruct your AI assistant to “Generate an ERC‑20 token contract,” or “Scaffold an Accounts module.” Behind the scenes, your prompt is sent through Contracts MCP, and you receive secure, OpenZeppelin-standard code in seconds.
Future‑Ready Extensions
We’re adding native integrations on user demand. If your AI platform isn’t listed, let us know by raising an issue on GitHub—Contracts MCP is designed for rapid extension across the latest and greatest developer tools.
Go to mcp.openzeppelin.com and select your preferred Contracts (Solidity, Stylus, Cairo, or Stellar)
Choose Your AI Integration
Click the one‑click setup button for Cursor or VS Code, or go ahead with manual setup for Claude, Gemini, and Windsurf. Follow the instructions to get the Contracts MCP setup in your AI assistant.
Prompt Your AI Assistant
In your AI tool, issue a prompt like "Generate a ERC‑20 contract with mintable, burnable, and pausable features". Each request passes through the Contracts MCP, which injects OpenZeppelin’s Wizard logic and returns code that’s secure, correct, and follows OpenZeppelin standards.
In our hands‑on walkthrough, we demonstrate how Contracts MCP transforms AI‑driven coding:
ERC‑20 Token Example: See side‑by‑side results of raw AI output versus MCP‑enforced code. Notice how the Contracts MCP produce a better and safer output.
Account Contract Example: Watch the Contracts MCP Server automatically insert best‑practice patterns for to create an account handling common pitfalls.
Visit mcp.openzeppelin.com now and start building secure, OpenZeppelin‑standard contracts with your favorite AI.
Have feedback or spot an issue? Submit it on GitHub to help us keep improving Contracts MCP!