mcpserver-rules
v1.0.2
Published
MCP Server with validation rules for code quality
Maintainers
Readme
MCP Validation Server
A Model Context Protocol (MCP) server that provides validation tools for code quality and structure.
Features
- Project structure validation
- File naming convention validation
- Import statement validation
- Component structure validation
- UI action validation
- Comprehensive code review
Installation & Usage
Direct Usage with npx
You can use this MCP server directly without installation:
npx github:your-github-username/mcp-validation-serverIntegration with Cursor
Add this to your .cursor.json file:
{
"mcpServers": {
"validation-mcp": {
"command": "npx",
"args": ["github:your-github-username/mcp-validation-server"]
}
}
}The Cursor integration will provide Claude with tools to validate code against your standards.
Available Tools
validate_project: Validates the entire project structure and codevalidate_structure: Validates only the project folder structurevalidate_naming: Validates file naming conventionsvalidate_imports: Validates import statements in source filesvalidate_component: Validates component structuresuggest_file_structure: Suggests proper file structure for new featuresreview_code: Performs a comprehensive code review
Development
# Install dependencies
npm install
# Start server locally
npm start
# Start with nodemon for development
npm run devLicense
MIT
