Skip to content
Cursor

mcp laya for Cursor

io.github.dockndevai/mcp-laya

Safe-by-default MCP for Laya: fast, local, typed decisions (classify/score/yes-no), 100+ langs.

client:Cursor transport:stdio runtime:pypi

Install mcp laya 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": {
    "mcp-laya": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-laya"
      ],
      "env": {
        "LAYA_DEFAULT_MODEL": "<LAYA_DEFAULT_MODEL>",
        "LAYA_MODELS": "<LAYA_MODELS>",
        "LAYA_ALLOW_DOWNLOAD": "<LAYA_ALLOW_DOWNLOAD>",
        "LAYA_MIN_CONFIDENCE": "<LAYA_MIN_CONFIDENCE>",
        "LAYA_DEVICE": "<LAYA_DEVICE>"
      }
    }
  }
}

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

mcp laya in other clients