프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Claude MCP Bridge

제작자: hampsterx버전 0.7.2i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.hampsterx/claude-mcp-bridge

설치

개요

제작자가 쓴 설명(영어 원문)

Wraps Claude Code CLI as MCP tools: query, search, structured, ping, listSessions.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 개발자 도구

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: CLAUDE_CLI_PATH, CLAUDE_DEFAULT_MODEL, CLAUDE_QUERY_MODEL, CLAUDE_STRUCTURED_MODEL, CLAUDE_SEARCH_MODEL, CLAUDE_FALLBACK_MODEL, CLAUDE_MAX_CONCURRENT, CLAUDE_BRIDGE_USE_API_KEY, CLAUDE_MAX_BUDGET_USD, CLAUDE_QUERY_TOOLS, CLAUDE_STRUCTURED_TOOLS, CLAUDE_SEARCH_TOOLS, CLAUDE_QUERY_EFFORT, CLAUDE_SEARCH_EFFORT

필요한 것

  • npmNode.js 설치(npx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "claude-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "claude-mcp-bridge"
      ],
      "env": {
        "CLAUDE_CLI_PATH": "your-value",
        "CLAUDE_DEFAULT_MODEL": "your-value",
        "CLAUDE_QUERY_MODEL": "your-value",
        "CLAUDE_STRUCTURED_MODEL": "your-value",
        "CLAUDE_SEARCH_MODEL": "your-value",
        "CLAUDE_FALLBACK_MODEL": "your-value",
        "CLAUDE_MAX_CONCURRENT": "your-value",
        "CLAUDE_BRIDGE_USE_API_KEY": "your-value",
        "CLAUDE_MAX_BUDGET_USD": "your-value",
        "CLAUDE_QUERY_TOOLS": "your-value",
        "CLAUDE_STRUCTURED_TOOLS": "your-value",
        "CLAUDE_SEARCH_TOOLS": "your-value",
        "CLAUDE_QUERY_EFFORT": "your-value",
        "CLAUDE_SEARCH_EFFORT": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add claude-bridge --env CLAUDE_CLI_PATH=your-value --env CLAUDE_DEFAULT_MODEL=your-value --env CLAUDE_QUERY_MODEL=your-value --env CLAUDE_STRUCTURED_MODEL=your-value --env CLAUDE_SEARCH_MODEL=your-value --env CLAUDE_FALLBACK_MODEL=your-value --env CLAUDE_MAX_CONCURRENT=your-value --env CLAUDE_BRIDGE_USE_API_KEY=your-value --env CLAUDE_MAX_BUDGET_USD=your-value --env CLAUDE_QUERY_TOOLS=your-value --env CLAUDE_STRUCTURED_TOOLS=your-value --env CLAUDE_SEARCH_TOOLS=your-value --env CLAUDE_QUERY_EFFORT=your-value --env CLAUDE_SEARCH_EFFORT=your-value -- npx -y claude-mcp-bridge

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "claude-bridge": {
      "command": "npx",
      "args": [
        "-y",
        "claude-mcp-bridge"
      ],
      "env": {
        "CLAUDE_CLI_PATH": "your-value",
        "CLAUDE_DEFAULT_MODEL": "your-value",
        "CLAUDE_QUERY_MODEL": "your-value",
        "CLAUDE_STRUCTURED_MODEL": "your-value",
        "CLAUDE_SEARCH_MODEL": "your-value",
        "CLAUDE_FALLBACK_MODEL": "your-value",
        "CLAUDE_MAX_CONCURRENT": "your-value",
        "CLAUDE_BRIDGE_USE_API_KEY": "your-value",
        "CLAUDE_MAX_BUDGET_USD": "your-value",
        "CLAUDE_QUERY_TOOLS": "your-value",
        "CLAUDE_STRUCTURED_TOOLS": "your-value",
        "CLAUDE_SEARCH_TOOLS": "your-value",
        "CLAUDE_QUERY_EFFORT": "your-value",
        "CLAUDE_SEARCH_EFFORT": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "claude-bridge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "claude-mcp-bridge"
      ],
      "env": {
        "CLAUDE_CLI_PATH": "your-value",
        "CLAUDE_DEFAULT_MODEL": "your-value",
        "CLAUDE_QUERY_MODEL": "your-value",
        "CLAUDE_STRUCTURED_MODEL": "your-value",
        "CLAUDE_SEARCH_MODEL": "your-value",
        "CLAUDE_FALLBACK_MODEL": "your-value",
        "CLAUDE_MAX_CONCURRENT": "your-value",
        "CLAUDE_BRIDGE_USE_API_KEY": "your-value",
        "CLAUDE_MAX_BUDGET_USD": "your-value",
        "CLAUDE_QUERY_TOOLS": "your-value",
        "CLAUDE_STRUCTURED_TOOLS": "your-value",
        "CLAUDE_SEARCH_TOOLS": "your-value",
        "CLAUDE_QUERY_EFFORT": "your-value",
        "CLAUDE_SEARCH_EFFORT": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • CLAUDE_CLI_PATH env
    Path to the claude CLI binary. Defaults to 'claude' on PATH.
  • CLAUDE_DEFAULT_MODEL env
    Shared default model for all tools. Overridden by per-tool CLAUDE_ _MODEL vars (QUERY, SEARCH, STRUCTURED).
  • CLAUDE_QUERY_MODEL env
    Override model for the query tool.
  • CLAUDE_STRUCTURED_MODEL env
    Override model for the structured tool.
  • CLAUDE_SEARCH_MODEL env
    Override model for the search tool.
  • CLAUDE_FALLBACK_MODEL env
    Model to use when the primary model hits a quota error. Set to 'none' to disable fallback.
  • CLAUDE_MAX_CONCURRENT env
    Maximum concurrent Claude CLI subprocesses (default 3).
  • CLAUDE_BRIDGE_USE_API_KEY env
    Set to '1' to forward ANTHROPIC_API_KEY to the CLI. Default is subscription-first: the CLI uses existing Max/Pro session and API key is NOT forwarded. Opt in only if you want API billing.
  • CLAUDE_MAX_BUDGET_USD env
    Maximum USD spend per call (pass-through to --max-budget-usd). Only applies when using API key auth.
  • CLAUDE_QUERY_TOOLS env
    Built-in tools the query subprocess may use. Comma or space separated list, 'default' for the CLI's full built-in set, or empty for no tools. The default withholds Bash, Write and Edit; widening it g…
  • CLAUDE_STRUCTURED_TOOLS env
    Built-in tools the structured subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
  • CLAUDE_SEARCH_TOOLS env
    Built-in tools the search subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
  • CLAUDE_QUERY_EFFORT env
    Reasoning effort for the query tool (low|medium|high|max).
  • CLAUDE_SEARCH_EFFORT env
    Reasoning effort for the search tool (low|medium|high|max).

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 hampsterx 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

개발자 도구 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 4930개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 4930개 중 66%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 4930개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Claude MCP Bridge, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.7.2)은 20일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: GitHub, Desktop Commander, Cloudflare MCP

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도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성장 중★ 4.4천14개월 전 업데이트

클라우드에서 실행✓ mcp.cloudflare.com

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

claude-mcp-bridge

MCP server that wraps Claude Code CLI as a subprocess, exposing its capabilities as Model Context Protocol tools.

Works with any MCP client: Codex CLI, Gemini CLI, Cursor, Windsurf, VS Code, or any tool that speaks MCP.

Do you need this?

If you're in a terminal agent (Codex CLI, Gemini CLI) with shell access, call Claude Code CLI directly:

# Analyze specific files

claude -p --bare --tools Read -- "Analyze src/utils/parse.ts for edge cases"

With budget cap

claude -p --bare --max-budget-usd 0.50 "Is this retry logic sound?"

--bare skips hooks, memory, and plugins for clean subprocess use. --tools restricts which tools Claude can use at all; --allowed-tools only pre-approves permission and leaves everything else, including Bash, still reachable. --max-budget-usd prevents runaway costs.

--tools is variadic, so end the list with -- (or another flag) before the prompt. Without it the prompt is read as one more tool name and the CLI exits with "Input must be provided".

For code review, see Code review with this CLI.

Use this MCP bridge instead when:

  • Your client has no shell access (Cursor, Windsurf, Claude Desktop, VS Code)
  • You need structured output with native --json-schema validation
  • You need session resume across calls (--resume SESSION_ID)
  • You need concurrency management and security hardening
  • You want cost metadata surfaced in MCP responses

Quick Start

npx claude-mcp-bridge
Prerequisites
  • Claude Code CLI installed and on PATH
  • Authentication (one of):
  • Subscription (default): claude login (uses your Pro/Max plan, no API credits needed)
  • API key: set ANTHROPIC_API_KEY + CLAUDE_BRIDGE_USE_API_KEY=1 (billed per use via console.anthropic.com)
Codex CLI

Add to ~/.codex/config.json:

{

"mcpServers": { "claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"] } } }

