Skip to main content
Cursor can connect to remote MCP servers from a global MCP config or a project-level MCP config. Use this guide to connect Cursor to the hosted Lightsage MCP endpoint.
1

Get your Lightsage API key

Open the Lightsage dashboard, copy your API key, and store it as LIGHTSAGE_API_KEY:
Do not put your API key in shared project config, screenshots, issue reports, or public repositories.
2

Add Lightsage MCP to Cursor

Add Lightsage MCP with the Cursor CLI:
You can also add Lightsage MCP to ~/.cursor/mcp.json for global access, or .cursor/mcp.json inside one project:
The CLI stores the same server under Cursor user settings.
3

Enable the server

Open Cursor Settings → Tools & Integrations → MCP tools and verify that lightsage is enabled.If you use Cursor Agent CLI in a headless environment, enable and verify the server from the project directory:
Then run a read-only prompt:
See the Cursor MCP docs for config locations and remote server authentication.