Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Crawler Summary
MCP Server for reading VS Code diagnostics via Debug Adapter Protocol MCP Diagnostics - Trae IDE 诊断信息读取工具 $1 $1 $1 $1 $1 一个专门为 Trae IDE 开发的 MCP (Model Context Protocol) 服务器,让 Trae 的 AI Agent 能够实时获取项目中的错误、警告和提示信息,从而提供更智能的代码分析和建议。 **English Documentation**: $1 🌟 功能特性 - **🔍 实时诊断**: 读取 Trae IDE 当前工作区的所有诊断信息(错误/警告/提示) - **📁 文件级诊断**: 获取指定文件的诊断信息,支持多种路径格式 - **📊 统计摘要**: 快速查看诊断统计(文件数、错误数、警告数) - **🤖 AI 增强**: 让 Trae 的 AI Agent 能够理解代码问题,提供更精准的修复建议 - **🔌 扩展协同**: 通过配套的 VS Code 扩展,稳定、高效地获取诊断信息。 Published capability contract available. No trust telemetry is available yet. 10 GitHub stars reported by the source. Last updated 2/24/2026.
Freshness
Last checked 2/22/2026
Best For
Contract is available with explicit auth and schema references.
Not Ideal For
mcp-diagnostics is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.
Evidence Sources Checked
editorial-content, capability-contract, runtime-metrics, public facts pack
MCP Server for reading VS Code diagnostics via Debug Adapter Protocol MCP Diagnostics - Trae IDE 诊断信息读取工具 $1 $1 $1 $1 $1 一个专门为 Trae IDE 开发的 MCP (Model Context Protocol) 服务器,让 Trae 的 AI Agent 能够实时获取项目中的错误、警告和提示信息,从而提供更智能的代码分析和建议。 **English Documentation**: $1 🌟 功能特性 - **🔍 实时诊断**: 读取 Trae IDE 当前工作区的所有诊断信息(错误/警告/提示) - **📁 文件级诊断**: 获取指定文件的诊断信息,支持多种路径格式 - **📊 统计摘要**: 快速查看诊断统计(文件数、错误数、警告数) - **🤖 AI 增强**: 让 Trae 的 AI Agent 能够理解代码问题,提供更精准的修复建议 - **🔌 扩展协同**: 通过配套的 VS Code 扩展,稳定、高效地获取诊断信息。
Public facts
7
Change events
1
Artifacts
0
Freshness
Feb 22, 2026
Published capability contract available. No trust telemetry is available yet. 10 GitHub stars reported by the source. Last updated 2/24/2026.
Trust score
Unknown
Compatibility
MCP
Freshness
Feb 22, 2026
Vendor
Lin037
Artifacts
0
Benchmarks
0
Last release
1.0.0
Key links, install path, and a quick operational read before the deeper crawl record.
Summary
Published capability contract available. No trust telemetry is available yet. 10 GitHub stars reported by the source. Last updated 2/24/2026.
Setup snapshot
git clone https://github.com/lin037/mcp-diagnostics-trae.gitSetup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.
Vendor
Lin037
Protocol compatibility
MCP
Auth modes
mcp, api_key
Machine-readable schemas
OpenAPI or schema references published
Adoption signal
10 GitHub stars
Handshake status
UNKNOWN
Crawlable docs
6 indexed pages on the official domain
Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.
Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.
Extracted files
0
Examples
6
Snippets
0
Languages
typescript
bash
# 克隆项目 git clone https://github.com/lin037/mcp-diagnostics-trae.git cd mcp-diagnostics # 安装依赖 npm install # 构建项目 npm run build
json
{
"mcpServers": {
"diagnostics": {
"command": "npx",
"args": ["-y", "/path/to/mcp-diagnostics"],
"description": "Trae IDE 诊断信息读取工具"
}
}
}json
{
"mcpServers": {
"diagnostics": {
"command": "npx",
"args": [
"-y",
"E:/MCPWork/trae-diagnostics/mcp"
]
}
}
}json
{}json
[
{
"uri": "file:///workspace/src/index.ts",
"diagnostics": [
{
"range": {
"start": { "line": 12, "character": 5 },
"end": { "line": 12, "character": 10 }
},
"severity": 1,
"source": "typescript",
"message": "类型 'string' 不能赋值给类型 'number'。"
}
]
}
]json
{
"filePath": "src/index.ts"
}Full documentation captured from public sources, including the complete README when available.
Docs source
GITHUB MCP
Editorial quality
ready
MCP Server for reading VS Code diagnostics via Debug Adapter Protocol MCP Diagnostics - Trae IDE 诊断信息读取工具 $1 $1 $1 $1 $1 一个专门为 Trae IDE 开发的 MCP (Model Context Protocol) 服务器,让 Trae 的 AI Agent 能够实时获取项目中的错误、警告和提示信息,从而提供更智能的代码分析和建议。 **English Documentation**: $1 🌟 功能特性 - **🔍 实时诊断**: 读取 Trae IDE 当前工作区的所有诊断信息(错误/警告/提示) - **📁 文件级诊断**: 获取指定文件的诊断信息,支持多种路径格式 - **📊 统计摘要**: 快速查看诊断统计(文件数、错误数、警告数) - **🤖 AI 增强**: 让 Trae 的 AI Agent 能够理解代码问题,提供更精准的修复建议 - **🔌 扩展协同**: 通过配套的 VS Code 扩展,稳定、高效地获取诊断信息。
一个专门为 Trae IDE 开发的 MCP (Model Context Protocol) 服务器,让 Trae 的 AI Agent 能够实时获取项目中的错误、警告和提示信息,从而提供更智能的代码分析和建议。
English Documentation: README_EN.md
本项目专门为 Trae IDE 设计,目的是让 Trae 的 AI Agent 能够:
为了让此工具能够访问 VS Code 的诊断信息,您需要先安装配套的 VS Code 扩展。
Ctrl+Shift+P 或 Cmd+Shift+P)。diagnostics-extension 目录下的 trae-diagnostics-server-0.0.1.vsix 文件并安装。安装成功后,扩展会自动在后台运行一个本地服务器,用于提供诊断数据。
# 克隆项目
git clone https://github.com/lin037/mcp-diagnostics-trae.git
cd mcp-diagnostics
# 安装依赖
npm install
# 构建项目
npm run build
手动添加{
"mcpServers": {
"diagnostics": {
"command": "npx",
"args": ["-y", "/path/to/mcp-diagnostics"],
"description": "Trae IDE 诊断信息读取工具"
}
}
}
注意:要将args中的/path/to/mcp-diagnostics替换为你clone下来项目的实际路径。
例如:git clone 后,项目在E:/MCPWork/trae-diagnostics/mcp目录下:
{
"mcpServers": {
"diagnostics": {
"command": "npx",
"args": [
"-y",
"E:/MCPWork/trae-diagnostics/mcp"
]
}
}
}
getDiagnostics()获取当前工作区所有文件的诊断信息。
输入: 无参数
{}
输出: 诊断信息数组
[
{
"uri": "file:///workspace/src/index.ts",
"diagnostics": [
{
"range": {
"start": { "line": 12, "character": 5 },
"end": { "line": 12, "character": 10 }
},
"severity": 1,
"source": "typescript",
"message": "类型 'string' 不能赋值给类型 'number'。"
}
]
}
]
getDiagnosticsForPath(filePath) ⭐ 推荐使用根据文件路径获取诊断信息,支持灵活的路径匹配。
输入:
{
"filePath": "src/index.ts"
}
支持的路径格式:
src/index.tsindex.tstest/TestJava.java输出: 匹配文件的诊断信息数组
使用示例:
"filePath": "src/index.ts""filePath": "TestJava.java""filePath": "test/test-errors.ts"getDiagnosticsForFile(fileUri)获取指定文件的诊断信息(需要完整URI)。
输入:
{
"fileUri": "file:///workspace/src/index.ts"
}
注意: 必须使用 file:///workspace/ 开头的完整URI格式。
getDiagnosticsSummary()获取诊断统计信息。
输入: 无参数
{}
输出: 统计摘要
{
"totalFiles": 4,
"errors": 4,
"warnings": 4
}
用户: "请帮我查看当前项目的诊断摘要"
AI 会自动调用 getDiagnosticsSummary 工具。
用户: "请列出当前项目的所有错误和警告"
AI 会调用 getDiagnostics 工具。
用户: "请检查 src/index.ts 文件的问题"
AI 会调用 getDiagnosticsForPath 工具,参数为 {"filePath": "src/index.ts"}。
1 - 错误 (Error) ❌2 - 警告 (Warning) ⚠️3 - 信息 (Info) ℹ️4 - 提示 (Hint) 💡Trae IDE (MCP客户端) ←→ MCP服务器 ←→ Trae IDE (DAP接口)
npm run dev
npm run build
# 启动服务器
npm start
# 在另一个终端测试
node test-file-diagnostics.js
解决方案:
可能原因:
解决方案:
解决方案:
getDiagnosticsForPath 工具(推荐)file:///workspace/文件路径getDiagnostics 查看可用的文件URI检查项目:
本项目由作者通过 AI 助手开发完成,由于作者技术有限且时间有限,未来的维护主要依靠社区:
本项目采用 MIT 许可证。
🎉 现在您可以让 Trae 的 AI Agent 实时了解项目中的代码问题了!
Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.
Contract coverage
Status
ready
Auth
mcp, api_key
Streaming
No
Data region
global
Protocol support
Requires: mcp, lang:typescript
Forbidden: none
Guardrails
Operational confidence: medium
curl -s "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/snapshot"
curl -s "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract"
curl -s "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/trust"
Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.
Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.
Rank
83
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
80
A Model Context Protocol (MCP) server for GitLab
Traction
No public download signal
Freshness
Updated 2d ago
Rank
74
Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Rank
72
An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)
Traction
No public download signal
Freshness
Updated 2d ago
Contract JSON
{
"contractStatus": "ready",
"authModes": [
"mcp",
"api_key"
],
"requires": [
"mcp",
"lang:typescript"
],
"forbidden": [],
"supportsMcp": true,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": "https://github.com/lin037/mcp-diagnostics-trae#input",
"outputSchemaRef": "https://github.com/lin037/mcp-diagnostics-trae#output",
"dataRegion": "global",
"contractUpdatedAt": "2026-02-24T19:45:32.747Z",
"sourceUpdatedAt": "2026-02-24T19:45:32.747Z",
"freshnessSeconds": 4430211
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/snapshot",
"contractUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"trustUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/trust"
},
"curlExamples": [
"curl -s \"https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/snapshot\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract\"",
"curl -s \"https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": [
"MCP"
]
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "GITHUB_MCP",
"generatedAt": "2026-04-17T02:22:24.609Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "MCP",
"type": "protocol",
"support": "supported",
"confidenceSource": "contract",
"notes": "Confirmed by capability contract"
},
{
"key": "mcp",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "vscode",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "diagnostics",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "debug-adapter",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "cli",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "protocol:MCP|supported|contract capability:mcp|supported|profile capability:vscode|supported|profile capability:diagnostics|supported|profile capability:debug-adapter|supported|profile capability:cli|supported|profile"
}Facts JSON
[
{
"factKey": "docs_crawl",
"category": "integration",
"label": "Crawlable docs",
"value": "6 indexed pages on the official domain",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "MCP",
"href": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:45:32.747Z",
"isPublic": true
},
{
"factKey": "auth_modes",
"category": "compatibility",
"label": "Auth modes",
"value": "mcp, api_key",
"href": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:45:32.747Z",
"isPublic": true
},
{
"factKey": "schema_refs",
"category": "artifact",
"label": "Machine-readable schemas",
"value": "OpenAPI or schema references published",
"href": "https://github.com/lin037/mcp-diagnostics-trae#input",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/contract",
"sourceType": "contract",
"confidence": "high",
"observedAt": "2026-02-24T19:45:32.747Z",
"isPublic": true
},
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Lin037",
"href": "https://github.com/lin037/mcp-diagnostics-trae",
"sourceUrl": "https://github.com/lin037/mcp-diagnostics-trae",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "10 GitHub stars",
"href": "https://github.com/lin037/mcp-diagnostics-trae",
"sourceUrl": "https://github.com/lin037/mcp-diagnostics-trae",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-02-24T19:43:14.176Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/trust",
"sourceUrl": "https://xpersona.co/api/v1/agents/mcp-lin037-mcp-diagnostics-trae/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[
{
"eventType": "docs_update",
"title": "Docs refreshed: Sign in to GitHub · GitHub",
"description": "Fresh crawlable documentation was indexed for the official domain.",
"href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
"sourceType": "search_document",
"confidence": "medium",
"observedAt": "2026-04-15T05:03:46.393Z",
"isPublic": true
}
]Sponsored
Ads related to mcp-diagnostics and adjacent AI workflows.