MCP setup

Wire Curxor's MCP server into your AI editor. Once it's set up, the AI can read the source context of any element you select in the page.

Install

  1. Let AI install it

    Copy the prompt and paste it into your editor's AI (Claude Code / Cursor / Trae / Qoder / Codex / Pi / OpenCode, and more). It reads Curxor's setup guide and writes the MCP config for you.

  2. Or merge it manually

    Run the command below to print the config snippet (command is the absolute path of the curxor binary). It writes no files and shows how to merge it per editor — just follow along:

    bash
    curxor mcp --print-config
    You'll need to restart the editor or open a new session for it to take effect (e.g. Claude Code / Cursor / Codex).
  3. Verify

    After restarting, select an element in the browser → click Create task → paste the CX-XXXXXX into the AI. If it returns the matching source, you're connected.

When the editor can't find PATH

Editors launched from the GUI don't inherit your shell PATH, so command fails to resolve. Switch it to the absolute path and write it into your editor's MCP config (e.g. the project-root .mcp.json):

json
{ "mcpServers": { "curxor": { "command": "/Users/you/.local/bin/curxor", "args": ["mcp"] } } }

Take the absolute path from the output of curxor mcp --print-config.

For AI agents: llms.txt · llms-full.txt