Speclock MCP Server

Rules files tell AI what not to change. SpecLock enforces them. Stop Claude Code, Cursor, Codex, Windsurf, and other AI coding tools from crossing project constraints you already wrote in CLAUDE.md , AGENTS.md , and .cursorrules . It runs locally over stdio via the published package.

People connecting coding agent tools to Claude, Cursor, VS Code, or another MCP client. The project is written in JavaScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-18 · ★ 25 · #54 OF 194 MAINTAINED CODING AGENT · VERIFIED 2026-08-25

MIT · JavaScript servers · how we verify → /methodology

01 · Install Speclock

before you install - you'll need

Set SPECLOCK_ENCRYPTION_KEY before connecting.

Claude Code

claude mcp add sgroy10-speclock -- npx -y speclock

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "sgroy10-speclock": {
      "command": "npx",
      "args": [
        "-y",
        "speclock"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package speclock - unscoped; check the name against the project README before installing

registry namespace io.github.sgroy10 is GitHub-verified and matches the repo owner

03 · What Speclock can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v5.8.0 · 2026-08-18

SpecLock now ships discovery-ready packages for Gemini CLI, Cursor-compatible Agent Plugins, Codex, and GitHub Copilot CLI, alongside native Claude Code pre-action enforcement. · Highlights: · Gemini CLI extension…

v5.7.1 · 2026-08-18

Native Claude Code constraint enforcement · SpecLock 5.7.1 adds a native Claude Code plugin that checks Write, Edit, and Bash actions against constraints already documented in your project. · What’s new · Native Claude…

v5.5.2 · 2026-04-08

Your AI has rules. SpecLock makes them unbreakable. · ### v5.5.0 - Guardian Mode · npx speclock protect - zero-config, reads existing .cursorrules/CLAUDE.md/AGENTS.md, extracts constraints, installs pre-commit hook.…

04 · Who maintains Speclock

speclock is maintained by sgroy10. It's the only MCP server we track from this author; the repo dates to Feb 2026.

05 · Facts

category
coding agent - ranked #54 of 194 actively-maintained coding agent servers as of 2026-08-25.
release cadence
2 releases in the last 90 days (latest 2026-08-18)
registry
io.github.sgroy10/speclock (active, first published 2026-04-09)
packages
npm:speclock

06 · Speclock FAQ

What is Speclock?

Rules files tell AI what not to change. SpecLock enforces them. Stop Claude Code, Cursor, Codex, Windsurf, and other AI coding tools from crossing project constraints you already wrote in CLAUDE.md , AGENTS.md , and .cursorrules . It runs locally over stdio via the published package.

Is Speclock still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-18 and it shipped 2 releases in the last 90 days. We re-verify nightly.

How do I install Speclock?

Run `npx -y speclock`. The README documents one environment variable (SPECLOCK_ENCRYPTION_KEY) to set first. Set SPECLOCK_ENCRYPTION_KEY before connecting. You can also paste the ready-made client config above.

Does Speclock run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Speclock

More coding agent MCP servers · Constellation · Live Memory · Bernstein (sipyourdrink-ltd) · Framingui · Lain

More JavaScript MCP servers · Zen MCP · Indexnow · Icp Intelligence MCP · Blogburst MCP Server · Mindswap · see all