Skip to main content
MCP (Model Context Protocol) is an open protocol that standardizes how AI tools connect to external data sources. LayerZero documentation includes a hosted MCP server that any compatible AI tool can query in real-time.

MCP server

https://docs.layerzero.network/mcp
Any MCP-compatible AI tool (Claude Code, Cursor, VS Code Copilot, Windsurf, ChatGPT, Codex, and others) can connect to this server and search LayerZero documentation while generating responses. The AI determines when to search based on conversation context — no manual triggering needed.
MCPWeb Search
SourceCurrent indexed docs directlyWhatever search engines have crawled
FreshnessUpdates with the latest deploymentMay be stale
NoiseOnly LayerZero documentation contentIncludes SEO-ranked unrelated results
IntegrationInline during AI response generationSeparate step
MCP gives the AI direct access to the latest version of the docs. It does not consume context until the AI actually calls the search tool, and it only searches when the query is relevant — it will not search every connected server for every question.

Quick setup

What it exposes

The MCP server exposes a single search tool (SearchLayerZero) that AI applications can query. The tool accepts a query string and returns matching documentation pages with titles, links, and content snippets. The server uses Streamable HTTP transport and does not require session management — each request is independent.

Rate limits

ScopeLimit
Per user (IP)200 requests / hour
Per site (domain)1,000 requests / hour

Contextual menu

Every page on the LayerZero docs includes a contextual menu (floating Copy Page button) with direct integrations for AI tools:
  • Copy page — copies the current page as Markdown for pasting into any AI tool.
  • Copy MCP server URL — copies https://docs.layerzero.network/mcp to your clipboard.
  • Connect to Cursor — opens Cursor and installs the MCP server automatically.
  • Connect to VS Code — opens VS Code and installs the MCP server automatically.
  • Open in Claude / ChatGPT / Perplexity — opens a conversation with the current page as context.
The fastest way to get started is to visit any docs page and use the contextual menu to connect your IDE directly.

Next steps

See the IDE Setup Guide for step-by-step instructions for every supported tool.