SpecLock is an AI constraint engine that enforces project rules across AI coding sessions, preventing the AI from making unauthorized changes.
From the registry: AI Constraint Engine — enforces CLAUDE.md and .cursorrules as laws. 51 MCP tools.
Please install the `speclock` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js** — Node.js runtime required for npx (https://nodejs.org)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","speclock","serve","--project","."]
Note: AI constraint engine that enforces project rules across sessions. 51 tools. Install: npx speclock protect. Quick MCP setup: speclock mcp install claude-code. Default mode is WARN. Use --strict for hard enforcement. Also available as hosted HTTP at https://speclock-mcp-production.up.railway.app/mcp.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.SPECLOCK_ENCRYPTION_KEYrequiredKey used for encrypting sensitive data.SPECLOCK_STRICTEnables strict enforcement mode for blocking violations.Real-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.