Go to file
Hongming Wang 1e8f9dc295 docs(runtime-mcp): Claude Code 2.1+ install — modern -e flags + ~/.claude.json shape
Older `claude mcp add ... -- env VAR=val molecule-mcp` snippets land as
`command: "env"` with positional args, which is fragile across 2.1.x
patch builds and unfamiliar to anyone reading `~/.claude.json` directly.
The post-2.1 CLI also rejects the form without a `--` between flags and
command (external feedback in #112).

Replace both snippets (basic install + identity-with-skills) with:
1. Modern CLI form using `-e KEY=VAL` and an explicit `--`.
2. Parallel `~/.claude.json` JSON shape under top-level `mcpServers` for
   user scope (or `.mcp.json` in project root for project scope), so
   users on any 2.1.x patch level have an authoritative reference if
   the CLI form misbehaves.

Add a Troubleshooting entry for the two common 2.1+ CLI rejections, and
fix the broken `[Install](#install)` cross-link in the dev-channels
section to point at `[Step 2](#claude-code)`.

Closes Molecule-AI/docs#112.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 18:22:40 -07:00
.github/workflows chore(ci): enroll in org-wide secret-scan reusable workflow (Molecule-AI/molecule-core#2109 rollout) 2026-04-26 16:12:33 -07:00
app feat(docs): align doc.moleculesai.app chrome with landing's warm-paper design 2026-04-30 22:42:42 -07:00
audio merge: PR #58 2026-04-21 03:00:15 +00:00
content docs(runtime-mcp): Claude Code 2.1+ install — modern -e flags + ~/.claude.json shape 2026-05-01 18:22:40 -07:00
docs/marketing devrel: add failed workspace EC2 console output demo script (#68) 2026-04-21 03:40:33 +00:00
lib fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
marketing/demos/snapshot-scrub docs(marketing): snapshot secret scrubber working demo (PR #977) (#63) 2026-04-21 03:01:07 +00:00
.gitignore fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
mdx-components.tsx fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
next.config.mjs fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
package-lock.json fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
package.json fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
postcss.config.mjs fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
source.config.ts fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00
tsconfig.json fix: restore build infrastructure deleted by bad PR #59 merge 2026-04-22 14:03:24 -07:00