Skip to content

KarateJB/mcp-coding-standards

Repository files navigation

MCP Coding Standards Server

A Model Context Protocol (MCP) server that provides programming guidelines and coding standards for multiple languages. Perfect for integrating with Claude Desktop, IDEs, and other MCP-compatible clients.


Features

Multi-Language Support

  • C# (CSharp), golang, javascript, python, typescript
  • Easily extensible for more languages

🔍 Powerful Search

  • Full-text search across all guidelines
  • Relevance scoring
  • Language filtering
  • Context-aware snippets

📚 Comprehensive Guidelines

  • Naming conventions
  • Async/await patterns
  • LINQ best practices (C#)
  • SOLID principles (C#)
  • Code examples and anti-patterns

🛠️ Three Essential Tools

  • list_guidelines - Browse available languages and categories
  • get_guideline - Retrieve full guideline text
  • search_guidelines - Search by keyword across all content

Installation

npm install -g mcp-coding-standards
npx mcp-coding-standards

Development

MCP Inspector (Testing)

npm run test:inspector

Open http://localhost:5173 to visually test all tools.


Scripts

npm run build          # Compile TypeScript and copy guidelines
npm run dev            # Build and run server
npm run watch          # Watch mode for development
npm test               # Run comprehensive tests
npm run test:inspector # Open MCP Inspector
npm pack               # Create distribution tarball

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors