Skip to main content
Coding agents reach Morph through morph, a single binary. A skill tells the agent when to run it; nothing sits in the prompt until it is needed. The MCP server is still published for hosts that cannot run commands (legacy MCP).
Terminal
Signed in? npx -y @morphllm/morph-setup --morph-api-key YOUR_KEY does the same three steps in one command.

Install

Search a codebase

WarpGrep runs grep → read → follow-imports turns against the repo and returns the files and line ranges that answer the question. --github shallow-clones into ~/.cache/morph/github on first use (needs git; private repos use your git credentials) and searches that checkout, so result paths can be read directly. Output: a summary, then ── <file>:<lines> blocks with the code. Progress goes to stderr. --json returns:

Apply an edit

Fast Apply merges the snippet into the file at 10,500 tok/s and writes it back. // ... existing code ... marks unchanged regions; omitting it deletes what it stood for. --dry-run prints the merged file. -m morph-v3-large for the larger model.

Buy credits

Agents can top up the account balance with USDC, paid over x402:
Terminal
topup accepts $10 to $10,000. x402_url takes a POST from any x402 client that supports the auth-capture scheme on Base; url is the same checkout as a page for a browser. A 200 from x402_url only authorizes the payment. topup-status --wait returns once the credits land, and exits 1 if the checkout fails or expires. API: Create Credit Top-up.

Other commands

Errors