プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Groundrule

作者:Metricall-AI-Labバージョン 0.23.1i★ –iパソコンで動く
レジストリ名io.github.Metricall-AI-Lab/groundrule

インストール

概要

作者による説明(英語の原文)

Your repository's engineering standards for coding agents: rules per file, CI check, rule proposals.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "groundrule": {
      "command": "npx",
      "args": [
        "-y",
        "@groundrule/cli",
        "mcp"
      ]
    }
  }
}

ターミナルでこれを実行します

claude mcp add groundrule -- npx -y @groundrule/cli mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "groundrule": {
      "command": "npx",
      "args": [
        "-y",
        "@groundrule/cli",
        "mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "groundrule": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@groundrule/cli",
        "mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント Metricall-AI-Lab で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの5135件のうち0%よりスターが多い
  • このカテゴリのほかの5135件のうち75%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの5135件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Groundruleは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.23.1)がレジストリに届いたのは10 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github広く使われている★ 3.4万5 日前更新

パソコンでもクラウドでも

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er広く使われている↓ 71万/週★ 1万17 日前更新

パソコンで動く

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare成長中★ 444614 か月前更新

クラウドで動く✓ mcp.cloudflare.com

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Groundrule

Your engineering standards, taught to every coding agent and checked on every PR.

Write a standard once, as a small YAML file in git. Groundrule:

  • teaches your coding agents. It generates AGENTS.md, CLAUDE.md, Cursor rules, and Copilot instructions containing only the standards that apply, without touching what you wrote by hand. An MCP server and hooks let Claude Code, Codex, Cursor and Copilot follow action policies before each tool call and check their own changes before they finish.
  • checks the code. It runs locally and in CI against your changes or the whole repository, with deterministic checks (files, patterns, dependencies, imports, layout, metrics, change sets), Semgrep, and optional AI checks on the Groundrule platform.
  • tells you why. Every finding names the standard, shows the evidence, says how to fix it, and labels whether it came from a deterministic check or AI.

Everything in this repository works offline and without an account. The Groundrule platform adds a shared rulebook, staged rollout, hosted checks and a compliance report on top of it.

Status: 0.x. Groundrule checks its own repositories with it. The document format is groundrule.dev/v1alpha1 and may still change before 1.0; changes are announced in Discussions.

See it in 60 seconds

Quick start

Thirty seconds, no account, nothing leaves your machine:

npx @groundrule/cli init      # detects your stack, picks packs, writes .groundrule/config.yaml

npx @groundrule/cli sync # writes AGENTS.md / CLAUDE.md / Cursor / Copilot instructions npx @groundrule/cli check # checks your uncommitted changes

 groundrule check · 11 standards · 2 files changed

✕ TS-003 No eval or new Function BLOCKER · deterministic (regex) src/app.ts:3 eval or new Function in application code 3: return eval(input); → Parse the input instead: JSON.parse, a schema, or a lookup table of allowed operations. → groundrule explain TS-003

Failed ✓ 7 passed ✕ 1 failed ◇ 2 guidance · 0.1s

A standard

apiVersion: groundrule.dev/v1alpha1

kind: Standard metadata: id: DEP-008 title: Use the platform HTTP client type: forbidden-tech owner: team:platform spec: severity: warning requirement: Backend services must use @acme/http-client for outbound HTTP calls. examples: forbidden: ["import axios from 'axios'"] checks:

  • evaluator: dependencies forbid: [axios, got, node-fetch] allowInstead: ["@acme/http-client"]

More in examples/foundation.

Commands

CommandWhat it does
groundrule initCreate .groundrule/config.yaml with packs for your stack
groundrule sync [--check] [--upload]Write (or verify) coding-agent instructions; --upload reports what the repository delivers to agents
groundrule check [--base ] [--all]Check changes, a branch, or everything. `-f json\sarif\markdown, --summary `
groundrule standardsList the standards in effect
groundrule keys generateCreate a signing key pair for check results (RFC 0008)
groundrule verify --key Check a run's signature offline
groundrule explain Why a standard exists, examples, how to comply, exceptions
groundrule doctorCheck configuration, tools, and agent files
groundrule packsList bundled packs
groundrule scan [--json] [--upload]Observe this repository against the whole catalog: stack, agent files, tools, and how every rule would do today. Changes nothing
groundrule propose " "Propose a rule for your team to review on the platform. --why, --example, --file path[:line]
groundrule mcpServe your standards to coding agents over MCP, let them check their changes and propose rules (see below)
groundrule hooks [--agents ] [--remove]Have Claude Code, Codex, Cursor, or Copilot follow action policies before each tool call and run the check when they finish a task (see below)
groundrule loginSign in to your organization on the Groundrule platform (browser approval)
groundrule whoami / logoutShow or remove (and revoke) your saved sign-in

Exit codes: 0 passed, 1 failed, 2 configuration or usage error.

Using the Groundrule platform (optional)

Everything above works offline. If your organization manages its standards on the Groundrule platform, connect a repository instead of listing packs:

npx @groundrule/cli login               # approve this computer in your browser

npx @groundrule/cli init --org acme # writes platform: { org: acme } to .groundrule/config.yaml npx @groundrule/cli sync # your organization's rules, with every customization

groundrule scan --upload shares a scan with your organization so it can see which rules fit each repository. It also imports what you already have as proposals: instructions from AGENTS.md, CLAUDE.md, Cursor, and Copilot files; ESLint, Biome, Ruff, golangci-lint, Checkstyle, PMD, and tsconfig settings that match catalog rules; CODEOWNERS; and the architecture the code already keeps, as proposed boundary rules with the files that would fail each today (RFC 0011; use --no-import to leave these out). Reports contain counts and at most three one-line, redacted snippets per rule (none for security rules, none at all with --no-snippets); --json shows exactly what would be sent. When uploading, the scan also tests your organization's own rules that have checks, drafts included, so you see their impact before publishing them.

groundrule check --upload sends the result to your organization as a compliance record (RFC 0007): which rules were in effect (as a digest anyone with the same rules can recompute), each rule's version, rollout stage and whether it could fail the change, the exceptions that applied, and which coding agents the change's commits declare, from Co-Authored-By trailers and bot authors (counts only; never commit messages or email addresses). Agent counts are a declaration, not proof; leave them out with --no-authorship.

With a signing key in CI (groundrule keys generate, then the private key as GROUNDRULE_SIGNING_KEY), every uploaded run is signed with Ed25519 (RFC 0008); groundrule verify proves later, offline, that a run wasn't altered. The signature covers everything but code snippets. In GitHub Actions, --sigstore signs with the job's own identity instead of a key (RFC 0009, needs id-token: write; opt-in, since the identity and the result's hash go to Sigstore's public log).

What each command takes from the platform depends on the rule's rollout stage: sync writes rules at Teach, Advise, and Enforce into your agent files; check runs Enforce rules as set and Advise rules as warnings. Rules your repository defines in .groundrule/standards/ still apply. In CI, set GROUNDRULE_TOKEN to a token from Settings → API tokens. Sign-ins are saved in ~/.config/groundrule/credentials.json, readable only by you.

Coding agents (MCP)

groundrule mcp is a Model Context Protocol server (stdio) with four tools:

  • list_standards: the rules in effect in the repository, so the agent follows them. Works offline.
  • rules_for: the rules that name the files the agent is about to change (by path or language), blocking first, with how to comply (ADR 0010). The server's instructions tell the agent to call it before editing a file; rules that apply everywhere stay in the agent file. Works offline.
  • check: the same check CI runs, on the agent's uncommitted changes (or since a base ref, or all files). It lists only what the change introduced, with where and how to fix it, so the agent fixes it before it finishes. Works offline. In a repository connected to its workspace, the counts per rule are reported to the workspace (see below).
  • propose_rule: when you correct your agent and say (or agree) that it should apply to everyone, it proposes the rule to your organization's review inbox, with where it came up. Nothing changes until a reviewer accepts it. Needs a connected repository and groundrule login.

Add it to your agent once per repository or user:

claude mcp add groundrule -- npx -y @groundrule/cli mcp          # Claude Code
{ "mcpServers": { "groundrule": { "command": "npx", "args": ["-y", "@groundrule/cli", "mcp"] } } }

The JSON form goes in .cursor/mcp.json for Cursor, .vscode/mcp.json for VS Code (as servers), or your agent's MCP settings. Proposals carry the rule, your reason, and a file and line if given; nothing else from the repository is sent.

Hooks: before each action, and when the agent finishes

groundrule hooks adds two hooks to the agent's project settings. A before-tool hook decides what the agent is about to do against your action policies, and a stop hook runs the check every time the agent finishes a task, whether or not it remembered to:

npx @groundrule/cli hooks        # Claude Code, plus Codex, Cursor and Copilot if the repository uses them
AgentFileBefore an actionWhen the check fails
Claude Code.claude/settings.jsonallow, ask or deny, with the reason; the rules for a file ride along before an edit (ADR 0010)The agent is stopped from finishing and told what to fix
Codex.codex/hooks.jsonallow or deny (ask is delivered as deny, with the reason); each developer trusts the hooks once with /hooksThe same
Cursor.cursor/hooks.jsonshell commands, MCP calls and file reads (ask on a read is deny)What to fix is sent as a follow-up message
Copilot (CLI and cloud agent).github/hooks/groundrule.jsonallow, ask or deny (the cloud agent treats ask as deny)The agent takes another turn with what to fix

Existing settings and hooks are kept. Without an action policy the before-tool hook answers nothing, and without a Groundrule configuration neither hook does anything. The stop hook asks once per turn, so an agent that can't fix something isn't kept going forever. Commit the files so every developer's agent runs them; --remove takes the hooks out again.

What agents may do (action policies)

A standard says what the code must be. An action policy (RFC 0017) says what the agent may *do*: which shell commands, edits, reads, fetches and MCP calls it may run on its own (allow), which a person confirms first (ask, the default), and which are refused (deny). It lives next to your standards, with the same identity, scope, owner, exceptions and rollout stages:

apiVersion: groundrule.dev/v1alpha1

kind: ActionPolicy metadata: id: ACT-001 title: Never force-push spec: severity: blocker effect: deny requirement: Never force

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く