quick-window-91705
10/31/2025, 8:04 PM"fetch":{
"command":"uvx",
"args":[
"mcp-server-fetch"
]
},
"repomix":{
"command":"npx",
"args":[
"-y",
"repomix@1.4.2",
"--mcp"
]
},chilly-france-44439
10/31/2025, 8:31 PMchilly-france-44439
10/31/2025, 8:32 PMquick-window-91705
10/31/2025, 8:32 PMnutritious-balloon-65098
10/31/2025, 8:32 PMnutritious-balloon-65098
10/31/2025, 8:36 PMget_default_agent() (openhands-tools/openhands/tools/preset/default.py)
• Removed mcp_config parameter with fetch and repomix servers
• Removed filter_tools_regex parameter
✅ Removed default MCP configuration from get_planning_agent() (openhands-tools/openhands/tools/preset/planning.py)
• Removed mcp_config parameter with fetch and repomix servers
• Removed filter_tools_regex parameter
✅ All pre-commit checks passed (Ruff format, Ruff lint, pycodestyle, pyright)
✅ All tests passed - Ran test_agent_reconciliation.py which extensively tests the preset agent functions (10 tests passed)
Total Impact
• Lines removed: 20 lines
• Files modified: 2 files
• Breaking changes: None - users can still configure MCP servers explicitly by passing mcp_config to the Agent constructor
Pull Request Created
🔗 PR #984: Remove default MCP servers from preset agents
The PR is currently marked as a draft and is ready for your review. The changes simplify the preset agent configuration by removing the untested default MCP servers (fetch and repomix) that were added early in the repository's development, as discussed in your team conversation.
<sub>View full conversation</sub>calm-artist-7206
10/31/2025, 9:01 PMchilly-france-44439
10/31/2025, 9:19 PMchilly-france-44439
10/31/2025, 9:19 PMcalm-artist-7206
10/31/2025, 9:40 PM