Skip to main content
Glama

OpenZeppelin Contracts MCP Server

Official
by OpenZeppelin
rollup.server.mjs562 B
import proc from 'child_process'; const state = (global.ROLLUP_SERVER = global.ROLLUP_SERVER || { server: undefined, }); export default function serve({ port = '8080' }) { function toExit() { if (state.server) state.server.kill(0); } return { writeBundle() { if (state.server) return; state.server = proc.spawn('npm', ['run', 'start', '--', '--dev', '-p', port], { stdio: ['ignore', 'inherit', 'inherit'], shell: true, }); process.on('SIGTERM', toExit); process.on('exit', toExit); }, }; }

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