Gemini CLI

Add to ~/.gemini/settings.json:

{

"mcpServers": { "claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"] } } }

Cursor / Windsurf / VS Code

Add to your MCP settings:

{

"claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"], "env": { "ANTHROPIC_API_KEY": "sk-ant-...", "CLAUDE_BRIDGE_USE_API_KEY": "1" } } }

Tools

ToolDescription
queryExecute prompts with file context, session resume, effort control, and budget caps. Supports text and images. For code review, see Code review with this CLI.
searchWeb search via Claude CLI's WebSearch and WebFetch tools. Returns synthesized answers with sources.
structuredJSON Schema validated output via Claude CLI's native --json-schema.
pingHealth check with CLI version, auth method, capabilities, and model config.
listSessionsList active sessions with cumulative cost, turn count, and timestamps.
query

Execute a prompt with optional file context. Supports session resume via sessionId, effort control (low/medium/high/max), and budget caps (maxBudgetUsd). Images (.png, .jpg, .gif, .webp, .bmp) up to 5MB each are passed to Claude's Read tool.

Key parameters: prompt (required), files, model (default sonnet), sessionId, effort, maxBudgetUsd, workingDirectory, timeout (default 60s).

search

Web search powered by Anthropic's WebSearch tool via Claude CLI. Returns synthesized answers with source URLs.

Key parameters: query (required), model (default sonnet), maxResponseLength, maxBudgetUsd, timeout (default 120s).

structured

Generate JSON conforming to a provided schema using Claude CLI's native --json-schema flag. Returns clean JSON in the first content block, metadata in a separate block so JSON parsing isn't broken.

Key parameters: prompt (required), schema (required, JSON string, max 20KB), files, model (default sonnet), sessionId, maxBudgetUsd, timeout (default 60s).

ping

No parameters. Returns CLI version, auth method (subscription/api-key/none), configured models, capabilities, and server version.

listSessions

No parameters. Returns active sessions with metadata: sessionId, model, createdAt, lastUsedAt, turnCount, totalCostUsd.

All tools attach execution metadata (_meta) with durationMs, model, sessionId, totalCostUsd, and token breakdowns. See DESIGN.md for details.

Configuration

Models
VariableDefaultDescription
CLAUDE_DEFAULT_MODELShared default for all tools
CLAUDE_QUERY_MODELsonnetDefault for query
CLAUDE_STRUCTURED_MODELsonnetDefault for structured
CLAUDE_SEARCH_MODELsonnetDefault for search
CLAUDE_FALLBACK_MODELhaikuFallback on quota exhaustion (none to disable)

Model resolution: explicit parameter > tool-specific env var > CLAUDE_DEFAULT_MODEL > built-in default.

Runtime
VariableDefaultDescription
CLAUDE_MAX_CONCURRENT3Max concurrent subprocess spawns
CLAUDE_CLI_PATHclaudePath to CLI binary
CLAUDE_MAX_BUDGET_USDGlobal cost cap in USD (per call)
ANTHROPIC_API_KEYAPI key (only forwarded when CLAUDE_BRIDGE_USE_API_KEY=1)
CLAUDE_BRIDGE_USE_API_KEYSet to 1 to forward ANTHROPIC_API_KEY to the subprocess (default: subscription auth)
Effort
VariableDefaultDescription
CLAUDE_SEARCH_EFFORTmediumDefault effort for search
CLAUDE_QUERY_EFFORTDefault effort for query
Tools

