https://docs.heylua.ai/mcp, so answers about lua-cli come from the published pages rather than from training data. The server is read-only and needs no account. In Claude Code, the plugin registers it for you.
Verified against lua-cli 3.33.0.
The server exposes three tools.
Before you begin
- A client that supports MCP over HTTP: Claude Code, claude.ai or the Claude desktop app, Cursor, or Windsurf. For a client that only supports stdio, see Options you may need.
1
Add the server
Register the server once; its tools are available in every conversation afterwards.
- Claude Code
- Claude
- Cursor
- Windsurf
Add it for the current project, or add
--scope user to make it available in every project.2
Verify
Ask a question only the docs can answer and check which tool the assistant calls.In Claude Code,
/mcp lists lua-docs as connected with three tools, and the answer cites results from search_lua_cli or query_docs_filesystem_lua_cli. An assistant that uses the server well searches first, reads a page with head -80 /<path>.mdx, and uses rg -il "<term>" / for exact identifiers.Options you may need
Read the docs without MCP
The site publishes plain-text indexes any tool can fetch:https://docs.heylua.ai/llms.txt lists every page with a one-line description, https://docs.heylua.ai/llms-full.txt holds the full text of every page in one file, and any page is available as Markdown when you append .md to its URL.
Clients that only support stdio
Bridge the HTTP server withmcp-remote in any client that accepts a command-based server definition.
If it isn’t working
Claude Code doesn't list lua-docs
Claude Code doesn't list lua-docs
claude mcp list shows every configured server with its connection status. A server added with the default --scope local loads only in the project where you added it; add it again with --scope user, or open /mcp to read the connection error.The server is listed but the assistant never calls it
The server is listed but the assistant never calls it
Ask a question that names a Lua identifier, such as
LuaJob or lua version promote; a generic question may be answered from memory. In Cursor and Windsurf, restart the editor if the server doesn’t appear after you edit the config file.Next steps
Build with a coding assistant
The exports, commands, exit codes, and compile rules to give the assistant.
Build with the Claude Code plugin
Slash commands and a production gate on top of the same CLI and this server.
SDK reference
One page per export, the pages the assistant reads most.
CLI reference
Every command, flag, and exit code.

