Style Guidelines

by bartwisch

17 stars
Not rated
GitHub

About

Integrates with development tools to enforce consistent coding standards by managing and serving programming guidelines and rules across projects.

Details

Author
bartwisch
Repository
bartwisch/MCPRules
GitHub stars
17
License
MIT License
Categories
Productivity, Developer Tools, Design, Workplace, File Management, AI, Communication, Infrastructure, Frontend

- Rule Management
- Access rules via MCP tools
- Filter rules by categories
- Support for both local and GitHub-hosted rules
- Structured rule format with categories and key-value pairs

- Flexible Storage
- Local file system support
- GitHub repository integration
- Markdown-based rule definitions

- Category Organization
- Core Programming Principles
- Code Style and Formatting
- Language-Specific Guidelines
- Project Management Rules
- Operating System Specific Rules

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Style Guidelines
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 /path/to/rules-server/build/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Get Rules

Retrieve all rules or filter by category. Parameters: category (optional string)

Get Categories

List all available rule categories. Parameters: none

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "style guidelines": {
            "cwd": "optional/path/to/working/directory",
            "env": {},
            "args": [
                "/path/to/rules-server/build/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": "optional/path/to/working/directory",
    "env": [],
    "args": [
        "/path/to/rules-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": "optional/path/to/working/directory",
    "env": [],
    "args": [
        "/path/to/rules-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": "optional\\path\\to\\working\\directory",
    "env": [],
    "args": [
        "/path/to/rules-server/build/index.js"
    ],
    "shell": false,
    "command": "node"
}

MCPRules - Programming Guidelines Management Server

TypeScript
MCP
License: MIT

A powerful Model Context Protocol (MCP) server that manages and serves programming guidelines and rules. This server integrates with development tools to provide consistent coding standards across projects.

Features

- Rule Management
- Access rules via MCP tools
- Filter rules by categories
- Support for both local and GitHub-hosted rules
- Structured rule format with categories and key-value pairs

- Flexible Storage
- Local file system support
- GitHub repository integration
- Markdown-based rule definitions

- Category Organization
- Core Programming Principles
- Code Style and Formatting
- Language-Specific Guidelines
- Project Management Rules
- Operating System Specific Rules

Installation

1. Clone the Repository

   git clone https://github.com/yourusername/MCPRules.git
cd MCPRules/rules-server

2. Install Dependencies

   npm install

3. Build the Server

   npm run build

4. Configure Environment Variables

   export RULES_FILE_PATH=/path/to/your/rules.md
# Optional for private GitHub repositories
export GITHUB_TOKEN=your_github_token

Configuration

For VSCode Cline Extension

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.