Style Guidelines
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
Jump to
- 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:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Style GuidelinesCommand (node, npx, python, etc.)nodeArguments-
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.
-
Argument 1
- 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
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





