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.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.ANTHROPIC_API_KEY— or ). This server inherits that auth — it does not manageCLAUDECODE_MCP_BARE— bare is opt-in via =1. Default keeps OAuth/keychainCLAUDECODE_MCP_CLAUDE_BIN— different PATH, e.g. some IDEs), set to theCLAUDECODE_MCP_EXTRA_ENV— Anything in (comma-separated key names).CLAUDECODE_MCP_FAKE_HAS_JSON_SCHEMACLAUDECODE_MCP_FAKE_MODECLAUDECODE_MCP_FAKE_OUTFILECLAUDECODE_MCP_FORWARD_DANGEROUS— 1): CLAUDE_CODE_SHELL_PREFIX,CLAUDECODE_MCP_LIVE— Runs tiny real prompts against claude. Skipped unless =1.CLAUDECODE_MCP_MAX_FILE_BYTES— Per-file size cap, default 5 MB. Override with =<bytes>.CLAUDE_CODE_OAUTH_TOKEN— , CLAUDE_CODE_OAUTH_REFRESH_TOKEN,CLAUDE_CODE_SHELL_PREFIX— CLAUDECODE_MCP_FORWARD_DANGEROUS=1): ,MY_CUSTOM_VARMY_TEST_EXTRA_VARMY_TEST_OBS_VAR_PERF_DELETEME_PERF_EXTRA_PERF_MUTATE_PERF_TEST_VAR[](https://m8ven.ai/mcp/trevoraspencer-claudecode-mcp-r9v7sm)