Skip to content

Combine Skills and MCP servers into a single "Skills and MCP" tab#3383

Open
k11kirky wants to merge 2 commits into
mainfrom
posthog-code/combine-skills-mcp-tab
Open

Combine Skills and MCP servers into a single "Skills and MCP" tab#3383
k11kirky wants to merge 2 commits into
mainfrom
posthog-code/combine-skills-mcp-tab

Conversation

@k11kirky

Copy link
Copy Markdown
Contributor

Problem

Skills and MCP servers are both "extend your agent" surfaces but lived as two separate sidebar tabs, taking up nav space and splitting a single mental model across two destinations.

Why

Requested by Peter: merge the Skills and MCP tabs into one "Skills and MCP" tab (using the current MCP servers icon) while keeping both views easy to reach.

Changes

  • One sidebar item, Skills and MCP (Plugs icon), active on either page; both browser-tab entries now present as "Skills and MCP".
  • A shared top-level tab strip (SkillsMcpTabs) renders at the top of both views to switch between Skills and MCP servers. Each half keeps its own route (/skills, /mcp-servers, and the /website mirrors), so switching navigates — deep links, browser tabs, and back/forward all keep working. The Skills sub-tabs (Installed / Team / Marketplace) are unchanged beneath it.

How did you test this?

  • turbo typecheck --filter=@posthog/ui — clean.
  • pnpm --filter @posthog/ui test — 1504 tests passed.
  • biome check on the touched feature directories — clean.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

One sidebar destination with the Plugs icon; each half keeps its own
route (/skills, /mcp-servers, and the /website mirrors) and a shared
top-level tab strip switches between them, so deep links, browser tabs,
and back/forward keep working.

Generated-By: PostHog Code
Task-Id: a92a9add-0a17-40a1-9bf8-ca43d76661f3
@trunk-io

trunk-io Bot commented Jul 13, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 89bcf8b.

@k11kirky k11kirky marked this pull request as ready for review July 13, 2026 11:46
@greptile-apps

greptile-apps Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Combine Skills and MCP servers into one ..." | Re-trigger Greptile

@@ -167,11 +162,7 @@ export function SidebarNavSection({
</Box>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Active MCP Item Navigates Away

When the current route is /mcp-servers or /website/mcp-servers, this combined sidebar item is highlighted as active but still runs goSkills on click. A click on the active nav item then moves the user from MCP servers to Skills and can discard the MCP view’s current scroll or selection state.

Clicking the combined item while on /mcp-servers navigated back to
/skills, dropping the MCP view's state. Guard the click when either
half is already open; covered by a new SidebarNavSection test.

Generated-By: PostHog Code
Task-Id: a92a9add-0a17-40a1-9bf8-ca43d76661f3
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