Skip to content

feat(desktop): show MCP connection and agent-tool availability in the UI #5060

Description

@matthewdonsemail-lab

User experience

A Buzz Desktop user can configure an MCP server or Project connection and restart the app, but the agent session gives no reliable, user-visible answer to two basic questions: did the server load, and are its tools available to this agent? In the Playwright case, the server can run successfully while the agent exposes zero Playwright tools.

Reproduction

  1. Configure a stdio MCP server such as @playwright/mcp in the project/agent configuration.
  2. Restart Buzz Desktop and start an agent session.
  3. Ask the agent which tools are available, or attempt to call a tool from the configured server.
  4. Observe that the UI does not show a per-server state, discovered tool list, binding to the current agent, or actionable startup error.

Expected behavior

The Project or agent UI should show each configured MCP connection with a clear state such as configured, starting, ready, or failed. A ready connection should show the discovered tool names and the agents/projects to which it is bound. A failure should include an actionable diagnostic and a retry/test action. The active agent view should expose which external tools were injected at session launch.

Actual behavior

The user receives no authoritative UI feedback. A configured server may be healthy when launched manually, yet its tools are absent from the agent session. The only practical detection is asking the agent or inspecting logs, and the current workaround requires planning all browser operations into one shell invocation.

Impact

This makes MCP setup appear broken even when the server process is healthy, increases setup time, and causes users to fall back to fragile shell workflows for browser automation and other long-running integrations.

Source references

Suggested acceptance criteria

  • Project/agent configuration displays every MCP connection and its current lifecycle state.
  • The UI can test or retry a connection and surfaces stderr/startup failures without exposing secrets.
  • Successful tools/list discovery is visible, with tool names and the active agent binding.
  • The active agent/session view indicates which MCP tools were injected.
  • E2E coverage verifies ready, failed, empty-tool, and unbound states.

Related

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