Skip to content

feat(mcp): MCP server manager with detection and marketplace#241

Open
SDSLeon wants to merge 1 commit into
masterfrom
lightcode/quiet-ibis-809fed16
Open

feat(mcp): MCP server manager with detection and marketplace#241
SDSLeon wants to merge 1 commit into
masterfrom
lightcode/quiet-ibis-809fed16

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

Adds a Lightcode-managed MCP server manager. A canonical mcpServers list (global settings + per-project, merged over global) is projected into each agent's native MCP config at launch, mirroring the existing browser-MCP path.

  • ContractsmcpServer Zod schema (stdio / http / sse) wired into shared contracts, project, and thread config.
  • Translatorssupervisor/agents/userMcp converts the canonical list into each agent's native format; integrated into the claude, codex, gemini, opencode, and ACP launch paths.
  • Detection — read-only detectMcpServers surfaces MCP servers already configured on disk.
  • Marketplace — bundled catalog (shared/mcpCatalog) plus renderer UI (McpManager, McpMarketplace, McpServerEditorDialog, detected panel) in both the global Settings overlay and per-project Settings overlay.

Merge resolution

This branch merged the MCP feature into recent master. Six files had conflicts, all resolved by preserving both sides:

File Resolution
contracts/project.ts kept both worktreeLocation + mcpServers
ipc/localHandlers.ts kept writeKeybindingsFile/setKeybindings + detectMcpServers/getDetectedMcpServers
ipc/procedureMap.ts kept both profile + mcp procedures
codex/argv.ts combined Windows-launch binary with merged mcpEnv/hasMcpEnv env
ProjectSettingsOverlay/SettingsSidebar.tsx i18n label macros + mcp sidebar entry
SettingsOverlay/SettingsSidebar.tsx refactored sectionsAfterAgents.map() with mcp entry (expanded + collapsed views)

Test plan

  • pnpm typecheck passes
  • pre-commit lint/format hooks pass
  • Manual: add/edit MCP servers in global + project settings; confirm they launch into claude/codex/gemini/opencode

🤖 Generated with Claude Code

Introduce a canonical, Lightcode-managed mcpServers list (global +
project-scoped, merged over global) that is projected into each agent's
native MCP config at launch, mirroring the existing browser-MCP path.

- shared contracts + Zod schema for MCP servers (stdio/http/sse)
- per-agent translators in supervisor/agents/userMcp wired into
  claude, codex, gemini, opencode, and ACP launch paths
- read-only detection of MCP servers already configured on disk
- bundled marketplace catalog and renderer MCP manager UI in both the
  global and project settings overlays

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
lightcode-landing Skipped Skipped Jun 29, 2026 5:12pm

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