feat(mcp): MCP server manager with detection and marketplace#241
Open
SDSLeon wants to merge 1 commit into
Open
feat(mcp): MCP server manager with detection and marketplace#241SDSLeon wants to merge 1 commit into
SDSLeon wants to merge 1 commit into
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Lightcode-managed MCP server manager. A canonical
mcpServerslist (global settings + per-project, merged over global) is projected into each agent's native MCP config at launch, mirroring the existing browser-MCP path.mcpServerZod schema (stdio / http / sse) wired into shared contracts, project, and thread config.supervisor/agents/userMcpconverts the canonical list into each agent's native format; integrated into the claude, codex, gemini, opencode, and ACP launch paths.detectMcpServerssurfaces MCP servers already configured on disk.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:contracts/project.tsworktreeLocation+mcpServersipc/localHandlers.tswriteKeybindingsFile/setKeybindings+detectMcpServers/getDetectedMcpServersipc/procedureMap.tsprofile+mcpprocedurescodex/argv.tsbinarywith mergedmcpEnv/hasMcpEnvenvProjectSettingsOverlay/SettingsSidebar.tsxmcpsidebar entrySettingsOverlay/SettingsSidebar.tsxsectionsAfterAgents.map()withmcpentry (expanded + collapsed views)Test plan
pnpm typecheckpasses🤖 Generated with Claude Code