IDEs
- Cursor
- VS Code
- Windsurf
- JetBrains
Option 1: One-click install
Visit any page on docs.layerzero.network and click the contextual menu button (top-right). Select Connect to Cursor to install the MCP server automatically.Option 2: Manual configuration
Add the server to your Cursor MCP config file:Global (all projects):~/.cursor/mcp.jsonProject-level: <project-root>/.cursor/mcp.jsonAI assistants
- Claude Code
- Claude Desktop
- ChatGPT
- Codex CLI
Run a single command to add the server:Verify it was added:Scope options:
Use
| Flag | Scope |
|---|---|
--scope user | Available across all your projects |
--scope project | Shared via .mcp.json at project root (committable) |
/mcp inside a Claude Code session to check server status.Other MCP clients
- Zed
- Any MCP client
Edit your Zed settings file (open via Zed > Settings > Open Settings or
Cmd+,):Zed uses the
mcp-remote wrapper for remote MCP servers. Requires Node.js to be installed. A green indicator dot in the Agent Panel confirms the server is connected.Verifying the connection
After setup, test that your AI tool can reach the LayerZero docs:- Open your AI tool and start a new conversation or agent session.
- Ask a question about LayerZero, for example:
- “What is the OFT standard in LayerZero?”
- “How do I configure DVN security for my OApp?”
- “What chains does LayerZero support?”
- The AI should pull answers directly from the docs and include links to relevant pages.
- The MCP server is enabled and connected (check your tool’s MCP settings panel).
- You are in Agent mode (Cursor, VS Code) rather than standard chat.
- The server URL is exactly
https://docs.layerzero.network/mcp.