Skip to content

feat(ui): search and merge servers in the copy-from-project picker - #995

Merged
runkids merged 1 commit into
mainfrom
runkids/mcp-copy-search
Nov 24, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/mcp-copy-search

Conversation

@runkids

@runkids runkids commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Refs #976 — this covers the first two requests (search, and listing a shared server once). The third, one server definition assigned to chosen projects, changes the config model and is left for a separate proposal, so the issue stays open.

What changed

In a project's MCP tab, Add server → From another project:

  • The list has a search box. It matches the server name or any project folder that has it.
  • Servers with the same name and the same settings are listed once. Targets are left out of the comparison, because a copy follows this project's targets anyway. Object key order does not matter; array order does.
  • Each row names every folder that has the server, so search finds a shared server by any of them, and two same-name servers set up differently stay apart. A shared row also shows how many projects have it, which stays visible when a long folder list is cut off.

Docs: how-to/daily-tasks/sharing-mcp.md and its ja, ko, zh-Hans and zh-Hant copies describe the search and the merged rows. New strings are in all 11 dashboard locales.

Checks

  • make check in the devcontainer
  • Full UI suite: pnpm vitest run (1018 passed), pnpm lint:typed (0 errors), pnpm format:check, pnpm build
  • python3 scripts/ai-context.py check
  • In the dashboard, with 6 projects sharing a server under long paths plus same-name servers with different settings: rows merge, a search for a non-first folder finds the merged row, two same-name variants stay distinguishable, and picking a merged row fills the form. Inspected in Playful light at desktop width and 390 px; Clean and dark not inspected.
  • Not run: website build (docs change is prose only).

Not covered

  • A server whose settings differ only by a project-specific value (an absolute path in args, a per-project env value) is not merged; it is a different server.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — for code changes
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

With many projects, the "From another project" picker became a long list
to scroll, and a server that several projects share appeared once per
project, so five projects with the same five servers gave twenty-five rows.

The picker now has a search box, and servers with the same name and the
same settings (targets aside, since a copy follows this project's) are
listed once. Each row names every folder that has the server, so search
finds a shared server by any of them and two same-name servers set up
differently stay distinguishable; a shared row also shows how many
projects have it, which stays visible when long folder lists are cut off.

Refs #976
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T07:52:42.682242Z c7b30c0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit e931055 into main Nov 24, 2026
10 checks passed
@runkids
runkids deleted the runkids/mcp-copy-search branch November 24, 2026 05:07
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