Connect OpenZeppelin Solidity to your agents
A trial starts first, then a project installs OpenZeppelin Solidity from its marketplace.
OpenZeppelin Solidity MCP server
OpenZeppelin Solidity gives agents EVM contracts from a library teams trust
Install the OpenZeppelin Solidity MCP server in an Aldena project and agents generate Ethereum and EVM contracts in Solidity, from tokens to ERC-4337 accounts.
- Sign-in
- None
- Installs as
openzeppelin-solidity- Transport
- Streamable HTTP
OpenZeppelin's Solidity MCP server generates smart contracts for Ethereum and other EVM chains from OpenZeppelin Contracts, the Solidity library much of the ecosystem is built on. Eight tools cover ERC-20, ERC-721 and ERC-1155 tokens, ERC-4337 accounts, governors and custom contracts, plus two experimental token types for stablecoins and real-world assets. Every tool returns Solidity source as Markdown, with no account needed.
In an Aldena project an agent uses it the way an engineer uses OpenZeppelin's wizard, then keeps going. Asked for an NFT collection with a capped supply, it calls solidity-erc721, saves the contract into the repository in its conversation's sandbox, writes tests for minting limits and ownership, runs them, and opens a pull request through the GitHub connector. For the experimental stablecoin and RWA contracts it says so in the description, so nobody mistakes a draft for audited code.
The tools carry no read-only mark and start on ask in the project's permissions. Starknet teams use the OpenZeppelin Cairo MCP server instead, and a scan with the Semgrep MCP server or a check with the Zenable MCP server fits before a human review.
With OpenZeppelin Solidity, your agents can
Generate Solidity tokens for the ERC-20, ERC-721 and ERC-1155 standards
Draft stablecoin and real-world asset tokens, both marked experimental
Create ERC-4337 account contracts for account abstraction
Generate governor contracts for on-chain DAO voting
Try asking
Things to ask an agent in a project chat once it's installed.
“Use OpenZeppelin Solidity to generate an ERC-721 collection called Field Notes with a capped supply and owner-only minting, then add Foundry tests for both rules.”
“Generate a Solidity governor contract for our protocol token with a two-day voting period and explain each setting it chose.”
“Draft an ERC-4337 account contract with OpenZeppelin Solidity and list what we would still need before an audit.”
OpenZeppelin Solidity MCP tools
| Tool | What it does | Access |
|---|---|---|
solidity-erc20Generates a fungible ERC-20 token contract in Solidity | Generates a fungible ERC-20 token contract in Solidity | Read |
solidity-erc721Generates an ERC-721 non-fungible token contract in Solidity | Generates an ERC-721 non-fungible token contract in Solidity | Read |
solidity-erc1155Generates an ERC-1155 multi-token contract in Solidity | Generates an ERC-1155 multi-token contract in Solidity | Read |
solidity-stablecoinGenerates an experimental, non-upgradeable stablecoin built on ERC-20 | Generates an experimental, non-upgradeable stablecoin built on ERC-20 | Read |
solidity-rwaGenerates an experimental, non-upgradeable real-world asset token built on ERC-20 | Generates an experimental, non-upgradeable real-world asset token built on ERC-20 | Read |
solidity-accountGenerates an account contract that follows ERC-4337 | Generates an account contract that follows ERC-4337 | Read |
solidity-governorGenerates a governance contract, such as for a DAO | Generates a governance contract, such as for a DAO | Read |
solidity-customGenerates a custom Solidity smart contract | Generates a custom Solidity smart contract | Read |
Server
- Server URL
https://mcp.openzeppelin.com/contracts/solidity/mcp- Website
- openzeppelin.com
- MCP docs
- OpenZeppelin Solidity MCP docs
How to connect OpenZeppelin Solidity
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install OpenZeppelin Solidity
Search for OpenZeppelin Solidity and press Install. Aldena adds it as
openzeppelin-solidity. - Nothing to sign in to
Aldena installs OpenZeppelin Solidity with no sign-in or key, so its tool calls carry no credentials.
- Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
Are the stablecoin and RWA contracts ready for production?
OpenZeppelin marks both as experimental: some of their features are not audited and may change, and neither supports upgradeability. Treat what the agent generates as a starting point for your own review and audit, not as code to deploy as it stands.
Do I need an OpenZeppelin account to use the Solidity server?
No. The marketplace installs OpenZeppelin's public server with no sign-in or key, and its eight tools work as soon as it connects. They are not marked read-only, so Aldena starts them on ask; move them to allow in the project's permissions when you are comfortable.
What happens to the Solidity code the server returns?
It arrives as a Markdown code block in the conversation and nothing is written anywhere. The agent puts it into the repository in its sandbox, compiles it and runs your test suite, then opens a pull request, so generated contracts go through the same review as hand-written ones.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.