MCP server
How MCP differs from web search
| MCP | Web Search | |
|---|---|---|
| Source | Current indexed docs directly | Whatever search engines have crawled |
| Freshness | Updates with the latest deployment | May be stale |
| Noise | Only LayerZero documentation content | Includes SEO-ranked unrelated results |
| Integration | Inline during AI response generation | Separate step |
Quick setup
Cursor / VS Code
Use the contextual menu on any docs page, or configure manually.
Claude Code
One command to add the server to your CLI.
All tools
Step-by-step setup for every supported IDE and AI tool.
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
| Scope | Limit |
|---|---|
| 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 (floatingCopy 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/mcpto 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.