MCP Server Studio

MCP Laya MCP server

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

Registry name: io.github.dockndevai/mcp-laya

Publisher
dockndevai
Runs
Runs locally
Package
PyPI
Version
0.1.5
Category
Other
Updated
2026-11-23

Source code on GitHub

Set up MCP Laya (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-laya": {
      "command": "uvx",
      "args": [
        "mcp-laya==0.1.5"
      ],
      "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>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp-laya -e LAYA_DEFAULT_MODEL='<LAYA_DEFAULT_MODEL>' -e LAYA_MODELS='<LAYA_MODELS>' -e LAYA_ALLOW_DOWNLOAD='<LAYA_ALLOW_DOWNLOAD>' -e LAYA_MIN_CONFIDENCE='<LAYA_MIN_CONFIDENCE>' -e LAYA_DEVICE='<LAYA_DEVICE>' -- uvx mcp-laya==0.1.5

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-laya": {
      "command": "uvx",
      "args": [
        "mcp-laya==0.1.5"
      ],
      "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>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp-laya": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-laya==0.1.5"
      ],
      "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>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp-laya": {
      "command": "uvx",
      "args": [
        "mcp-laya==0.1.5"
      ],
      "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>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
LAYA_DEFAULT_MODELNoCheckpoint to use: auto (Router picks) | english | multilingual | typed-decisions.
LAYA_MODELSNoComma-separated allowlist of checkpoints that may load. Empty = all.
LAYA_ALLOW_DOWNLOADNoAllow the one-time Hugging Face checkpoint download. Off by default (offline).
LAYA_MIN_CONFIDENCENoFlag answers below this calibrated confidence (0 = never flag).
LAYA_DEVICENoInference device: auto | cpu | cuda.

More other MCP servers