claude-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-mcp-serverReview the recent changes for bugs and suggest fixes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-mcp-server
MCP server that builds Claude CLI commands with mode defaults resolved. Returns a shell command string for the calling agent to execute via Cursor's Shell tool.
Install
One command — no clone needed:
bash <(curl -fsSL https://raw.githubusercontent.com/tal-hason/claude-mcp-server/main/install.sh)Prerequisites: Node.js >= 20, jq, curl, Claude CLI
Install from source
git clone https://github.com/tal-hason/claude-mcp-server.git
cd claude-mcp-server
./setup.shCustom install location
CLAUDE_MCP_DIR=~/my-tools/claude-mcp bash <(curl -fsSL https://raw.githubusercontent.com/tal-hason/claude-mcp-server/main/install.sh)Uninstall
rm -rf ~/.local/share/claude-mcp-server
jq 'del(.mcpServers["claude-cli"])' ~/.cursor/mcp.json > /tmp/mcp.json && mv /tmp/mcp.json ~/.cursor/mcp.jsonRelated MCP server: claude-bridge
How it works
┌──────────────────────────────────────────────────────────────┐
│ Agent calls claude_prompt via MCP │
│ → MCP server resolves mode defaults, builds shell command │
│ → Returns JSON { command, cwd } │
│ → Agent executes command via Cursor Shell tool │
│ → Agent reads stream-json output from terminal file │
└──────────────────────────────────────────────────────────────┘Agent calls
claude_promptwith prompt + optional mode/model/effortMCP server resolves mode defaults (effort, appended system prompt)
Returns
{ command, cwd }— a heredoc-based shell commandAgent executes via Shell tool (
block_until_ms: 0for long tasks)Agent reads the stream-json output from the terminal file
No child process management, no WebSocket bridge, no timeouts — the MCP server is a pure function.
Usage
Single tool: claude_prompt.
Quick exploration
CallMcpTool: user-claude-cli / claude_prompt
{ "prompt": "What dependencies does server.js import?", "mode": "explorer", "cwd": "/path/to/repo" }Parse the response JSON, then execute the command field via the Shell tool.
Long-running review (backgrounded)
CallMcpTool: user-claude-cli / claude_prompt
{ "prompt": "<full review prompt>", "mode": "reviewer", "model": "claude-opus-4-8" }Execute the returned command with block_until_ms: 0 to background it. Read the terminal file when done.
Modes
Mode | Default effort | Role |
| high | Architecture analysis — boundaries, coupling, gaps |
| high | Plan creation — incremental steps, acceptance criteria |
| max | Code review — multi-lens, severity-graded |
| low | Quick research — concise, evidence-cited |
| high | Implementation — hexagonal, small batches |
Without mode, the tool builds a raw command (caller controls everything).
Parameters
Param | Required | Description |
| Yes | The prompt to send |
| No | Dispatch mode (see table above) |
| No | Exact model name (e.g. |
| No |
|
| No | System prompt override |
| No | Resume a previous session |
| No | Working directory for Claude CLI |
Files
File | Purpose |
| MCP entry point — thin wiring, delegates to command-builder |
| Pure logic — shellQuote, buildCommand, mode resolution |
| Dispatch mode definitions (effort + system prompt per role) |
| From-source setup: deps + MCP registration |
| Curl-pipeable installer: download release + register |
Environment
Variable | Default | Purpose |
|
| Path to Claude CLI binary |
|
| Install location (install.sh only) |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA server implementation for the Model Context Protocol (MCP) that allows Claude AI to execute commands through a command-line interface, enabling direct system interactions from within Claude.
- AlicenseAqualityDmaintenanceAn MCP server that lets host-side Claude Cowork dispatch work into Claude Code running inside your devcontainer over stdio.16MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server wrapping the Cursor CLI agent, enabling Claude Code and other MCP clients to delegate tasks to Cursor's AI agent for file writing, bash commands, and codebase queries.
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server that provides a bridge to Anthropic's Claude CLI. It allows MCP-compliant clients like Claude Desktop or Gemini to start new chat sessions or continue existing ones.218ISC
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tal-hason/claude-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server