Skip to content

[Feature]: Allow disabling the built-in browser/preview MCP tools #4150

Description

@kevhardy

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/server

Problem or use case

t3code automatically adds its browser MCP tools to the provider's session. When users already have a browser workflow configured, such as Playwright or another browser MCP, agents see overlapping tools operating on different browser contexts. This can cause agents to select the wrong tool, inspect the wrong page, or mix browser state. There is currently no supported way to disable T3 Code's browser MCP.

Proposed solution

Add a server-level setting to disable the built-in browser MCP, with the current behavior remaining enabled by default. When disabled, t3code should neither register the MCP server nor inject related browser instructions. A setting could be exposed in the General section of the UI to toggle it off or passed in as a cli flag.

Why this matters

Users should be able to make their configured browser MCP the single authoritative browser workflow. This would reduce tool ambiguity and make agent behavior more predictable.

Smallest useful scope

A cli flag passed that prevents any t3code related MCP injections from being added to new sessions.

Alternatives considered

Telling agents to specifically ignore t3code mcp tools. Still retains the context of those tools.

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.

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

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions