diff --git a/apps/web/src/components/chat/McpSignInAction.tsx b/apps/web/src/components/chat/McpSignInAction.tsx
index 63c5d9e49dff0..b6e1033a5119a 100644
--- a/apps/web/src/components/chat/McpSignInAction.tsx
+++ b/apps/web/src/components/chat/McpSignInAction.tsx
@@ -39,21 +39,15 @@ export function McpSignInAction({
threadId,
providerThreadId,
server,
- noticeAt,
}: {
readonly environmentId: EnvironmentId;
readonly threadId: ThreadId;
readonly providerThreadId: ProviderThreadId;
readonly server: string;
- /** When the environment raised the notice, in epoch milliseconds. */
- readonly noticeAt: number;
}) {
const gt = useGT();
const formId = useId();
const allowed = useAtomValue(threadEnvironment.mcpSignInStart.permissionAtom(environmentId));
- const signedIn = useAtomValue(
- threadEnvironment.mcpSignedInAtom(environmentId, { threadId, server, noticeAt }),
- );
const start = useAtomCommand(threadEnvironment.mcpSignInStart, { reportFailure: false });
const complete = useAtomCommand(threadEnvironment.mcpSignInComplete, { reportFailure: false });
const { copyToClipboard, isCopied } = useCopyToClipboard();
@@ -105,22 +99,16 @@ export function McpSignInAction({
return (
<>
- {signedIn ? (
-
- Signed in
-
- ) : (
- {
- event.stopPropagation();
- void begin();
- }}
- onKeyDown={stopRowToggle}
- >
- Sign in
-
- )}
+ {
+ event.stopPropagation();
+ void begin();
+ }}
+ onKeyDown={stopRowToggle}
+ >
+ Sign in
+