fix(cli): remove redundant MCP form guard

This commit is contained in:
Aiden Cline
2026-08-07 10:33:56 -05:00
parent 0ed9ed5ec8
commit 3bf13ef366
@@ -30,8 +30,6 @@ export default Runtime.handler(
)
if (!method)
return yield* Effect.fail(new Error(`MCP server "${input.name}" is not an OAuth-capable remote server`))
if (method.forms)
return yield* Effect.fail(new Error(`MCP server "${input.name}" requires an interactive authentication form`))
const started = yield* Effect.promise(() =>
client.integration.oauth.connect({ integrationID: integration.id, methodID: method.id, answers: {}, location }),