Skip to content

fix(mcp): disable opening detail for uninstalled marketplace servers#2084

Draft
joshsny wants to merge 1 commit intomainfrom
posthog-code/disable-mcp-marketplace-uninstalled-detail
Draft

fix(mcp): disable opening detail for uninstalled marketplace servers#2084
joshsny wants to merge 1 commit intomainfrom
posthog-code/disable-mcp-marketplace-uninstalled-detail

Conversation

@joshsny
Copy link
Copy Markdown
Contributor

@joshsny joshsny commented May 7, 2026

Problem

In the MCP marketplace, clicking on a server card that isn't connected opened a detail page with nothing to configure — there are no tools or settings to show until the server is installed, so the page was effectively empty.

Changes

  • In ServerCard, only render the card body as a clickable <button> when the server is installed; otherwise render it as a plain <div> so clicking does nothing.
  • Drop the hover affordance (border/background hover styles) on uninstalled cards so they don't appear interactive.
  • The "Connect" button still works for uninstalled servers, and the "Configure" button / card click still works for installed ones.

How did you test this?

  • pnpm exec biome check on the changed file (clean).
  • Visual inspection of the diff — the only behavioral change is whether the card body is clickable / hoverable when installed is false.

Publish to changelog?

no


Created with PostHog Code

The detail page for a non-connected MCP server has nothing to configure,
so clicking the card just opened an empty page. Make non-installed cards
non-clickable and remove their hover affordance — connecting still works
via the "Connect" button.

Generated-By: PostHog Code
Task-Id: 938aa952-562b-4752-a7a8-3a700ade3c76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant