@morphllm/morph-setup
v1.0.5
Published
Install Morph MCP and bundled skills onto coding agents
Readme
@morphllm/morph-setup
One-line installer for Morph MCP and bundled skills. Also includes a2a-review, which creates an AI "twin" that reviews PRs in your style.
Install
npx -y @morphllm/morph-setupThe CLI will guide you through selecting which apps to install to.
With API Key
npx -y @morphllm/morph-setup --morph-api-key <your-key>Or set the environment variable:
MORPH_API_KEY=<your-key> npx -y @morphllm/morph-setupNon-interactive
npx -y @morphllm/morph-setup -ya2a-review: Agent Twin Code Review
Set up an AI twin that reviews PRs using your coding preferences, learned from your CLAUDE.md files.
Quick start
npx -y @morphllm/morph-setup --morph-api-key <your-key> --a2a-reviewThe CLI will:
- Verify your API key
- Auto-detect your GitHub username (from
ghCLI or git config) - Scan for CLAUDE.md files (global, project, and agent definitions)
- Sanitize content (strips API keys, replaces absolute paths)
- Upload to generate a review personality via Anthropic
Non-interactive mode
All arguments can be passed explicitly to skip prompts:
npx -y @morphllm/morph-setup \
--morph-api-key sk-... \
--a2a-review \
--github-username octocat \
--claude-md ~/.claude/CLAUDE.md ./CLAUDE.mdFile scanning
When --claude-md is not provided, the CLI scans automatically:
~/.claude/CLAUDE.md(global config, highest priority)<cwd>/CLAUDE.mdand parent directories (walks up to root)~/.claude/**/CLAUDE.md(recursive, any nested CLAUDE.md)~/.claude/**/agents/*.md(agent definition files)
Skipped directories: plans, cache, skills, plugins, memory, worktrees, node_modules, .git
Combined content is truncated at ~100k tokens if it exceeds the limit.
Options
| Flag | Description |
|------|-------------|
| --a2a-review | Enter a2a-review setup mode |
| --github-username <name> | GitHub username (skips auto-detection) |
| --claude-md <paths...> | Explicit CLAUDE.md file paths (skips auto-scan) |
| --morph-api-key <key> | Morph API key (or set MORPH_API_KEY env var) |
What it generates
A ~500-word review personality profile covering:
- Code review priorities (correctness, performance, security, readability)
- Strictness level and what they consider nitpicky vs important
- Communication style (direct, explanatory, socratic)
- Language/framework expertise
- Red flags they focus on
This personality is injected into the system prompt when the twin reviews PRs, steering its focus areas and tone to match the developer.
Invite your team
Each developer runs the CLI with their own API key:
npx -y @morphllm/morph-setup --morph-api-key <THEIR_KEY> --a2a-reviewManage twins at: https://morphllm.com/dashboard/integrations/github
License
MIT
