Skip to main content
The recommended integration is the morph CLI plus skills: curl -fsSL https://www.morphllm.com/install.sh | bash && morph install. An MCP server puts its tool schemas into every prompt whether or not they are used; a skill costs nothing until the agent needs it. This server stays published for hosts that cannot run shell commands. morph install --mcp registers it as morph mcp.
The MCP server gives an agent codebase_search (WarpGrep over the local workspace), github_codebase_search, and edit_file (Fast Apply, 10,500 tok/s partial edits). One command to install:
Without --mcp the installer sets up the CLI and skills instead.
Logged in? Your API key auto-fills above. Otherwise, get it from your dashboard.

Installation (All Clients)

1

1. Get Your API Key

Get your API key from the dashboard.
2

2. Configure Your MCP Client

One-liner Installation (Recommended):
Configure Claude to prefer Morph: Add this to your global Claude config:
Manual Config File Method:Create or edit .claude.json in your workspace:
3

3. Test Installation

Claude Code: Type /mcp and /tools to see Morph’s edit_file tool
Codex: Run codex mcp list to verify server is configured, then make edit requests
Cursor/VS Code: Make any code edit request - should use Morph automatically
Manual: Check server logs show “MCP Server started successfully”

Configuration

Advanced Configuration

Custom API endpoint — For enterprise deployments or custom authentication flows:
Your proxy receives requests to /v1/chat/completions with the token in the Authorization: Bearer header. Forward these to https://api.morphllm.com/v1/chat/completions after handling auth/billing. Warp Grep timeout — Increase for large codebases or slow networks:

Available Tools

All three tools are on by default. Narrow the set with either variable in the server env: When both are set a tool is on only if allowed and not denied. ENABLED_TOOLS was dropped in 0.8.114 and restored in 0.8.216; the pre-0.8.124 names warpgrep_codebase_search and warpgrep_github_search still resolve. Search only:

Troubleshooting

Server won’t start: Check API key, Node.js 16+, run npm cache clean --force
Tools missing: Restart client, validate JSON config
Workspace issues: Add .git or package.json, or set WORKSPACE_MODE="false"
Slow performance: Use edit_file over write_file, check network to api.morphllm.com

Performance Optimization

Best Practices

  1. Use edit_file for modifications: Much faster than reading + writing entire files
  2. Minimize edit scope: Include only the sections that need changes
  3. Batch related edits: Make multiple changes in a single edit_file call

Performance Comparison