Skip to main content
Glama

MCP-REPL

by AnEntrypoint

astgrep_lint

Validate and enforce code quality using customizable YAML rules. Specify paths, severity levels, and output formats to streamline linting in a secure JavaScript REPL environment.

Instructions

Rule-based code validation using ast-grep YAML rules

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format
pathsNoSpecific paths to validate
rulesYesYAML rule content or path to rule file
severityNoMinimum severity level
workingDirectoryNoOptional working directory for the operation (defaults to server working directory)

Input Schema (JSON Schema)

{ "properties": { "format": { "description": "Output format", "enum": [ "json", "text" ], "type": "string" }, "paths": { "description": "Specific paths to validate", "items": { "type": "string" }, "type": "array" }, "rules": { "description": "YAML rule content or path to rule file", "type": "string" }, "severity": { "description": "Minimum severity level", "enum": [ "error", "warning", "info", "hint" ], "type": "string" }, "workingDirectory": { "description": "Optional working directory for the operation (defaults to server working directory)", "type": "string" } }, "required": [ "rules" ], "type": "object" }

Other Tools from MCP-REPL

Related Tools

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/AnEntrypoint/mcp-repl'

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