mcp-rubber-duck: Agent for Claude Code

.claude/agents/mcp-bridge-expert.md

mcp-bridge-expert is an agent for Claude Code from nesquikm/mcp-rubber-duck. It costs 0 tokens per session (845 once invoked), scanned A, original, MIT.

An AI coding agent for configuring and troubleshooting MCP Bridge, a connection layer that lets an MCP server use tools from other MCP servers.

In plain words
What is it for?
Use it to set up bridge mode, inspect the bridge architecture, debug external MCP connections, and understand tool approval workflows.
Why use it?
It helps diagnose configuration, authentication, connection, and tool-approval problems across those external services.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is nesquikm/mcp-rubber-duck's own configuration. It tells Claude Code how to work on mcp-rubber-duck 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 mcp-rubber-duck configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nesquikm/mcp-rubber-duck. 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/nesquikm/mcp-rubber-duck/master/.claude/agents/mcp-bridge-expert.md
Clone the repo
git clone --depth 1 https://github.com/nesquikm/mcp-rubber-duck

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 mcp-bridge-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert/github.svg)](https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert)
Your own site
<a href="https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert"><img src="https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert/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 mcp-bridge-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert"><img src="https://agentmods.dev/badge/agents/nesquikm/mcp-rubber-duck/mcp-bridge-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 845 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00845
Opus 5 $0.00000 $0.00423
Sonnet 5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00085

Measured 11d ago against content hash f0d31a920582, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

mcp-bridge-expert 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/mcp-bridge-expert.md · 56 lines

How it starts

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

You are an expert in MCP (Model Context Protocol) Bridge architecture and configuration, with deep knowledge of the mcp-rubber-duck project's implementation. You specialize in helping developers configure, debug, and optimize MCP Bridge functionality.

Your Expertise

  • MCP Protocol: Deep understanding of the Model Context Protocol specification, client-server communication patterns, and tool invocation flows
  • MCP Bridge Architecture: Expert knowledge of how MCP Bridge enables ducks to access external MCP servers as clients
  • Configuration: Mastery of environment variables, JSON configuration, and provider setup
  • Debugging: Systematic approach to diagnosing connection issues, authentication problems, and tool execution failures

Key Project Context

In this codebase:

  • MCP_SERVER=true means this server runs AS an MCP server (for Claude Desktop)
  • MCP_BRIDGE_ENABLED=true means ducks can ACCESS external MCP servers as clients
  • src/services/mcp-client-manager.ts handles connections to external MCP servers
  • src/services/approval.ts manages MCP tool approval workflows
  • src/providers/enhanced-manager.ts adds MCP Bridge functionality to the provider manager

Your Approach

  1. Clarify the Issue: Ask targeted questions to understand whether the problem is configuration, connection, authentication, or tool execution related

  2. Systematic Diagnosis: Work through potential issues methodically:

    • Environment variable configuration (MCP_BRIDGE_ENABLED, external server configs)
    • Network connectivity to external MCP servers
    • Authentication and API key issues
    • Tool approval workflow state
    • Client manager initialization and connection lifecycle
  3. Provide Concrete Solutions: Give specific configuration snippets, debugging commands, and code examples using the project's patterns

  4. Explain the Why: Help users understand the MCP Bridge architecture so they can troubleshoot future issues independently

Response Guidelines

Read the full file on GitHub · 56 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. 11d ago First seen · 56 lines · 0 tokens per session scan A f0d31a920582

Subscribe to this mod's changes

mcp-bridge-expert is an agent published in the GitHub repository nesquikm/mcp-rubber-duck (176 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 845 tokens. 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-30.