YA

yatfa-ai/specguard-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

1 stars 0 forks 品質 71 トレンド 14

MCP サーバーは、SpecGuard のスイート インテリジェンスを AI コーディング エージェントにブリッジングします.

概要

MCP ブリッジから SpecGuard — AI エージェントは、ツールとして非常に大きなテスト スイートの背後にあるスイート インテリジェンスを提供します。 specguard-mcp は、MCP 対応のエージェント (Claude Code, Claude Desktop, ...) を SpecGuard に接続するモデルコンテキスト・プロトコル・サーバーです。そのため、エージェントはどのスイート・カバーを使用するか、そのプロンプトで HTTP または auth のコードの行なしで実行する費用とギャップがどこにあるかを尋ねることができます。 SpecGuardはAIコーディングエージェントを中心に構築されています。このブリッジは、Web UIをスクレイピングすることなくエージェントが到達する方法です。 すでに存在する機能をラップする、今日の小さなツールセットは、その中のツールを参照してください。 ツールセット — ツールの追加を参照してください。 npmはまだ公開されていません。チェックアウトからインストールします。 サーバの起動は必須ではありません。 各ツールは、それが呼ばれるときに必要とするものを求めます。そのため、欠落した変数は、ツール結果の1つの読みやすい文として返されます。つまり、起動を拒否するサーバーとしてなく、設定をせずに必要なツールを取り出します.

概要(AI 翻訳)

SpecGuard に MCP ブリッジ — AI エージェント スイート ツールとして非常に大きなテストスイートの背後にあるインテリジェンス。

[specguard-mcp は、接続するモデルコンテキストプロトコルサーバです。 MCP 対応可能なエージェント (Claude コード, Claude デスクトップ, …) を SpecGuard に、エージェントは何を尋ねることができる スイートカバー、実行する費用とギャップがどこにあるか、HTTPまたはauthコードの行なし そのプロンプト。

SpecGuardはAIコーディングエージェントを中心に構築されています。 ブリッジは、Web UIをスクレイピングすることなくエージェントが到達する方法です。

Status: ブートストラップ。 今日は小ロットの道具を出荷し、既に持っている能力を包みます 存在する — 参照 どのようなツールであれ。 ツールセット ** 徐々に成長** — 参照 ツールの追加 npmはまだ公開されていません。チェックアウトからインストールします。

インストール

Node.js 20 または newer が必要です。

設定

サーバのstartは必須ではありません。 それぞれのツールは、それが呼ばれるときに必要なものを尋ねるので、 行方不明変数は、ツール結果の 1 つの読みやすい文として戻ってくる — 決してサーバーとして 起動を拒否し、設定不要のツールを取り戻します。

| 変数 | ニーズ | デフォルト | お問い合わせ | | お問い合わせ |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

specguard-mcp

The MCP bridge to SpecGuard — gives an AI agent the suite intelligence behind a very large test suite as tools.

specguard-mcp is a Model Context Protocol server that connects an MCP-capable agent (Claude Code, Claude Desktop, …) to SpecGuard, so the agent can ask what a suite covers, what it costs to run and where the gaps are — without a line of HTTP or auth code in its prompt.

SpecGuard is built primarily for AI coding agents; this bridge is how an agent reaches it without scraping a web UI.

Status: bootstrap. A small set of tools ships today, each wrapping a capability that already exists — see The tools for what is in it. The toolset grows gradually — see Adding a tool. It is not published to npm yet; install from a checkout.

Install

git clone https://github.com/yatfa-ai/specguard-mcp.git
cd specguard-mcp && npm install && npm run build

Requires Node.js 20 or newer.

Configure

Nothing is required to start the server. Each tool asks for what it needs when it is called, so a missing variable comes back as one readable sentence in a tool result — never as a server that refuses to boot and takes the tools that needed no configuration down with it.

Variable Needed by Default What it is
SPECGUARD_ENDPOINT get_repository_overview, get_intent_schema, get_server_version, list_repositories, add_repository, registrable_repositories — your SpecGuard instance’s root URL, including the scheme — e.g. https://specguard.example.com, or http://localhost:3000. A value with no scheme is refused by name (SPECGUARD_ENDPOINT is not a usable URL: "sg.example.com") rather than surfacing later as an opaque failure. SPECGUARD_URL is accepted as an alias, and is the name every message uses when it is the one you set. A blank value counts as unset, so leaving SPECGUARD_ENDPOINT empty in a templated config falls through to SPECGUARD_URL instead of suppressing it. get_server_version and get_intent_schema need only this variable — they send no API key, because the routes they read are unauthenticated by design
SPECGUARD_API_KEY get_repository_overview, near_duplicate_clusters, find_tests_near_behavior (default calls) — an agent/CI API key (sgk_…) issued by that deployment — a per-repository key, which is the single repository those tools answer about by default
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "specguard": { "command": "node", "args": ["/path/to/specguard-mcp/dist/bin/specguard-mcp.js"], "env": { "SPECGUARD_ENDPOINT": "https://specguard.example.com", "SPECGUARD_API_KEY": "sgk_…", "SPECGUARD_USER_API_KEY": "sgu_…", "SPECGUARD_AGENT_API_KEY": "sga_…", "SPECGUARD_LINT_COMMAND": "bundle exec specguard-lint" } } } }