Skip to main content
Glama
GNARC0TICS

ts-diagnostics-mcp

by GNARC0TICS

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
projectPathYesThe absolute path to the TypeScript project root
TS_DIAG_AUTO_DETECTNoAuto-detect workspaces (true/false, default: true)
TS_DIAG_DEBOUNCE_MSNoDebounce delay in milliseconds (default: 500)
TS_DIAG_INCREMENTALNoEnable incremental builds (true/false, default: true)
TS_DIAG_MAX_CACHE_SIZENoCache size in MB (default: 100)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_all_diagnosticsA

Get all TypeScript diagnostics from all watched projects. Returns errors, warnings, and suggestions with file locations.

get_file_diagnosticsA

Get TypeScript diagnostics for a specific file. Much faster than running tsc on the whole project.

get_package_diagnosticsA

Get TypeScript diagnostics for a specific package in a monorepo. Useful for filtering diagnostics by workspace.

has_errorsA

Quick boolean check if there are any TypeScript errors. Optionally check a specific file. Extremely fast - use this before full diagnostic queries.

get_diagnostic_countA

Get summary counts of errors, warnings, and suggestions. Faster than getting full diagnostics.

get_watch_statusA

Get status of the TypeScript watch process including watched configs, file count, and last compilation time.

get_cache_statsA

Get cache performance statistics including hit rate, size, and evictions.

clear_cacheB

Clear cached diagnostics. Optionally clear cache for a specific file only.

list_packagesA

List all packages in the monorepo that are being watched. Useful for discovering available package names.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/GNARC0TICS/ts-diagnostics-mcp'

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