Each spawned subprocess gets an explicit built-in toolset. The defaults are read-only, so Bash, Write and Edit are not granted unless you widen them below.

VariableDefaultDescription
CLAUDE_QUERY_TOOLSRead Glob GrepBuilt-in tools for query
CLAUDE_STRUCTURED_TOOLSRead Glob GrepBuilt-in tools for structured
CLAUDE_SEARCH_TOOLSWebSearch WebFetchBuilt-in tools for search

Accepts a comma or space separated list, default for the CLI's full built-in set, or an empty value for no tools. Widening these gives the subprocess real capability in the working directory you pass it. See SECURITY.md § Tool Sandboxing.

Choosing a Claude Code MCP server

You need...Consider
Structured output, effort/budget control, session resume, cost metadataThis bridge
Multi-tool orchestration (read, grep, edit, bash as separate MCP tools)mcp-claude-code
Session continuity with async executionclaude-mcp
Maintained lightweight wrapper@kunihiros/claude-code-mcp
Native Claude Code MCP (built-in, no wrapper)claude mcp serve (docs)

Performance

Claude Code CLI has minimal startup overhead. Wall time is dominated by model inference and any agentic exploration.

ScenarioTypical time
Trivial prompt (sonnet)5-10s
Web search + synthesis15-30s

Cost metadata (totalCostUsd, token breakdowns) is returned in _meta on every response.

Bridge family

Two MCP servers, same architecture, different underlying CLIs. Each wraps a terminal agent as a subprocess and exposes it as MCP tools. Pick the one that matches your model provider, or run both for cross-model workflows.

claude-mcp-bridgecodex-mcp-bridge
CLIClaude CodeCodex CLI
ProviderAnthropicOpenAI
Toolsquery, search, structured, ping, listSessionscodex, search, query, structured, ping, listSessions
Code reviewUse Claude Code built-ins directly (not via this bridge), or claude -p for non-Claude-Code hostscodex review --base (native) or codex tool with caller-supplied prompt
Structured outputNative --json-schema (no Ajv)Ajv validation
Session resumeNative --resumeSession IDs with multi-turn
Budget capsNative --max-budget-usdNot supported
Effort control--effort low/medium/high/maxNot supported
Cold start~1-2s<100ms (inference dominates)
Authclaude login (default) or ANTHROPIC_API_KEY + opt-inOPENAI_API_KEY
CostSubscription (default) or API credits (opt-in)Pay-per-token
Concurrency3 (configurable)3 (configurable)
Model fallbackAuto-retry with fallback modelAuto-retry with fallback model

Both share: subprocess env isolation, path sandboxing, output redaction, FIFO concurrency queue, MCP tool annotations, _meta response metadata, progress heartbeats.

Code review with this CLI

The reviewer prompt is supplied by the caller. The bridge does not bundle review prompts (see ADR-001).

  • In Claude Code (interactive REPL): use the built-in /review, /security-review, /ultrareview. REPL-only; not reachable via claude -p or this bridge.
  • Through this bridge (query / structured): pass the review prompt as plain text. Slash commands (built-in or user-installed ~/.claude/commands/) do not resolve through the bridge, the isolation flags (--bare on the API-key path, --setting-sources "" on the subscription path) block all skill resolution by design. Tracked upstream: anthropics/claude-code#37207.
  • Direct `claude -p` (no bridge): user skills resolve as /skill-name when no isolation flags suppress them. For subprocess-isolated review use the hardened invocation below.

Route based on where you are:

  • Already in Claude Code? Type /review, /security-review, or /ultrareview. Skip the rest of this section.
  • Calling from another MCP host (Cursor, Codex CLI, Gemini CLI, Claude Desktop)? Slash commands and skills are not reachable through the bridge. Pass your review prompt as plain text to query / structured, or invoke claude -p directly per below.
Direct claude -p invocation (subprocess-isolated)

For shell-equipped consumers (terminal agents, CI, BYOS skills), invoke the CLI directly with hardened isolation flags:

claude -p \

--permission-mode plan \ --bare \ --add-dir \ --strict-mcp-config \ --mcp-config '{"mcpSe

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기