Repository navigation
Commit d3842e6
committed
fix(mcp): finishAuth returns disabled instead of connected after OAuth
After successful OAuth, finishAuth called createAndStore with the raw
config which may have enabled=false (e.g. server was previously
disconnected). This caused create() to short-circuit and return
status disabled instead of reconnecting.
Pass { ...mcpConfig, enabled: true } to match what connect() already
does.
Fixes anomalyco#202781 parent b1e89c3 commit d3842e6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
824 | | - | |
| 824 | + | |
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| |||
0 commit comments