# OpenZeppelin

Remote MCP server that generates Solidity smart contracts using OpenZeppelin standards. Helpful when drafting tokens, DAOs, or ERC-4337 accounts in an AI assistant.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1077 installs
- Author: openzeppelin
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/openzeppelin
- Updated: 2026-03-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/openzeppelin

## What it does

The server operates over an HTTP endpoint at `https://openzeppelin.run.tools`, providing eight tools for Solidity code generation. It covers standard token types like ERC-20, ERC-721, and ERC-1155, alongside DAO governance and ERC-4337 smart accounts. A generic builder is also available for arbitrary contract logic.

Generated contracts arrive directly in chat as Markdown blocks. The server never writes files to disk. You must save the resulting code into your repository yourself or delegate file creation to the coding assistant.

Templates for stablecoins and real-world asset (RWA) contracts remain experimental. OpenZeppelin flags parts of their code as unaudited and subject to future revisions.

## Requirements
- Remote server: `https://openzeppelin.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http openzeppelin https://openzeppelin.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add openzeppelin --url https://openzeppelin.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "openzeppelin": {
            "url": "https://openzeppelin.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "openzeppelin": {
            "type": "http",
            "url": "https://openzeppelin.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http openzeppelin https://openzeppelin.run.tools
```

## When to use it
- generate token contracts following ERC-20, ERC-721, or ERC-1155 standards
- scaffold a DAO governance contract using OpenZeppelin guidelines
- create an account abstraction contract matching ERC-4337
- draft experimental contracts for stablecoins or real-world assets

## Example prompts
- Generate a burnable ERC-20 token contract using the `solidity-erc20` tool
- Scaffold a DAO governance contract via `solidity-governor`
- Create an ERC-4337 smart account using `solidity-account`

## Similar
- [Ethereum Developer](https://affpapa.org/en/nevibecode/prompts/ethereum-developer.md) — prompt · ★ 178201 repo stars
- [use-smart-contract-platform](https://affpapa.org/en/nevibecode/skills/use-smart-contract-platform.md) — skill · 1000 installs
- [ethskills](https://affpapa.org/en/nevibecode/skills/ethskills.md) — skill · 2500 installs
- [blockchain-developer](https://affpapa.org/en/nevibecode/skills/blockchain-developer.md) — skill · 1300 installs
- [ethereum](https://affpapa.org/en/nevibecode/skills/ethereum.md) — skill · 783 installs
- [upgrade-solidity-contracts](https://affpapa.org/en/nevibecode/skills/upgrade-solidity-contracts.md) — skill · 519 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
