Skip to main content
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

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:
codex mcp add lunaryDocs --url https://docs.lunary.ai/mcp
Verify it is configured:
codex mcp list
You can also add it in ~/.codex/config.toml directly:
[mcp_servers.lunaryDocs]
url = "https://docs.lunary.ai/mcp"
To have Codex reliably use the MCP server, add this snippet to your AGENTS.md:
Always use the Lunary documentation MCP server if you need to work with Lunary API or SDK docs without me having to explicitly ask.

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.