ts-diagnostics-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | The absolute path to the TypeScript project root | |
| TS_DIAG_AUTO_DETECT | No | Auto-detect workspaces (true/false, default: true) | |
| TS_DIAG_DEBOUNCE_MS | No | Debounce delay in milliseconds (default: 500) | |
| TS_DIAG_INCREMENTAL | No | Enable incremental builds (true/false, default: true) | |
| TS_DIAG_MAX_CACHE_SIZE | No | Cache size in MB (default: 100) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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