io.github.hampsterx/claude-mcp-bridge
io.github.hampsterx/claude-mcp-bridge
Wraps Claude Code CLI as MCP tools: query, search, structured, ping, listSessions.
Connect this server
Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.
{
"mcpServers": {
"claude-mcp-bridge": {
"command": "npx",
"args": [
"-y",
"claude-mcp-bridge@0.7.2"
],
"env": {
"CLAUDE_CLI_PATH": "claude",
"CLAUDE_QUERY_MODEL": "sonnet",
"CLAUDE_STRUCTURED_MODEL": "sonnet",
"CLAUDE_SEARCH_MODEL": "sonnet",
"CLAUDE_FALLBACK_MODEL": "haiku",
"CLAUDE_MAX_CONCURRENT": "3",
"CLAUDE_BRIDGE_USE_API_KEY": "0",
"CLAUDE_QUERY_TOOLS": "Read Glob Grep",
"CLAUDE_STRUCTURED_TOOLS": "Read Glob Grep",
"CLAUDE_SEARCH_TOOLS": "WebSearch WebFetch"
}
}
}
}- CLAUDE_CLI_PATHPath to the claude CLI binary. Defaults to 'claude' on PATH.
- CLAUDE_QUERY_MODELOverride model for the query tool.
- CLAUDE_STRUCTURED_MODELOverride model for the structured tool.
- CLAUDE_SEARCH_MODELOverride model for the search tool.
- CLAUDE_FALLBACK_MODELModel to use when the primary model hits a quota error. Set to 'none' to disable fallback.
- CLAUDE_MAX_CONCURRENTMaximum concurrent Claude CLI subprocesses (default 3).
- CLAUDE_BRIDGE_USE_API_KEYSet 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_QUERY_TOOLSBuilt-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 grants real capability in the caller-supplied working directory.
- CLAUDE_STRUCTURED_TOOLSBuilt-in tools the structured subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
- CLAUDE_SEARCH_TOOLSBuilt-in tools the search subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Developer Tools
- Version
- 0.7.2
- Registry
- active
- Published
- 10/18/2026
More Developer Tools servers
Browse all Developer Tools →io.github.hampsterx/codex-mcp-bridge
hampsterx
Wraps Codex CLI as MCP tools: codex, review, query, search, structured, ping, listSessions.
Codex–Claude Council
hamza-aziz-ai
ChatGPT (Codex CLI) and Claude (Claude Code) discuss until they agree, on your own subscriptions.
iBuildPro
hananzlot
Your iBuildPro workspace in Claude: jobs, customers, money, calendar. Sign in with your login.
Agent Failure Archive
HanbeenMoon
186 real AI agent post-mortems, 107 of them measurement failures. Free tools, paid via x402.
io.github.handinloop/handinloop-mcp-server
handinloop
Human-in-the-loop document extraction: submit a doc, get validated fields and an audit trail.
Plato's Kallipolis
handongzhen101-jpg
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Add the badge to your site
Show visitors that io.github.hampsterx/claude-mcp-bridge is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-hampsterx-claude-mcp-bridge?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.hampsterx/claude-mcp-bridge — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-hampsterx-claude-mcp-bridge?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.