You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Integrate MorphLLM for edit-tool #1591
Consider integrating MorphLLM as a configurable engine for applying AI-generated diffs.
It's specialized for this task, offering high speed and accuracy, with an OpenAI-compatible API. This could improve the reliability of applying complex, multi-file changes.
changed the title [-]Feature Request: Integrate MorphLLM for diff application[/-][+]Feature Request: Integrate MorphLLM for edit-tool[/+]on Aug 4, 2025
Been having great luck with the MorphLLM MCP server. Great thing about opencode vs claude-code is that the builtin file tools can be disabled instead of having to beg Claude in a context file to always use the right one.
Of course the filesystem tools don't need to be listed in tools unless you intend to disable some of them.
I'm currently using ALL_TOOLS=true to try all of them. I don't really know if the non-morph filesystem tools the MCP provides are better or worse than the builtin opencode tools. 🤷
filesystem_list_allowed_directories is not useful until MCP Roots are supported.
Reacted by Ethan Huo, Mark Van de Vyver, bhaktatejas922 and Rakib
Note: There appears to be issues when the Morph MCP server detects the root as being above the working directory that opencode is running in. Bash tool will show as the working directory, however files created by the MCP tools will be in the root, leading to confusion.
Not an issue as long as you start opencode in the directory that will be discovered by the MCP server as the root anyways. (.git, package.json, probably other markers as well)
Activity
[-]Feature Request: Integrate MorphLLM for diff application[/-][+]Feature Request: Integrate MorphLLM for edit-tool[/+]garrett-hopper commentedon Aug 29, 2025
Been having great luck with the MorphLLM MCP server. Great thing about opencode vs claude-code is that the builtin file tools can be disabled instead of having to beg Claude in a context file to always use the right one.
https://morphllm.com/mcp
https://docs.morphllm.com/guides/claude-code
In my
opencode.jsoncfile:{ "mcp": { "filesystem": { "enabled": true, "type": "local", "command": ["npx", "@morph-llm/morph-fast-apply"], "environment": { "MORPH_API_KEY": "sk-...", "ALL_TOOLS": "true", }, }, }, "tools": { "read": false, "edit": false, "write": false, "list": false, "glob": false, "grep": false, "filesystem_read_file": true, "filesystem_read_multiple_files": true, "filesystem_list_directory": true, "filesystem_list_directory_with_sizes": true, "filesystem_directory_tree": true, "filesystem_search_files": true, "filesystem_get_file_info": true, "filesystem_create_directory": true, "filesystem_move_file": true, "filesystem_edit_file": true, // <-- Only ALL_TOOLS=false tool "filesystem_tiny_edit_file": true, "filesystem_write_file": true, "filesystem_list_allowed_directories": true, // OR: "filesystem*": true, }, }Of course the
filesystemtools don't need to be listed intoolsunless you intend to disable some of them.I'm currently using
ALL_TOOLS=trueto try all of them. I don't really know if the non-morph filesystem tools the MCP provides are better or worse than the builtin opencode tools. 🤷filesystem_list_allowed_directoriesis not useful until MCP Roots are supported.garrett-hopper commentedon Aug 29, 2025
Note: There appears to be issues when the Morph MCP server detects the root as being above the working directory that opencode is running in. Bash tool will show as the working directory, however files created by the MCP tools will be in the root, leading to confusion.
Not an issue as long as you start opencode in the directory that will be discovered by the MCP server as the root anyways. (
.git,package.json, probably other markers as well)rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
fix electron alpha migration confirmation (anomalyco#1591)