Skip to content

[ENHANCEMENT] Need programatic way to refresh MCP servers #8356

@makandre

Description

@makandre

Problem (one or two sentences)

In Roo MCP server configuration UI there's a button to Refresh MCP Servers

There is no way to trigger that action in a programatic way.

Context (who is affected and when)

For authors of VS code extensions, especially ones that would like to integrate with Roo and provide MCP servers, sometimes it's necessary to instantiate an MCP server on-the-fly, or to restart MCP server when some configuration has changed, then to ask Roo to refresh the MCP servers and fetch updated info on the available tools.

Desired behavior (conceptual, not technical)

It would be great if the Refresh MCP Server action can be exposed as a VS code command, or as API on @roo-code/types

Constraints / preferences (optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.enhancementNew feature or requestfeature requestFeature request, not a bug

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions