Claude Critical Rules MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Claude Critical Rules MCP Server verify compliance before deploying to production"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Claude Critical Rules MCP Server
MCP server providing automatic enforcement of 21 critical rules for Claude AI, based on 96+ documented failure patterns
π― What is this?
An MCP (Model Context Protocol) server that makes critical best practices automatically available to Claude AI in every conversation. Based on exhaustive analysis of 96+ real documented failures over 6+ months of intensive production usage.
The system provides 21 numbered rules organized into 5 categories, with automatic verification checklists, rule summaries, and auto-update capabilities.
Related MCP server: brain-mcp
β¨ Features
21 Critical Rules - Comprehensive checklist preventing common AI assistant failures
5 Rule Categories - Organized by: Verification, Backups, Execution, Database, Advanced
Pre-flight Verification - Mandatory checklist before technical tasks
Auto-Update System - Check and install rule updates from GitHub automatically
Version Tracking - SHA256 verification and changelog integration
Evidence-based - Every rule derived from real production failures
β‘ Quick Install
Via npx (Recommended)
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"critical-rules": {
"command": "npx",
"args": ["-y", "@optima-quantum/claude-critical-rules-mcp-new"]
}
}
}Via Global Install
npm install -g @optima-quantum/claude-critical-rules-mcp-newThen configure:
{
"mcpServers": {
"critical-rules": {
"command": "claude-critical-rules-mcp"
}
}
}Restart Claude Desktop
After configuration, restart Claude Desktop to load the MCP server.
π Usage Instructions
CRITICAL: Two Mandatory Steps Before Any Technical Task
1. ALWAYS Read, Understand, and Execute Compliance Check
Before starting ANY technical task, execute:
critical-rules:verify_compliance
This displays a 21-point checklist organized in 5 categories.
Do NOT proceed until you confirm ALL 21 items.2. ALWAYS Read Appropriate Skill Documentation
Before creating documents or working with specific technologies:
- Read the appropriate skill file first
- Common location: /mnt/skills/user/sysadmin-professional/SKILL.md
- If skill doesn't exist: search online, verify reliability, propose installationExample Workflow:
User: "Deploy the new API to production"
Claude:
1. Executes: critical-rules:verify_compliance
2. Reviews all 21 rules checklist
3. Reads: /mnt/skills/user/sysadmin-professional/SKILL.md
4. THEN proceeds with deploymentπ οΈ Available Tools
verify_compliance
Displays mandatory 21-rule checklist before technical tasks.
Usage:
critical-rules:verify_compliance
task_description: "Deploy API to production"Returns:
21-point checklist organized by category
Rule numbers and descriptions
Confirmation requirements
Version information
get_rules_summary
Quick reference of all 21 rules with descriptions.
Usage:
critical-rules:get_rules_summaryReturns:
Core principles (5 items)
All 21 rules by category
6-step mandatory workflow
Update instructions
get_version_info
Display current version and check for updates.
Usage:
critical-rules:get_version_info
check_remote: true // Optional, default trueReturns:
Current version details
Remote version comparison
Update availability status
SHA256 hash information
check_for_updates
Check GitHub for new rule versions.
Usage:
critical-rules:check_for_updatesReturns:
Update availability status
Version comparison
Release date
Changelog reference
update_rules
Download and install latest rules from GitHub.
Usage:
critical-rules:update_rules
force: false // Optional, force reinstallReturns:
Update status
SHA256 verification
Backup location
Next steps
π Available Resources
critical-rules://instructions
Complete CRITICAL-RULES.md document with all 21 rules, examples, and detailed explanations.
critical-rules://changelog
Full changelog with version history and update details.
π The 21 Rules (Quick Reference)
π VERIFICATION (Rules 0-5)
Never act without reading instructions completely
Search current best practices (web_search mandatory)
Read skills before creating documents
Read ENTIRE file before modifying
VERIFY, not assume structures/locations
Check correct file/server
πΎ BACKUPS & PERMISSIONS (Rules 6-8)
Search previous context if mentioned
Backups with timestamp in standardized directories
ASK before deleting/modifying critical items
π§ EXECUTION & VALIDATION (Rules 9-12)
Ask SCOPE before implementing
STOP if something fails (no cascading)
Validate with EVIDENCE
Complete logs (not just last 20 lines)
ποΈ DATABASE & SECURITY (Rules 13-15)
Database: backup β test β verify rollback
Production vs Dev differentiation
Security verification (IPs, fail2ban, firewall)
β‘ ADVANCED RULES (Rules 16-21)
Long commands (>30s) β background execution
NEVER use sed (python/awk/perl instead)
Verify file line count before/after editing
Follow instructions EXACTLY
Check MCPs/skills/context FIRST
Mandatory 21-point confirmation
π― Core Principles
π VERIFY, DON'T ASSUME - Always check before acting
πΎ BACKUP EVERYTHING - Before any modification
π« ASK PERMISSION - For deletions and critical changes
π EVIDENCE-BASED - Test with proof, not assumptions
π STOP ON ERRORS - Don't continue after failures
π 6-Step Mandatory Workflow
Ask scope before starting
Analyze completely
Plan and explain
Create backups
Execute carefully
Validate with evidence
Document changes
π Evidence Base
Based on comprehensive analysis of:
96+ documented failures in production environments
20+ recurring patterns identified and categorized
6+ months of intensive Claude AI usage
Multiple production systems (servers, databases, APIs, deployments)
π Auto-Update Security
SHA256 verification - All downloaded rules verified for integrity
Automatic backups - Previous versions saved before updates
Version tracking - Complete changelog and version history
Manual override - Force parameter for explicit reinstalls
π€ Contributing
Contributions are welcome! If you've identified additional failure patterns or improvements:
Fork the repository
Create a feature branch
Document the failure pattern with examples
Submit a pull request
π License
MIT License - See LICENSE file for details.
π’ Author
Γptima Quantum Services FZCO
Dubai, UAE
Website: optimaquantum.com
Email: support@optimaquantum.com
GitHub: @optimaquantum
π Changelog
See CHANGELOG.md for version history and updates.
π Links
β Star History
If this MCP server has helped prevent errors in your workflow, please consider starring the repository!
Version: 1.2.0
Last Updated: 2026-01-10
Rules Count: 21 numbered rules
Failure Patterns Analyzed: 96+
Available Tools
5 toolscheck_for_updatesA
Check if a new version of the critical rules is available on GitHub
Inputs: no named parameters.
get_rules_summaryA
Get a concise summary of the critical rules categories and main requirements
Inputs: no named parameters.
get_version_infoC
Get current version information and check if updates are available
Inputs: check_remote.
update_rulesB
Download and install the latest version of critical rules from GitHub
Inputs: force.
verify_complianceA
Verify if all mandatory checks from the critical rules have been completed before starting a technical task
Inputs: task_description (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 5 tools
Tools are mostly distinct: check_for_updates and get_version_info have slight overlap (both check versions) but descriptions clarify differences. The other three tools have unique purposes.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., check_for_updates, get_rules_summary), making them predictable and easy to distinguish.
Five tools is appropriate for a rules management server focused on checking, updating, and verifying compliance. Slightly more could be added (e.g., full rules listing), but the set is well-scoped.
Core operations are covered: checking updates, retrieving summary/version, updating rules, and verifying compliance. Missing a tool to fetch full rule details, but agents can work around with the summary.
Maintenance
Related MCP Connectors
Enforces architectural invariants and code quality rules inside your AI agent's edit loop.
Rules-based context reduction, planning checks, research prompts and fixed experiences for agents.
Lints + auto-fixes how AI coding agents discover any new product. 24 rules, 6 tools, score 0-100.
Check AI assistant actions before they reach external apps, with rules and human approval.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI agents with queryable, version-controlled project rules and coding standards. Enables validation, rule-based guidance, and task summaries to keep AI work aligned with your project's conventions without repeating context.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables automatic knowledge capture and injection of guardrails for AI assistants like Claude and Cursor, improving code quality and preventing recurring mistakes.MIT
- AlicenseAqualityDmaintenanceEnforces deterministic rules for AI agents with 30 built-in presets and unlimited personal rules to ensure consistent behavior.529 npm2MIT

gnt MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to query live, human-approved rules before taking actions, ensuring compliance and reducing errors.30Apache 2.0