Skip to content

feat(mcp): add session tool profiles - #68

Merged
doyled-it merged 12 commits into
mainfrom
feat/mcp-tool-profiles
Jun 5, 2026
Merged

feat(mcp): add session tool profiles#68
doyled-it merged 12 commits into
mainfrom
feat/mcp-tool-profiles

Conversation

@doyled-it

Copy link
Copy Markdown
Owner

Summary

Adds session-time MCP server/profile selection so new sessions can launch with a narrower MCP surface while preserving the default all-servers behavior.

Changes

  • Adds persisted MCP selections and named MCP profiles to app config/session storage.
  • Adds new-session controls for applying profiles and toggling runner-specific MCP servers.
  • Enforces selected MCP access at runner launch/restart time, rejecting unsupported narrowed tool selections instead of silently widening access.
  • Shows MCP profile/selection details in session metadata and documents the new controls.

Testing

  • cargo fmt --check
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --all-features
  • cargo build --release --all-features
  • prek run --all-files
  • Manually exercised the affected new-session MCP flow

Screenshots / Recordings

Not included. This is a TUI flow; the new-session MCP selector was manually exercised locally.

Version Label

version:minor

Related Issues

Closes: #66

Checklist

  • Commits follow Conventional Commits
  • Code follows the layering rules in CONTRIBUTING.md (no UI imports in core/, no state mutation in ui/)
  • New code is covered by tests where practical
  • Documentation (README, in-repo docs, help overlay) updated if behavior changed
  • A version:* label is applied (or this change intentionally ships without a release)

@doyled-it doyled-it added enhancement New feature or request version:minor Triggers minor version bump labels Jun 5, 2026
@doyled-it
doyled-it merged commit 61fcbd9 into main Jun 5, 2026
5 checks passed
@doyled-it
doyled-it deleted the feat/mcp-tool-profiles branch June 5, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request version:minor Triggers minor version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow MCP tool profiles for new sessions

1 participant