loading…
Search for a command to run...
loading…
Local MCP server that wraps the headless Claude Code CLI as MCP tools, providing stateless access to Claude's coding capabilities through prompt-based interacti
Local MCP server that wraps the headless Claude Code CLI as MCP tools, providing stateless access to Claude's coding capabilities through prompt-based interactions. It enables users to execute Claude Code commands with various prompt formats and structured outputs directly from MCP clients.
Local stdio MCP server that wraps the headless Claude Code CLI as MCP tools. Stateless, spawn-per-client.
claude_prompt { prompt, model?, system_prompt? }claude_prompt_with_context { prompt, context?, files?, model?, system_prompt? }claude_prompt_structured { prompt, schema, model?, system_prompt? } —
uses claude --json-schema; fails loudly if the installed CLI lacks that flag.npm install
npm run build
node dist/server.js
Claude Code (~/.claude/mcp.json):
{
"mcpServers": {
"claudecode": {
"command": "node",
"args": ["/home/trevor/claudecode-mcp/dist/server.js"]
}
}
}
npm run test:live
Runs tiny real prompts against claude. Skipped unless CLAUDECODE_MCP_LIVE=1.
session_id in tool inputs. --no-session-persistence always.working_dir parameter. Uses process.cwd() of the MCP server process.NO_COLOR=1, inherited PATH/HOME/auth.--bare is intentionally NOT used: it disables OAuth/keychain reads and would force ANTHROPIC_API_KEY. The MCP inherits whatever auth the user's claude CLI is already configured with (OAuth, keychain, or env key).Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"claudecode-mcp": {
"command": "npx",
"args": []
}
}
}