Coding Standards MCP Server
Provides coding standards, style guides, best practices, and patterns for Express.js development, including API design and middleware usage.
Provides coding standards, style guides, best practices, and patterns for FastAPI development, including endpoint design and dependency injection.
Provides coding standards, style guides, best practices, and patterns for JavaScript (vanilla JS) development.
Provides coding standards, style guides, best practices, and patterns for Next.js and React development, including server components and routing.
Provides coding standards, style guides, best practices, and patterns for Node.js development, including module structure and error handling.
Provides coding standards, style guides, best practices, and patterns for Python development, including code organization and testing.
Provides coding standards, style guides, best practices, and patterns for React and Next.js development, including component design and state management.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Coding Standards MCP ServerShow me the Python coding standards"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Coding Standards MCP Server
Automatically enforces team coding standards in AI-assisted development
🎯 What This Does
Your AI assistant (Cursor, Claude, etc.) will automatically follow your team's coding standards when generating code.
Benefits:
✅ Consistent code across your entire team
✅ No more reminding AI about your standards
✅ Centralized standards - update once, apply everywhere
✅ Works with Python, Java, Node.js, React, and more
📖 Read the blog post: From AI Coding Chaos to Team Standards - Learn about the challenges with file-based standards and why MCP might be the ideal solution for teams (as of now, landscape changing very fast).
Related MCP server: MCP Standards Server
🚀 How to Use
Step 1: Add MCP Server to Cursor
Edit ~/.cursor/mcp.json (create if it doesn't exist):
{
"mcpServers": {
"coding-standards": {
"name": "Coding Standards",
"description": "IMPORTANT: Before generating ANY code, ALWAYS check this server for coding standards. Provides mandatory team coding standards, style guides, best practices, and patterns for Python, Java, Node.js, React/Next.js, JavaScript, general coding, and debugging. Call get_coding_standard() with the language name before writing code to ensure compliance with team standards. And always use the engineering manager ai tool to get the coding standards before writing code.",
"url": "https://web-production-ad318.up.railway.app/sse"
}
}
}Step 2: Restart Cursor
Close and reopen Cursor. That's it! 🎉
✨ How It Works
Automatic Mode (Recommended):
Just start coding! The AI will:
Detect the language you're using
Automatically fetch your team's standards
Generate code that follows YOUR rules
Manual Mode:
Ask the AI:
"Show me the Python coding standards"
"List all available coding standards"
"What are our React best practices?"
📋 Available Standards
The server provides standards for:
Category | Standards Available |
Mandatory | Code complexity (applies to ALL code) |
General | Debugging, development process, server operations |
Python | General Python, FastAPI |
Node.js | General Node.js, Express.js |
React | React & Next.js |
Ask the AI: "List all available coding standards" to see the full list with descriptions.
🔧 Available MCP Tools
The AI can use these tools:
list_coding_standards()- See all standards (mandatory vs optional)get_coding_standard(category, name)- Get specific standardsget_standards_for_project([languages])- Get multi-language standards
You don't need to call these manually - the AI knows when to use them!
💡 Quick Tips
Want the AI to follow a specific standard?
"Use our FastAPI standards to create a new API endpoint"Check what standards apply to your current code?
"What coding standards should I follow for this Python project?"See all standards at once?
"Show me all our team's coding standards"🔄 Standards Update Automatically
When standards are updated on the server, your AI automatically gets the latest version. No configuration needed!
👨💻 Development Guide
For developers who maintain or deploy this server
📁 Project Structure
ai-sdlc/
├── server.py # MCP server implementation
├── coding-standards/ # Standards directory
│ ├── code_complexity.md # Mandatory for all code
│ ├── debugging.md # General debugging
│ ├── development_process.md # Process guidelines
│ ├── server_operations.md # Server ops
│ ├── python/
│ │ ├── fastapi.md # FastAPI standards
│ │ └── general.md # Python standards
│ ├── nodejs/
│ │ ├── expressjs.md # Express.js standards
│ │ └── general.md # Node.js standards
│ ├── react_and_nextjs/
│ │ └── general.md # React/Next.js standards
│ └── vanilla_js/
│ └── general.md # Vanilla JS standards
├── requirements.txt # Python dependencies
├── pyproject.toml # Python project config
├── uv.lock # UV lock file
├── Procfile # Railway deployment config
└── railway.json # Railway configuration🚀 Local Development
Prerequisites
Python 3.11+
UV (recommended) or pip
Setup & Run
Option 1: Using UV (Recommended)
# Clone the repo
git clone <your-repo-url>
cd ai-sdlc
# Run server (UV handles dependencies automatically)
uv run server.pyOption 2: Using pip
# Install dependencies
pip install -r requirements.txt
# Run server
python server.pyThe server will start on http://localhost:8000/sse
Local MCP Configuration
For local development, use this in ~/.cursor/mcp.json:
{
"mcpServers": {
"coding-standards": {
"name": "Coding Standards (Local)",
"description": "Local development coding standards server",
"url": "http://localhost:8000/sse"
}
}
}📝 Adding/Editing Standards
Standard File Format
Each standard file uses YAML frontmatter:
---
description: Brief description of the standard
status: active
mandatory: false
---
# Your Standard Title
[Your content here...]Frontmatter Fields
Field | Required | Values | Purpose |
| ✅ | text | Shows in listings |
| ✅ |
| Only |
| ❌ |
| If |
Adding a New Standard
1. Create the file:
# For language-specific standard
mkdir -p coding-standards/golang
touch coding-standards/golang/general.md
# For general standard
touch coding-standards/testing.md2. Add frontmatter and content:
---
description: Go coding standards and best practices
status: active
mandatory: false
---
# Go Coding Standards
## Code Organization
...3. Test:
# Restart server (changes are auto-detected)
# Ask AI: "List all coding standards"Making a Standard Mandatory
Edit the frontmatter:
---
description: Must follow for ALL code
status: active
mandatory: true # ← This makes it mandatory
---Mandatory standards appear in the "🚨 MANDATORY STANDARDS" table and apply to ALL code, regardless of language.
🧪 Testing
Manual Testing
# Start server
uv run server.py
# In another terminal, test the endpoint
curl http://localhost:8000/sseTesting with MCP Inspector
# Install and run inspector
npx @modelcontextprotocol/inspectorOpen http://localhost:6274/ and configure:
Transport:
SSEURL:
http://localhost:8000/sseConnection Type:
Via Proxy
Test all MCP tools visually!
Testing in Cursor
Configure local MCP server in
~/.cursor/mcp.jsonRestart Cursor
Ask: "List all coding standards"
Verify output matches your files
🔍 MCP Server Implementation
Key Functions
parse_frontmatter(content: str)
Parses YAML frontmatter from markdown
Converts boolean strings to Python booleans
get_available_standards()
Scans
coding-standards/directoryFilters by
status: activeReturns dict with general and language-specific standards
list_coding_standards() (MCP Tool)
Lists all active standards
Separates mandatory vs language-specific
Returns formatted markdown table
get_coding_standard(category, name) (MCP Tool)
Fetches specific standard content
Returns full markdown content
get_standards_for_project(languages) (MCP Tool)
Gets standards for multiple languages
Always includes general standards
Returns combined markdown
📊 Monitoring
Check server health:
# Railway logs
railway logs
# Or visit your app URL
curl https://your-app.railway.app/sse🐛 Troubleshooting
Standards not showing up?
Check
status: activein frontmatterVerify file is in correct directory
Restart server
MCP not working in Cursor?
Verify
~/.cursor/mcp.jsonsyntaxCheck URL is correct
Restart Cursor completely
Server not starting?
Check Python version (3.11+)
Verify all dependencies installed
Check port 8000 is available
📚 Learn More
From AI Coding Chaos to Team Standards - Read our journey from file-based standards to MCP, including:
The challenges with agents.md and .cursorrules
Why AI agents ignore file-based rules
How MCP solves team-scale standards enforcement
Real-world implementation guide
Research Documentation - Deep dive into our findings:
agents.md reliability issues - Community reports and root causes
MCP architecture advantages - Technical comparison and benefits
Key statistics and quotes - Data points and evidence
Questions? Open an issue or ask the AI to help you use the coding standards! 🚀
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceAutomatically enhances developer prompts with quality requirements, codebase context, and architectural patterns, then orchestrates other MCP servers to ensure AI coding assistants produce high-quality, structured code that follows best practices and security standards.Last updated73MIT
- Alicense-qualityCmaintenanceA Model Context Protocol (MCP) server that provides intelligent, context-aware access to development standards, enabling LLMs to automatically select and apply appropriate standards based on project requirements.Last updated3MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides development standards and best practices context to AI coding assistants, ensuring generated code adheres to team/project conventions.Last updated431MIT
Related MCP Connectors
MCP server for AI agent profiles and smart notes. 60+ coding prompt packs with expert personas.
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
One shared context your team's AI tools read & write over MCP. No re-explaining. Free.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/manasvi-turing/coding-standards-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server