Back to Home
AkitoSakurabaCreator icon

Rule-MCP-Server

Verified Safe

by AkitoSakurabaCreator

Overview

A Model Context Protocol (MCP) server that enables AI agents (Cursor, Claude Code, Cline) to retrieve and apply common coding rules across projects.

Installation

Run Command
pnpm dlx rule-mcp-server

Environment Variables

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

Security Notes

The project demonstrates a strong commitment to security with features like RBAC (Public, User, Admin roles), API key authentication with bcrypt hashing and expiration, password policies (min length, complex characters), rate limiting, and audit logging. It enforces HTTPS for API key usage in production. It also implements CORS configuration. While `docker-compose.dev.yml` contains default database credentials for development, the documentation clearly states that strong, random `JWT_SECRET` and `ALLOWED_ORIGINS` are required for production, and database credentials should be configured via environment variables. Frontend stores authentication tokens in localStorage, which is a common practice but has XSS attack implications. No explicit 'eval' or obvious malicious patterns were found in the provided code.

Similar Servers

Stats

Interest Score32
Security Score8
Cost ClassLow
Stars2
Forks0
Last Update2026-01-14

Tags

AI agentscoding rulesMCPcode qualityrule management