bridge-mcp: Instructions file for Claude Code

CLAUDE.md

bridge-mcp CLAUDE.md is an instructions file for Claude Code from muchiny/bridge-mcp. It costs 908 tokens per session, scanned A, original, MIT.

Project instructions and command references for Bridge MCP, a service that lets Claude Code run commands on remote or isolated computers through SSH.

In plain words
What is it for?
Use them to inspect or operate Docker, Kubernetes, Linux, and Windows environments through Bridge MCP tools or its command-line interface.
Why use it?
They help an agent understand the project and choose the right command interface for remote system work.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is muchiny/bridge-mcp's own configuration. It tells Claude Code how to work on bridge-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bridge-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to muchiny/bridge-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/muchiny/bridge-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/muchiny/bridge-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bridge-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/muchiny/bridge-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/muchiny/bridge-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/muchiny/bridge-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/muchiny/bridge-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bridge-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/muchiny/bridge-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/muchiny/bridge-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 908 This file is loaded in full into every session.
When invoked 908 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00908 $0.00908
Opus 5.5 $0.00363 $0.00363
Sonnet 5.5 $0.00182 $0.00182
Haiku 4.5 $0.00091 $0.00091

Measured 5d ago against content hash 379443bd8f6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bridge-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

Project Overview

Bridge MCP (binary bridge-mcp, formerly MCP SSH Bridge / mcp-ssh-bridge) is a Rust MCP server that enables Claude Code to securely execute commands on air-gapped environments via SSH. JSON-RPC over stdio, strict security controls. 476 tools across 77 groups (62 Linux, 13 Windows, 2 cross-platform). Count source of truth: .migration-baseline.json (python3 scripts/validate_baseline.py).

CLI-as-Tool Mode (Alternative to MCP)

All 476 MCP tools are reachable from the CLI (bridge-mcp tool <name> key=value), for 10-32x token savings over MCP mode. CLI for dev workflows, MCP for enterprise integration and for anything needing persistent sessions or the output cache.

Full reference — progressive discovery, the per-OutputKind reduction strategies, pagination, global flags — is in the bridge skill (/bridge). Load it before invoking tools; do not re-derive it here.

Build Commands

make ci before every commit (fmt-check, lint, test, audit, typos). make help lists every target. make install builds with RELEASE_FEATURES (full,winrm,psrp) and refuses to install a binary that cannot load the local config or lacks jq_filter.

Worktrees

Create worktrees under .worktrees/<name> (git-ignored), never in ~/. Each has its own target/ (several GB): git worktree remove it once its branch is merged.

Feature Flags

Full matrix in Cargo.toml. The one thing the matrix does not say: cloud (SSM + Azure + GCP) is NOT air-gapped — it requires connectivity to the AWS/Azure/GCP APIs, and GCP wraps the gcloud CLI, which must be installed on the bridge host.

Configuration

YAML config at ~/.config/bridge-mcp/config.yaml, falling back to the legacy ~/.config/mcp-ssh-bridge/config.yaml when the current path is absent (src/config/loader.rs). On this machine only the legacy path exists — that is the file actually loaded. Schema is Config in src/config/types.rs (deny_unknown_fields). Conventions, validation flow and the non-obvious gotchas (rbac.enabled rejected at load, session recording is not a YAML section) live in .claude/rules/config.md, loaded when you touch config code.

Read the full file on GitHub · 70 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +1 tokens per session 379443bd8f6a
  2. 8d ago Changed · -69 lines · -1,225 tokens per session 82f93b8d387b
  3. 1mo ago Changed · +1 lines · +41 tokens per session c2d88dee1411
  4. 1mo ago Changed · -177 lines · -2,739 tokens per session c09f6cf65029
  5. 2mo ago First seen · 315 lines · 4,830 tokens per session scan A 1c92685f4c35

Subscribe to this mod's changes

bridge-mcp CLAUDE.md is an instructions file published in the GitHub repository muchiny/bridge-mcp (12 stars, last pushed 4d ago), licensed MIT. It adds 908 tokens to every session, about $0.0036 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vibetags com-example-service-NewAnnotationsShowcase-DraftKafkaIntegrationSpike.instructions.md

Instructions for PIsberg/vibetags, covering copilot instructions for draftkafkaintegrationspike and experimental prototype.

PIsberg/vibetags · 93 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens