MCPRules Programming Guidelines
STDIOMCP server managing and serving programming guidelines and rules for consistent coding standards.
MCP server managing and serving programming guidelines and rules for consistent coding standards.
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.
Rule Management
Flexible Storage
Category Organization
Clone the Repository
git clone https://github.com/yourusername/MCPRules.git cd MCPRules/rules-server
Install Dependencies
npm install
Build the Server
npm run build
Configure Environment Variables
export RULES_FILE_PATH=/path/to/your/rules.md # Optional for private GitHub repositories export GITHUB_TOKEN=your_github_token
Location: ~/Library/Application Support/Windsurf/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
{ "mcpServers": { "rules": { "command": "node", "args": ["/path/to/rules-server/build/index.js"], "disabled": false, "alwaysAllow": [] } } }
Location: ~/Library/Application Support/Claude/claude_desktop_config.json
Get Rules
// Retrieve all rules or filter by category { "category": "optional-category-name" }
Get Categories
// List all available rule categories {}
Rules are stored in markdown files with the following structure:
#Category key: value
Watch Mode
npm run watch
Debugging
npm run inspector
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.