Skip to main content
Glama

OpenZeppelin Contracts MCP Server

Official
by OpenZeppelin

solidity-stablecoin

Generate ERC-20 stablecoin contracts with customizable features like minting, burning, pausing, and cross-chain bridging. Returns formatted Solidity code for immediate use in smart contract development.

Instructions

Make a stablecoin token that uses the ERC-20 standard. Experimental, some features are not audited and are subject to change.

Returns the source code of the generated contract, formatted in a Markdown code block. Does not write to disk.

Input Schema

NameRequiredDescriptionDefault
accessNoThe type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileged action. A role can have many authorized accounts. Managed enables a central contract to define a policy that allows certain callers to access certain functions.
burnableNoWhether token holders will be able to destroy their tokens
callbackNoWhether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.
crossChainBridgingNoWhether to allow authorized bridge contracts to mint and burn tokens for cross-chain transfers. Options are to use custom bridges on any chain, or the SuperchainERC20 standard with the predeployed SuperchainTokenBridge. Emphasize that these features are experimental, not audited and are subject to change. The SuperchainERC20 feature is only available on chains in the Superchain, and requires deploying your contract to the same address on every chain in the Superchain.
custodianNoWhether authorized accounts can freeze and unfreeze accounts for regulatory or security purposes. This feature is experimental, not audited and is subject to change.
flashmintNoWhether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.
infoNoMetadata about the contract and author
limitationsNoWhether to restrict certain users from transferring tokens, either via allowing or blocking them. This feature is experimental, not audited and is subject to change.
mintableNoWhether privileged accounts will be able to create more supply or emit more tokens
nameYesThe name of the contract
pausableNoWhether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.
permitNoWhether without paying gas, token holders will be able to allow third parties to transfer from their account.
premintNoThe number of tokens to premint for the deployer.
premintChainIdNoThe chain ID of the network on which to premint tokens.
symbolYesThe short symbol for the token
votesNoWhether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "access": { "anyOf": [ { "enum": [ "ownable", "roles" ], "type": "string" }, { "const": "managed", "type": "string" } ], "description": "The type of access control to provision. Ownable is a simple mechanism with a single account authorized for all privileged actions. Roles is a flexible mechanism with a separate role for each privileged action. A role can have many authorized accounts. Managed enables a central contract to define a policy that allows certain callers to access certain functions." }, "burnable": { "description": "Whether token holders will be able to destroy their tokens", "type": "boolean" }, "callback": { "description": "Whether to include support for code execution after transfers and approvals on recipient contracts in a single transaction.", "type": "boolean" }, "crossChainBridging": { "description": "Whether to allow authorized bridge contracts to mint and burn tokens for cross-chain transfers. Options are to use custom bridges on any chain, or the SuperchainERC20 standard with the predeployed SuperchainTokenBridge. Emphasize that these features are experimental, not audited and are subject to change. The SuperchainERC20 feature is only available on chains in the Superchain, and requires deploying your contract to the same address on every chain in the Superchain.", "enum": [ "custom", "superchain" ], "type": "string" }, "custodian": { "description": "Whether authorized accounts can freeze and unfreeze accounts for regulatory or security purposes. This feature is experimental, not audited and is subject to change.", "type": "boolean" }, "flashmint": { "description": "Whether to include built-in flash loans to allow lending tokens without requiring collateral as long as they're returned in the same transaction.", "type": "boolean" }, "info": { "additionalProperties": false, "description": "Metadata about the contract and author", "properties": { "license": { "description": "The license used by the contract, default is \"MIT\"", "type": "string" }, "securityContact": { "description": "Email where people can contact you to report security issues. Will only be visible if contract source code is verified.", "type": "string" } }, "type": "object" }, "limitations": { "anyOf": [ { "enum": [ false, "allowlist" ], "type": [ "boolean", "string" ] }, { "const": "blocklist", "type": "string" } ], "description": "Whether to restrict certain users from transferring tokens, either via allowing or blocking them. This feature is experimental, not audited and is subject to change." }, "mintable": { "description": "Whether privileged accounts will be able to create more supply or emit more tokens", "type": "boolean" }, "name": { "description": "The name of the contract", "type": "string" }, "pausable": { "description": "Whether privileged accounts will be able to pause specifically marked functionality. Useful for emergency response.", "type": "boolean" }, "permit": { "description": "Whether without paying gas, token holders will be able to allow third parties to transfer from their account.", "type": "boolean" }, "premint": { "description": "The number of tokens to premint for the deployer.", "type": "string" }, "premintChainId": { "description": "The chain ID of the network on which to premint tokens.", "type": "string" }, "symbol": { "description": "The short symbol for the token", "type": "string" }, "votes": { "description": "Whether to keep track of historical balances for voting in on-chain governance. Voting durations can be expressed as block numbers or timestamps.", "enum": [ "blocknumber", "timestamp" ], "type": "string" } }, "required": [ "name", "symbol" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenZeppelin/contracts-wizard'

If you have feedback or need assistance with the MCP directory API, please join our Discord server