Guardz Generator MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Node environment for the MCP server, shown set to "production" in the provided configuration examples. | production |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_type_guardsC | Generate TypeScript type guards from source files - PRIMARY FUNCTIONALITY |
| discover_filesB | Helper to find TypeScript files for type guard generation |
| validate_typescriptC | Helper to validate TypeScript before generating type guards |
| format_codeC | Helper to format generated type guard code |
| lint_codeB | Helper to lint generated type guard code |
| get_project_infoC | Helper to get project context for type guard generation |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool maps to a distinct stage of the pipeline (discover, validate, generate, format, lint, project info), so boundaries are mostly clear. The only mild overlap is between validate_typescript and lint_code, which an agent might hesitate between, but descriptions clarify intent.
All six tools use a consistent snake_case verb_noun pattern (generate_type_guards, discover_files, validate_typescript, format_code, lint_code, get_project_info). No mixing of conventions or vague standalone verbs.
Six tools is well-scoped for a focused generator server: one primary operation plus five helpers that directly support it. Every tool earns its place with no filler.
The surface covers the full workflow from file discovery through validation, generation, formatting, and linting, plus project context. Minor gaps exist around persisting/writing generated output or batch processing multiple files, but agents can work around these.