Skip to content

fix(devin): relay mcp__* tools via aliases for local execution - #171

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/devin-mcp-alias-relay
Sep 15, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/devin-mcp-alias-relay

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Alias Codex/Desktop mcp__* tools before Devin (mcp__computer-use__left_clickmcp_computer_use_left_click) instead of dropping them.
  • Restore original mcp__* names on streamed/non-stream tool_calls so the local Desktop/Codex client can execute MCP.
  • Keep MCP configuration permission_denied as invalid_request (no auth cooldown).

Test plan

  • go test ./internal/providers/devin/...
  • After deploy: Desktop request with mcp__* should reach Devin without MCP configuration denial, and returned tool call names should be original mcp__*

Rename Codex/Desktop mcp__* tool definitions to Devin-safe aliases on
the way upstream, then restore the original names on tool_calls so the
local client can execute MCP. Keep MCP configuration permission_denied
classified as invalid_request.
@caigee-cmd
caigee-cmd merged commit 5607ab7 into main Sep 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant