Skip to main content
Glama

GauntletCI MCP 服务器

模型上下文协议 (MCP) 服务器,将 GauntletCI 行为变更风险分析作为工具提供给 AI 编程助手(如 Claude、Copilot、Cursor 等)。

工具

工具

描述

analyze_commit

在 HEAD 上运行 GauntletCI,以可读文本形式返回分析结果

get_findings_json

运行 GauntletCI,返回用于程序化调用的原始 JSON

get_sarif

运行 GauntletCI,返回 SARIF 2.1.0 报告

Related MCP server: biascope

要求

  • Node.js 20+

  • GauntletCI CLI: dotnet tool install -g GauntletCI

安装

npm install
npm run build

在 Claude Desktop 中使用

添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "gauntletci": {
      "command": "node",
      "args": ["/path/to/GauntletCI-MCP/dist/index.js"]
    }
  }
}

在 VS Code (Copilot) 中使用

添加到 .vscode/mcp.json:

{
  "servers": {
    "gauntletci": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/path/to/GauntletCI-MCP/dist/index.js"]
    }
  }
}

提示词示例

连接后,您可以询问 AI 助手:

  • "在 /home/user/myapp 运行 GauntletCI 并总结分析结果。"

  • "当前提交中是否存在代码块级别的风险?"

  • "获取此提交的 SARIF 报告。"

链接

Available Tools

3 tools
analyze_commitA

Run GauntletCI behavioral change risk analysis on the current HEAD commit in a .NET repository. Returns findings as structured text.

Inputs: workingDirectory (required), sensitivity.

get_findings_jsonC

Run GauntletCI and return the raw JSON result for programmatic processing.

Inputs: workingDirectory (required), sensitivity.

get_sarifA

Run GauntletCI and return a SARIF 2.1.0 report. Useful for feeding into tools that consume SARIF (GitHub Advanced Security, VS Code SARIF viewer, etc.).

Inputs: workingDirectory (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools all trigger the same GauntletCI analysis but return different outputs (structured text, JSON, SARIF). The descriptions clearly differentiate the output formats, making it easy for an agent to choose based on the desired result.

    Naming Consistency2/5

    Naming is inconsistent: 'analyze_commit' uses a verb_noun pattern while 'get_findings_json' and 'get_sarif' use 'get_'. This mixed convention could cause confusion about the action of each tool.

    Tool Count4/5

    Three tools is a lean but appropriate set for a focused CI analysis server. Each output format covers a distinct use case without unnecessary bloat.

    Completeness2/5

    The tool surface is incomplete: it only analyzes the current HEAD commit and lacks options for specifying a different commit, configuring analysis parameters, or retrieving previous analyses. This leaves significant gaps for users needing more control.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready MCP server that provides AI assistants with comprehensive GitHub developer tooling including PR analysis, code review, changelog generation, dependency auditing, commit summarization, and refactoring suggestions.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for scanning AI systems and code for demographic, occupational, and geographic biases. Enables CI integration and AI agent-driven bias detection.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      AI code reviews and git activity digests with machine-readable risk scoring, available as an MCP server for use within an agent session.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An account-free MCP server that checks AI-written changes before they are committed, detecting nonexistent packages, dependency risk shapes, and hardcoded secrets.
      MIT