Home / OpenZeppelin Solidity Contracts MCP / Setup guides / VS Code
How to add the OpenZeppelin Solidity Contracts MCP server to VS Code (GitHub Copilot)
Server URL: https://mcp.openzeppelin.com/contracts/solidity/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Works 6 of 6 tasks passed, tested Oct 16, 2026 with MCP TypeScript SDK (reference client).
VS Code setup
File: .vscode/mcp.json
{
"servers": {
"openzeppelin-solidity": {
"type": "http",
"url": "https://mcp.openzeppelin.com/contracts/solidity/mcp"
}
}
}- Save the file and click Start above the server entry. VS Code asks you to trust the server.
- No sign-in is needed.
We ran the hands-on test in a reference client, not in VS Code. This config follows VS Code's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Same server, other clients
- OpenZeppelin Solidity Contracts MCP in Claude
- OpenZeppelin Solidity Contracts MCP in Claude Code
- OpenZeppelin Solidity Contracts MCP in Cursor
- OpenZeppelin Solidity Contracts MCP in ChatGPT
Full OpenZeppelin Solidity Contracts test report | Compare all tested connectors | Connector Weather