Skip to content
Cursor

VisualSpec for Cursor

io.github.utkarshx27/visualspec

Structured, constraint-aware visual generation and deterministic layout for AI agents

client:Cursor transport:stdio runtime:npm

Install VisualSpec in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "visualspec": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@utkarshx27/visualspec"
      ],
      "env": {
        "OPENAI_API_KEY": "<OPENAI_API_KEY>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

VisualSpec in other clients