# Using these docs with Cursor

This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
import { Steps, Aside } from '@astrojs/starlight/components';

Cursor is a good home for grandMA3 plugin and showfile-tooling work — it's a
native MCP client and can index grandocs as a custom docs source.

## Connect the MCP server

<Steps>

1. Add the server in `~/.cursor/mcp.json` (or *Settings → MCP → Add new server*):

   ```json
   {
     "mcpServers": {
       "grandocs": { "url": "https://grandocs-mcp.samcarlton.com/mcp" }
     }
   }
   ```

2. Confirm the grandocs tools appear in *Settings → MCP*.

3. Ask in chat — Cursor calls `search_docs` / `command_lookup` and cites the
   page.

</Steps>

See [Any MCP client](/connect/mcp/) for the tool list.

## Or index the docs with @Docs

Cursor can index a docs URL and let you reference it with `@Docs`:

<Steps>

1. *Settings → Features → Docs → Add new doc*.

2. Point it at the grandocs index
   [`https://grandocs.samcarlton.com/llms.txt`](https://grandocs.samcarlton.com/llms.txt)
   (or a specific product, e.g. the grandMA3 section).

3. In chat, type `@Docs` and pick grandocs to pull the manual into context.

</Steps>

<Aside type="tip" title="TypeScript → Lua workflows">
If you write plugins in TypeScript and transpile to Lua, Cursor's multi-file
editing pairs well with grounded grandMA3 API lookups via the MCP server.
</Aside>

<Aside type="caution" title="Unofficial mirror">
For conformity, electrical, or safety-critical answers, confirm against the
official [help.malighting.com](https://help.malighting.com/) page linked on every
grandocs topic.
</Aside>