MCP for Morph
Connect to Morph's blazing-fast file editing via Model Context Protocol
Works across directories
No manual path configuration. Automatically finds your project root via .git
, package.json
, and other indicators.
Lightning-fast edits
Powered by Morph's 4500+ token/sec apply model. Edit any file type with surgical precision.
Available Tools
ALL_TOOLS: "false"
Fast file editing only
edit_file
- Lightning-fast code edits
ALL_TOOLS: "true"
Full filesystem access
edit_file
- Fast code editsread_file
,write_file
list_directory
,create_directory
search_files
,move_file
get_file_info
+ more
Installation
1
Run Command
terminal
claude mcp add filesystem-with-morph -e MORPH_API_KEY=your-api-key-here -e ALL_TOOLS=false -- npx @morph-llm/morph-fast-apply
💡 Update Claude instructions: Configure Claude to use Morph for all code edits:
echo "IMPORTANT
ALWAYS use mcp_filesystem-with-morph_edit_file tool to make any code edits. Do not use the default edit tool." > .claude/CLAUDE.md
2
Get API Key
Get your API key from the dashboard and replace your-api-key-here
in the command.
3
Verify
Verify installation: The one-liner automatically configures everything. Start a new conversation and type /mcp
and /tools
to confirm Morph's tools are available.