Skip to content

User-defined MCP server registry, auto-injected into every agent session #154

Description

@liam-russell

Problem

MCP support today is one-directional: SproutGit runs its own per-workspace MCP server and can write its connection config into known CLI clients (Claude Code, Gemini, Codex, Cursor, Kiro — McpSection.tsx). But users can't register their own MCP servers (Linear, Sentry, a company-internal server, a database inspector…), and integrated ACP sessions receive mcpServers: [] (chat.ts) — so whatever MCP stack a user relies on in one agent is invisible to every other agent.

Proposal

Make MCP configuration agent-agnostic: configure servers once in SproutGit, and every agent gets them.

Trust

A stdio MCP server is arbitrary command execution. Registry entries created by the user in Settings are user-authored (like local hooks — always trusted). Anything imported (from a repo file or a shared JSON) must go through explicit confirmation before first launch, mirroring the hooks trust model. Never auto-start an MCP server whose definition arrived via git pull.

Related: #145 (SproutGit's own tools), #143 (roster), #99 (MCP surface).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Differentiator — strengthens the worktree-first / agent-native storyarea:featureNew functionalityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions