Skip to content

Conversation

@alex-feel
Copy link
Owner

Implements scope: profile for MCP servers, enabling true isolation where servers are visible only when using a specific profile command.

Profile-scoped servers are stored in {command}-mcp.json and loaded via --strict-mcp-config --mcp-config flags, preventing cross-contamination between different environment profiles.

Key changes:

  • Add create_mcp_config_file() to generate profile MCP config JSON
  • Modify configure_all_mcp_servers() to separate profile from regular servers
  • Update launcher scripts to detect and use --strict-mcp-config when profile servers exist
  • Add 15+ tests covering all profile scope scenarios

Implements scope: profile for MCP servers, enabling true isolation where servers are visible only when using a specific profile command.

Profile-scoped servers are stored in {command}-mcp.json and loaded via --strict-mcp-config --mcp-config flags, preventing cross-contamination between different environment profiles.

Key changes:
- Add create_mcp_config_file() to generate profile MCP config JSON
- Modify configure_all_mcp_servers() to separate profile from regular servers
- Update launcher scripts to detect and use --strict-mcp-config when profile servers exist
- Add 15+ tests covering all profile scope scenarios
@github-actions
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  scripts
  setup_environment.py 4210-4212, 5604, 5698-5700
Project Total  

This report was generated by python-coverage-comment-action

@alex-feel alex-feel merged commit cbbe21b into main Jan 21, 2026
12 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch January 21, 2026 21:55
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.

2 participants