Skip to main content
Glama

RuleCloud

Guardrails for AI-speed engineering: Cloud Rulespacks, a CLI watch HUD, GitHub PR scans, and an MCP server for Cursor and other agents.

Component

URL

Console

https://rulecloud.vercel.app

API

https://rulecloud-production.up.railway.app

MCP Registry

io.github.lemonbanan4/rulecloud @ MCP Registry

npm CLI

rulecloud

Repo: https://github.com/lemonbanan4/rulecloud (public)

Quick start (CLI)

export RULECLOUD_API_KEY=rc_live_...   # from console → API Keys
npx rulecloud init                     # writes .guardrail/rules.yml + Cursor MCP
npx rulecloud watch                    # live violations HUD

Related MCP server: brain-mcp

MCP (Cursor, Claude Code, VS Code)

Streamable HTTP — do not open /mcp/ in a browser (you will see a JSON-RPC “text/event-stream” message; that is normal). Use this setup page or configure your IDE:

Create rc_live_… at https://rulecloud.vercel.app/dashboard/keys, then add to .cursor/mcp.json:

{
  "mcpServers": {
    "rulecloud": {
      "url": "https://rulecloud-production.up.railway.app/mcp/",
      "headers": {
        "X-API-Key": "rc_live_YOUR_KEY"
      }
    }
  }
}

Tools: scan_code, get_default_rules, generate_guardrail_rules, suggest_fix (Pro).

Monorepo layout

Path

Stack

Deploy

/

FastAPI + guardrail CLI + MCP

Railway (Dockerfile)

/web

Next.js console

Vercel (web/)

/cli

rulecloud npm package

npm

Env

  • Vercel: NEXT_PUBLIC_API_URL → Railway API URL (web/.env.example)

  • Railway: FRONTEND_URL → Vercel URL (CORS), LLM_* for AI Copilot

Demo repo

https://github.com/lemonbanan4/rulecloud-demo

Health check

curl -sS https://rulecloud-production.up.railway.app/health

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers