Skip to content

[Bug]: Test MCP tools that run code or write files report readOnlyHint: true #43699

Closed

Description

Version

main (1.65.0-next)

Steps to reproduce

Start npx playwright run-test-mcp-server and call tools/list.

Expected behavior

Tools that run code or write files report readOnlyHint: false and destructiveHint: true.

Actual behavior

All test MCP tools report readOnlyHint: true, including:

  • test_run and test_debug, which run tests
  • generator_setup_page and planner_setup_page, which run the seed test
  • generator_write_test and planner_save_plan, which write files

Clients that skip approval for read-only tools run them without asking.

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