Skip to main content
Glama

MCP Diagnostics

by lin037

getDiagnosticsForPath

Retrieve diagnostic information (errors, warnings, hints) for a specific file path using flexible path formats, supporting relative paths or filenames for streamlined code analysis.

Instructions

🌟 推荐工具:根据文件路径获取诊断信息,支持灵活的路径匹配。可以使用相对路径、文件名等多种格式,比 getDiagnosticsForFile 更易用。

Input Schema

NameRequiredDescriptionDefault
filePathYes文件路径,支持多种格式: - 相对路径:src/index.ts - 文件名:index.ts - 带目录的文件名:test/TestJava.java 示例:要查看 index.ts 文件的问题,使用 "src/index.ts" 或 "index.ts"

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "filePath": { "description": "文件路径,支持多种格式:\n- 相对路径:src/index.ts\n- 文件名:index.ts\n- 带目录的文件名:test/TestJava.java\n示例:要查看 index.ts 文件的问题,使用 \"src/index.ts\" 或 \"index.ts\"", "type": "string" } }, "required": [ "filePath" ], "type": "object" }
Install Server

Other Tools from MCP Diagnostics

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/lin037/mcp-diagnostics-trae'

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