fix(mcp): reconnect after OAuth even when server is disabled
Closes #33915
This commit is contained in:
parent
b862d178bf
commit
411e053572
1 changed files with 1 additions and 1 deletions
|
|
@ -946,7 +946,7 @@ export const layer = Layer.effect(
|
|||
|
||||
const mcpConfig = yield* requireMcpConfig(mcpName)
|
||||
|
||||
return yield* createAndStore(mcpName, mcpConfig)
|
||||
return yield* createAndStore(mcpName, { ...mcpConfig, enabled: true })
|
||||
})
|
||||
|
||||
const removeAuth = Effect.fn("MCP.removeAuth")(function* (mcpName: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue