Discover Claude Code project .mcp.json configs as profiles #53
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Roadmap §3.3. Claude Code reads per-project
.mcp.jsonfiles, but BCC only surfaces the global~/.claude.json— project-scope servers are invisible unless the user manually does Add config….Design
discover_project_configs(claude_json_path) -> list[Profile]— read theprojectsmap keys (absolute project paths) from~/.claude.json; for each path where<path>/.mcp.jsonexists, emit a Profile labeledProject: <basename>pointing at that.mcp.json. Fail-quiet on unreadable/malformed input..mcp.jsonis a standalone top-levelmcpServersfile, i.e. already exactly BCC's format.discover_profiles()after the Claude Code entry, de-duped against already-listed paths..mcp.json, malformed.claude.json, missingprojectskey, path de-dup, label format.Acceptance: a project with
.mcp.jsonlisted in~/.claude.jsonshows up in the Install dropdown automatically and is editable like any profile.