Skip to content

fix(devin): attach tools_diag on MCP configuration denials - #178

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/devin-mcp-tools-diag
Sep 16, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/devin-mcp-tools-diag

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • When Devin returns an MCP configuration permission_denied, append a compact inbound/outbound tools type/name summary as tools_diag on the classified error (also logged).
  • This is temporary diagnostics so Desktop failures can be inspected from request history without capturing full request bodies or parameter schemas.
  • No release / no production update in this PR.

Test plan

  • go test ./internal/providers/devin/...
  • After merge + your later deploy: reproduce Desktop MCP failure and confirm request_logs.error_message contains tools_diag=...

When Devin rejects a request for MCP configuration reasons, log and append a compact inbound/outbound tools type/name summary so request history can show what Desktop sent versus what we forwarded.
@caigee-cmd
caigee-cmd merged commit ac0171e into main Sep 16, 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