Search and read Lunary developer docs from your editor.
Lunary hosts a public Model Context Protocol (MCP) server for documentation on docs.lunary.ai.
Server URL (streamable HTTP): https://docs.lunary.ai/mcp
What it provides
- Read-only access to Lunary documentation (search + page content).
- A way to pull documentation into your agent’s context while you work.
This MCP server is documentation-only. It does not call the Lunary API on your
behalf.
Quickstart
Codex
Claude Code
VS Code
Cursor
You can connect Codex to MCP servers in the CLI or IDE extension.
Configuration is shared between both, so you only set it up once.Add the server with the Codex CLI:Verify it is configured:You can also add it in ~/.codex/config.toml directly:To have Codex reliably use the MCP server, add this snippet to your AGENTS.md: Claude Code supports remote MCP servers. Add the Lunary Docs server:If your Claude Code workflow uses project MCP config, create a .mcp.json in the project root:To have Claude Code reliably use the MCP server, add this snippet to your AGENTS.md:Ask Claude Code a Lunary-related question like: VS Code supports MCP servers when using GitHub Copilot in Agent mode.You can manually add a .vscode/mcp.json in your project root:To have VS Code reliably use the MCP server, add this snippet to your AGENTS.md:Open Copilot Chat, switch to Agent mode, enable the server in the tools picker, and ask: Cursor has native MCP support and reads configuration from mcp.json.Create ~/.cursor/mcp.json (macOS/Linux) and add:To have Cursor reliably use the MCP server, add this snippet to your AGENTS.md:Restart Cursor and ask Cursor’s agent a Lunary-related question like:
Tips
- If you do not add the AGENTS.md snippet, explicitly ask your agent to use the Lunary Docs MCP
server when answering.
- The currently exposed Lunary docs tool is
SearchLunaryApiReference.