74
/ 100
1 month ago
glama

claudecode-mcp

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.

Is this your MCP?

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.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 2 credentials: ANTHROPIC_API_KEY, CLAUDE_CODE_OAUTH_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
🔐 secretANTHROPIC_API_KEYor ). This server inherits that auth — it does not manage
configCLAUDECODE_MCP_BAREbare is opt-in via =1. Default keeps OAuth/keychain
configCLAUDECODE_MCP_CLAUDE_BINdifferent PATH, e.g. some IDEs), set to the
configCLAUDECODE_MCP_EXTRA_ENVAnything in (comma-separated key names).
configCLAUDECODE_MCP_FAKE_HAS_JSON_SCHEMA
configCLAUDECODE_MCP_FAKE_MODE
configCLAUDECODE_MCP_FAKE_OUTFILE
configCLAUDECODE_MCP_FORWARD_DANGEROUS1): CLAUDE_CODE_SHELL_PREFIX,
configCLAUDECODE_MCP_LIVERuns tiny real prompts against claude. Skipped unless =1.
configCLAUDECODE_MCP_MAX_FILE_BYTESPer-file size cap, default 5 MB. Override with =<bytes>.
🔐 secretCLAUDE_CODE_OAUTH_TOKEN, CLAUDE_CODE_OAUTH_REFRESH_TOKEN,
configCLAUDE_CODE_SHELL_PREFIXCLAUDECODE_MCP_FORWARD_DANGEROUS=1): ,
configMY_CUSTOM_VAR
configMY_TEST_EXTRA_VAR
configMY_TEST_OBS_VAR
config_PERF_DELETEME
config_PERF_EXTRA
config_PERF_MUTATE
config_PERF_TEST_VAR
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/trevoraspencer-claudecode-mcp-r9v7sm)](https://m8ven.ai/mcp/trevoraspencer-claudecode-mcp-r9v7sm)
commit: af99afa08f2d0bd9d6592e9e20f9ec13862bbc1d
code hash: a91212ba45ea37b58097abeacd4da3a11607fade35e4d883ef6fe14d9c5c5287
verified: 6/10/2026, 10:50:07 AM
view raw JSON →