GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Expanding an Excalidraw MCP app asks to approve save_checkpoint every time, twice per expand · Issue #40446 · pingdotgg/t3code

[Bug]: Expanding an Excalidraw MCP app asks to approve save_checkpoint every time, twice per expand #40446

New issue
Copy link
New issue
Copy link
Open
Open
[Bug]: Expanding an Excalidraw MCP app asks to approve save_checkpoint every time, twice per expand#40446
Copy link

Description

@Kameleon21
Kameleon21
opened on Nov 21, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Connect the claude.ai Excalidraw MCP server.
  2. In a Claude thread, have the agent draw a diagram with create_view, so the thread shows an Excalidraw app widget.
  3. Expand the widget to full screen.
  4. Click Confirm on the dialog.
  5. Collapse and expand the widget again later, or move a shape in it.

Expected behavior

Expanding a diagram, or editing it, should not need an approval each time. The widget is saving its own drawing state with its own tool. Approving once for that app and tool in the thread should be enough, or the app's own state-saving tool should not need a dialog at all.

Actual behavior

Every expand opens "Allow claude.ai Excalidraw to run save_checkpoint?" followed by the whole drawing as JSON (about 30 KB for an 11-box diagram, so the dialog is a wall of text). After Confirm, the same dialog opens a second time. After the second Confirm it stops, until the next expand or edit, when it starts again. There is no way to approve it once.

In apps/web/src/components/chat/McpAppFrame.tsx, callTool asks for approval on every call to a tool that is not read-only, and nothing remembers an earlier approval for the same app and tool:

if (!info.value.readOnly) {
  const approved = await ask(
    `Allow ${app.server} to run ${info.value.title ?? name}?\n${JSON.stringify(args, null, 2)}`,
  );

The same logic is on main at 630f2e1 (lines 283-294).

A possible cause of the second dialog, which I have not confirmed: ask first forces the widget back to inline with flushSync(() => setDisplayMode("inline")). Excalidraw saves a checkpoint when its display mode changes, so the dialog's own switch to inline may trigger the next save_checkpoint call.

Related, but not the same:

  • [Bug]: MCP app widgets open approval dialogs on load and lock the app, even after a restart #38950 is about widgets that call a tool on load with no user action. Here the call follows a user action (expand or edit), so a "require a click first" fix would not stop these dialogs.
  • [Bug]: Unrelated Claude MCP deny rules strip read-only hints from Datadog graphs, causing repeated approvals #32185 is about read-only hints being stripped by unrelated Claude mcp__ ask/deny rules. This machine has no mcp__ rules at user or project level, and save_checkpoint writes data, so it is not read-only to begin with.
  • [Bug]: An open approval modal makes the whole desktop app unusable #38289 is about the dialog being modal.

Impact

Minor bug or occasional failure

Version or commit

T3 Code (Nightly) 0.1.12-nightly.20261121.5038

Environment

macOS 26.6.2 (Apple silicon), T3 Code desktop (Nightly), Claude provider, claude.ai Excalidraw MCP server

Workaround

Click Confirm twice on each expand, or open the diagram outside T3 Code. Adding mcp__claude_ai_Excalidraw__save_checkpoint to Claude's permissions.allow has no effect, because this dialog does not consult Claude's permission rules.

Offer to help

I am happy to send a small, focused PR for this once a maintainer confirms the intended behaviour, for example remembering an approval per app and tool for the thread, or not forcing inline mode before asking. I will wait for that direction before writing anything, in line with CONTRIBUTING.md.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.