mcpbeat Sign in

Lugh MCP Server

by ashutosh3142857 Your server? Claim it
local only

Lugh runs on your own machine — the client starts it, so there is no endpoint to ping. 336 installs a week from npm. Last commit 29 Nov 2026.

Write, check and dry-run Lugh agent programs, with policy, budgets and approvals enforced.

Installs per day peak 477 · avg 18
a month agotoday
336
Installs / week
npm · lugh-lang
1
Stars
0 open issues
29 Nov 2026
Last commit
5 releases in 90 days
MIT
License
Rust

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add lugh -- npx -y lugh-lang mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lugh": {
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.lugh]
command = "npx"
args = ["-y", "lugh-lang", "mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "lugh": {
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "lugh": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lugh-lang",
        "mcp"
      ]
    }
  }
}

What the code does

We read the source, 9 h ago · rules 995398eba69f

In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Runs an external command editors/vscode/extension.js:23
  execFile(lughPath(), [tmp, "--lint"], { timeout: 10000, cwd: path.dirname(doc.uri.fsPath || tmp) }, (err, stdout) => {
Runs an external command lugh.py:270
        r = subprocess.run(args[0], shell=True, capture_output=True, text=True, timeout=60)
Runs with shell=True lugh.py:270
        r = subprocess.run(args[0], shell=True, capture_output=True, text=True, timeout=60)
Executes code built at runtime lugh.py:705
    def eval(self, node, env):

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

Nothing serious here today

Today is the operative word: we check Lugh every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Alternatives to Lugh

same job, measured the same way
writ
by withwrit

Policy checks for AI agent writes (ALLOW/DENY/STEP_UP) with a tamper-evident audit log.

1 492 installs/wk local only
librarian
by kultar

Any HTTP API for your agents, without its credentials: reads in policy, writes a person approves.

859 installs/wk local only
Airlock: Permissions-Aware MCP Gateway
by airlock-dev

Permissions-aware MCP gateway with per-agent allow/ask/deny policy, HITL approvals, and audit logs.

552 installs/wk local only
Brevi
by ets-public

Build and run plain Python as fast native programs: check, run, test and patch tools for agents.

439 installs/wk local only
Verbaly
by verbaly-i18n

i18n for coding agents: extract, check and translate an app's text, with drafts a person approves

332 installs/wk local only
DSAIL
by jaxon

Turn a written policy into rules a program can check, and get the same answer every time.

120 installs/wk answering
Dashclaw
by ucsandman

Policy checks, approvals, records, and governed HTTP capabilities for unattended agents.

88 installs/wk local only
agentguard
by agentwares

MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run, audit log.

82 installs/wk local only

Lugh — questions

Answers built from our own checks of this server.

Why is there no uptime for Lugh?
Lugh runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package lugh-lang was installed 336 times last week.
How do I connect Lugh?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls lugh-lang straight from npm; nothing to host, nothing to sign up for.
How many people use Lugh?
The npm package lugh-lang was installed 336 times in the last week. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Lugh open source?
Yes — it is published under the MIT licence, written in Rust and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.