Back to Home
sshailabh icon

antlr4-mcp-server

Verified Safe

by sshailabh

Overview

MCP server enabling AI assistants to help with ANTLR4 grammar development by providing grammar analysis, parsing, and code generation capabilities.

Installation

Run Command
docker run -i --rm sshailabh1/antlr4-mcp-server:latest

Environment Variables

  • JAVA_OPTS

Security Notes

The server includes robust security measures designed for LLM interaction: input validation (regex patterns for grammar/rule names, detection of shell metacharacters), path traversal prevention, and strict resource limits (max grammar/input sizes, process execution timeouts for compilation, and output truncation). The Docker setup further enhances security by running read-only containers with restricted privileges and temporary files mounted to a tmpfs with noexec/nosuid. No hardcoded secrets or malicious patterns were found.

Similar Servers

Stats

Interest Score26
Security Score9
Cost ClassMedium
Avg Tokens25000
Stars7
Forks0
Last Update2026-01-01

Tags

ANTLR4Grammar DevelopmentCompilerAI AssistantMCP