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:codex mcp add lunaryDocs --url https://docs.lunary.ai/mcp
Verify it is configured: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.
Claude Code supports remote MCP servers. Add the Lunary Docs server:claude mcp add --transport http lunaryDocs https://docs.lunary.ai/mcp
If your Claude Code workflow uses project MCP config, create a .mcp.json in the project root:{
"mcpServers": {
"lunaryDocs": {
"type": "http",
"url": "https://docs.lunary.ai/mcp"
}
}
}
To have Claude Code 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.
Ask Claude Code a Lunary-related question like:Look up the endpoint for ingesting runs in Lunary docs and summarize the required fields.
VS Code supports MCP servers when using GitHub Copilot in Agent mode.You can manually add a .vscode/mcp.json in your project root:{
"servers": {
"lunaryDocs": {
"type": "http",
"url": "https://docs.lunary.ai/mcp"
}
}
}
To have VS Code 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.
Open Copilot Chat, switch to Agent mode, enable the server in the tools picker, and ask:Look up the endpoint for ingesting runs in Lunary docs and summarize the required fields.
Cursor has native MCP support and reads configuration from mcp.json.Create ~/.cursor/mcp.json (macOS/Linux) and add:{
"mcpServers": {
"lunaryDocs": {
"url": "https://docs.lunary.ai/mcp"
}
}
}
To have Cursor 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.
Restart Cursor and ask Cursor’s agent a Lunary-related question like:Look up the endpoint for ingesting runs in Lunary docs and summarize the required fields.
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.