MCP Code Validator
Click on "Deploy 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., "@MCP Code Validatorvalidate this TypeScript file against our custom linting rules"
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.
MCP Code Validator (TypeScript, Gemini compatible)
This project provides a TypeScript MCP server (JSON-RPC over stdio) with a validate_codebase tool.
What the server does
Loads a JSON rules file.
Analyzes a set of files (configurable extensions).
Resets the context between each file.
Writes all violations to a JSON reporting file.
Related MCP server: Edit File Lines MCP Server
Requested logic (your example)
Code example: <###### this is a comment ###> 4<=6
Associated rules:
a comment must start with
<###<=is forbidden (only<is allowed for this case)
Installation
npm install
npm run buildRunning the MCP server
npm startRunning the example validation
npm run validate:exampleGenerated report: reports/report.json.
Main files
src/server.ts: MCP server + rules engine.examples/rules.json: example rules.examples/codebase/*: example code to analyze.scripts/run_validation.ts: demonstration script.
This server cannot be deployed
Maintenance
Related MCP Connectors
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseBqualityDmaintenanceTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.355 npm26MIT
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that provides tools for making precise line-based edits to text files within allowed directories.34MIT
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based MCP server that provides backend API handling and facilitates communication between microservices. Features an organized structure with controllers, routes, and models for easy extensibility and maintenance.239 npm1MIT
- AlicenseNot gradedqualityCmaintenanceA TypeScript-based MCP server that enables code search, file reading, and project management via the GitLab API.7 npm1ISC