Back to Home
AkitoSakurabaCreator icon

Rule-MCP-Server

Verified Safe

by AkitoSakurabaCreator

Overview

A Model Context Protocol (MCP) server that enables AI agents to retrieve and apply common coding rules across projects and validate code.

Installation

Run Command
docker compose -f docker-compose.prod.yml up -d

Environment Variables

  • PORT
  • HOST
  • ENVIRONMENT
  • LOG_LEVEL
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • DB_USER
  • DB_PASSWORD
  • JWT_SECRET
  • ALLOWED_ORIGINS
  • RULE_SERVER_URL
  • MCP_API_KEY
  • AUTH_REQUIRE_HTTPS

Security Notes

The project demonstrates good security practices with configurable CORS, API key and session authentication, RBAC, rate limiting, and password policy enforcement. It explicitly calls for generating a strong `JWT_SECRET` for production and warns to change the default `admin`/`admin123` credentials immediately after the first login. Development Docker Compose uses a hardcoded PostgreSQL password, which is acceptable for dev but not production. HTTPS is recommended for production. Audit logging is in place.

Similar Servers

Stats

Interest Score32
Security Score8
Cost ClassLow
Stars2
Forks0
Last Update2025-11-25

Tags

MCPAI AgentsCoding RulesCode QualityRule Management