
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@openzeppelin/contracts-mcp
Advanced tools
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>-<contract>
.
Language | Contracts |
---|---|
solidity | erc20, erc721, erc1155, stablecoin, rwa, account, governor, custom |
cairo | erc20, erc721, erc1155, account, multisig, governor, vesting, custom |
stellar | fungible, stablecoin, non-fungible |
stylus | erc20, erc721, erc1155 |
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.
FAQs
OpenZeppelin Contracts MCP Server
We found that @openzeppelin/contracts-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.