Skip to main content
Connect your AI tools to the LayerZero documentation MCP server so they can search the docs in real-time while generating responses. MCP server URL:
https://docs.layerzero.network/mcp

IDEs

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.json
{
  "mcpServers": {
    "layerzero-docs": {
      "url": "https://docs.layerzero.network/mcp"
    }
  }
}
MCP tools are only available in Cursor’s Agent mode, not in Ask or normal chat mode.

AI assistants

Run a single command to add the server:
claude mcp add --transport http layerzero-docs https://docs.layerzero.network/mcp
Verify it was added:
claude mcp list
Scope options:
FlagScope
--scope userAvailable across all your projects
--scope projectShared via .mcp.json at project root (committable)
Use /mcp inside a Claude Code session to check server status.

Other MCP clients

Edit your Zed settings file (open via Zed > Settings > Open Settings or Cmd+,):
{
  "context_servers": {
    "layerzero-docs": {
      "command": {
        "path": "npx",
        "args": ["-y", "mcp-remote", "https://docs.layerzero.network/mcp"]
      }
    }
  }
}
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:
  1. Open your AI tool and start a new conversation or agent session.
  2. 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?”
  3. The AI should pull answers directly from the docs and include links to relevant pages.
If the AI does not search the docs, check that:
  • 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.