MCP.so
ログイン

Speclock MCP Server

@sgroy10

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

sgroy10

投稿者

Sandeep Roy

Speclock MCP Server について

AI Constraint Engine — enforces CLAUDE.md, .cursorrules, AGENTS.md rules as laws. 51 MCP tools, 991 tests. Official MCP Registry. npx speclock protect

Speclock MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Speclock MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Speclock?

Speclock is an AI constraint engine that enforces project rules across every AI coding session. It stops AI assistants from breaking constraints you have defined, such as "never touch the auth system" or "database must stay PostgreSQL."

How to use Speclock?

Install in your project with npx speclock protect, wire up MCP for supported clients using speclock mcp install <client> (e.g., claude-code, cursor, windsurf, cline, codex), then verify with speclock doctor. Default mode is advisory (warnings only); hard enforcement is enabled with --strict or SPECLOCK_STRICT=1.

Key features of Speclock

  • Semantic conflict detection (100/100 score, 0% false positives)
  • Hard enforcement mode that blocks AI from proceeding
  • Pre‑commit hooks and MCP integration for all major AI tools
  • Tamper‑proof audit trail with HMAC‑SHA256 chain
  • SOC 2 / HIPAA compliance exports
  • Encrypted storage (AES‑256‑GCM) and RBAC with API key auth
  • Policy‑as‑Code DSL using YAML rules

Use cases of Speclock

  • Prevent AI from modifying auth, payment, or patient‑record files
  • Enforce database technology choices across sessions (e.g., PostgreSQL only)
  • Block deletion or disabling of critical systems (e.g., patient data, audit logging)
  • Protect regulatory‑sensitive workflows that require SOC 2 or HIPAA compliance
  • Extend guardrails to no‑install platforms like Lovable or Bolt.new

よくある質問

1

How is Speclock different from Claude Memory, Mem0, or .cursorrules?

Those tools only remember context but do not block the AI from violating constraints. Speclock enforces rules with semantic detection, hard enforcement, and a tamper‑proof audit trail.

2

What enforcement modes does Speclock offer?

Advisory mode (default) issues warnings letting the AI decide; hard mode (`--strict`) blocks the AI from proceeding when a violation is detected.

3

Does Speclock work with all AI coding tools?

Speclock supports Claude Code, Cursor, Windsurf, Cline, Codex, and also works on npm-based platforms like Bolt.new, Aider, and Lovable (via URL‑based MCP).

4

How does the semantic engine work?

It uses Gemini Flash hybrid for universal domain coverage, understanding synonyms, euphemisms, temporal evasion, and compound sentences — not just keyword matching.

5

What are the installation requirements?

Node.js and npm are required. Install with `npx speclock protect` or add the MCP configuration manually. No persistent backend is needed; data stays local unless you opt into the public Saves Wall.

コメント

「その他」の他のコンテンツ