AI Development Guidelines MCP Server
An MCP (Model Context Protocol) server that provides AI agents with professional development guidelines, coding standards, and best practices. The server uses an AI orchestration layer powered by Anthropic Claude to intelligently select and deliver the right documentation based on incoming agent requests.
Features
Professional Coding Rules: Comprehensive standards for writing production-quality code
Development Skills: Best practices for problem-solving, debugging, testing, and more
AI Steering Instructions: Context-aware guidance for AI agents
AI Orchestration: Intelligent document selection using Claude
MCP Protocol: Standard protocol for AI agent communication
Architecture
The server implements the Model Context Protocol and provides:
Resources: Documentation files accessible via MCP resource URIs
Tools: Four main tools for retrieving guidelines:
get_coding_rules: Professional coding standardsget_development_skills: Development best practicesget_steering_instructions: AI agent guidanceget_custom_guidance: AI-curated context-specific advice
Installation
Prerequisites
Python 3.11+
Anthropic API key (optional, but required for
get_custom_guidancetool)
Setup
Clone this repository
Install dependencies:
pip install -r requirements.txtor with uv:
uv sync(Optional) Set your Anthropic API key for AI-powered custom guidance:
export ANTHROPIC_API_KEY="your-api-key-here"Note: The server works without an API key, but the
get_custom_guidancetool will return a graceful error message directing users to the other three tools. The static documentation tools (get_coding_rules,get_development_skills,get_steering_instructions) work fully without any API key.
Usage
Running the MCP Server
The server runs as an MCP stdio server, communicating over standard input/output.
MCP Client Configuration
To use this server with an MCP client (like Claude Desktop), add it to your MCP configuration:
Available Tools
1. get_coding_rules
Get professional coding rules and standards for writing production-quality code.
2. get_development_skills
Get development skills, best practices, and professional techniques.
3. get_steering_instructions
Get AI agent steering instructions for context-aware development.
4. get_custom_guidance
Get AI-curated guidance tailored to your specific development context.
Available Resources
The server exposes three documentation resources:
guidelines://rules- Professional Coding Rulesguidelines://skills- Development Skills & Practicesguidelines://steering- AI Steering Instructions
Configuration
Edit config.yaml to customize:
Server name and version
Documentation file paths
AI model settings (model, max_tokens, temperature)
Tool descriptions
Documentation
The server includes three main documentation files in the docs/ directory:
rules.md: Professional coding standards, security practices, testing requirements
skills.md: Development skills from debugging to API design
steering.md: AI agent guidance for effective code generation
You can customize these documents to match your organization's standards.
Project Structure
How It Works
Agent Request: An AI agent calls one of the MCP tools
Document Loading: The server loads relevant documentation from markdown files
AI Orchestration (for custom guidance): Claude analyzes the query and selects relevant content
Response: The server returns targeted, actionable guidance
Development
Running Tests
Adding New Documentation
Create or edit markdown files in
docs/Update
config.yamlto reference new filesRestart the server
Customizing AI Behavior
Edit the system prompts in src/ai_orchestrator.py to change how the AI selects and presents documentation.
Environment Variables
ANTHROPIC_API_KEY: Required for AI orchestration features
License
MIT
Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues.
Support
For issues or questions, please open a GitHub issue.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Provides AI agents with professional coding standards, development best practices, and context-aware guidance through static documentation and AI-powered custom recommendations. Enables agents to access comprehensive development guidelines including coding rules, debugging techniques, and AI steering instructions.