Model Context Protocol servers repository for OpenZeppelin products.
This repository contains the code for the Model Context Protocol (MCP) servers repository for OpenZeppelin products.
For configuration instructions, visit mcp.openzeppelin.com.
The following MCP servers are provided:
- Solidity Contracts
- Cairo Contracts
- Stellar Contracts
- Stylus Contracts
These servers are hosted versions of the OpenZeppelin Contracts MCP package, which can also be run locally by following the instructions in the linked readme.
- Node.js v22.x
- Bun
- Git
- Clone the repository:
git clone https://github.com/openzeppelin/openzeppelin-mcp.git
cd openzeppelin-mcp
- Install dependencies:
bun install
- Start development server:
bun run dev
bun run test
- Build production bundle:
bun run build
- Start production server:
bun run start
- Build image:
docker build --build-arg GA4_API_SECRET="$GA4_API_SECRET" --build-arg NEXT_PUBLIC_GA4_MEASUREMENT_ID="$NEXT_PUBLIC_GA4_MEASUREMENT_ID" -t openzeppelin-mcp .
- Run container:
docker run -it -p 3000:3000 openzeppelin-mcp