Skip to main content
Glama

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

  1. Loads a JSON rules file.

  2. Analyzes a set of files (configurable extensions).

  3. Resets the context between each file.

  4. 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 build

Running the MCP server

npm start

Running the example validation

npm run validate:example

Generated 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.

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

Related MCP Connectors

  • 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…

View all MCP Connectors

Latest Blog Posts

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/johndev38/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server