Skip to content

#44 refactor(rosetta): deprecate Rosetta MCP, plugin is the only KB path#45

Open
awrobel-gd wants to merge 1 commit into
mainfrom
deprecate-rosetta-mcp
Open

#44 refactor(rosetta): deprecate Rosetta MCP, plugin is the only KB path#45
awrobel-gd wants to merge 1 commit into
mainfrom
deprecate-rosetta-mcp

Conversation

@awrobel-gd

Copy link
Copy Markdown
Contributor

We fully migrated KB init to the bundled Rosetta plugin, leaving the live ims-mcp ("MCP mode") path functionally dead but complicating config, selection, provisioning, and the KB-init prompt. Remove it entirely.

Removed:

  • RosettaKbMode.LIVE_MCP; enum is now DISABLED / PROVISIONED_PLUGIN
  • Config surface: ROSETTA_MCP_ENABLED, ROSETTA_MCP_COMMAND/ARGS, ROSETTA_SERVER_URL, ROSETTA_API_KEY, ROSETTA_USER_EMAIL, ROSETTA_IMS_VERSION, and the ROSETTA_SERVER_KEY constant
  • build_rosetta_mcp_config, get_rosetta_kb_tools, _RosettaKbMcpTools, _rosetta_pair
  • The rosetta/ staging + remap machinery: unpack_rosetta_artifacts, _plugin_mode_active, _ROSETTA_DOT_CLAUDE_SUBDIRS, and both call sites in prepare_parallel_workspaces (only ever did real work in MCP mode)
  • The KB-init prompt's use_plugin param and its MCP branch (plugin-only now)

Kept: ROSETTA_PLUGIN_PATH, ROSETTA_OUTPUT_DIR, provision_rosetta_plugin, setup_rosetta_plugin_env, get_rosetta_plugin_tools, SKIP_MODE mock helpers.

Also updated MCP-vs-plugin comments/docstrings, the two agent-facing standards docs (repointed from mcp__KnowledgeBase__* to the provisioned plugin's Skills/subagents), docker-compose.yml, .env.quickstart.example, Dockerfile, specflow-init.sh redaction list, and the current-state config note in agents/IMPLEMENTATION.md.

Safety: Settings uses extra="ignore", so leftover ROSETTA_MCP_* env in any deployment is silently ignored rather than crashing startup. Telemetry no longer emits "KnowledgeBase" in mcp_attached_servers. Tests rewritten to the plugin-only contract. 658 unit tests pass; ruff/vulture clean.

@awrobel-gd awrobel-gd self-assigned this Jul 10, 2026
@awrobel-gd awrobel-gd added the enhancement New feature or request label Jul 10, 2026
@awrobel-gd awrobel-gd linked an issue Jul 10, 2026 that may be closed by this pull request
…44)

We fully migrated KB init to the bundled Rosetta plugin, leaving the live
ims-mcp ("MCP mode") path functionally dead but complicating config,
selection, provisioning, and the KB-init prompt. Remove it entirely.

Removed:
- RosettaKbMode.LIVE_MCP; enum is now DISABLED / PROVISIONED_PLUGIN
- Config surface: ROSETTA_MCP_ENABLED, ROSETTA_MCP_COMMAND/ARGS,
  ROSETTA_SERVER_URL, ROSETTA_API_KEY, ROSETTA_USER_EMAIL,
  ROSETTA_IMS_VERSION, and the ROSETTA_SERVER_KEY constant
- build_rosetta_mcp_config, get_rosetta_kb_tools, _RosettaKbMcpTools,
  _rosetta_pair
- The rosetta/ staging + remap machinery: unpack_rosetta_artifacts,
  _plugin_mode_active, _ROSETTA_DOT_CLAUDE_SUBDIRS, and both call sites in
  prepare_parallel_workspaces (only ever did real work in MCP mode)
- The KB-init prompt's use_plugin param and its MCP branch (plugin-only now)

Kept: ROSETTA_PLUGIN_PATH, ROSETTA_OUTPUT_DIR, provision_rosetta_plugin,
setup_rosetta_plugin_env, get_rosetta_plugin_tools, SKIP_MODE mock helpers.

Also updated MCP-vs-plugin comments/docstrings, the two agent-facing
standards docs (repointed from mcp__KnowledgeBase__* to the provisioned
plugin's Skills/subagents), docker-compose.yml, .env.quickstart.example,
Dockerfile, specflow-init.sh redaction list, and the current-state config
note in agents/IMPLEMENTATION.md.

Safety: Settings uses extra="ignore", so leftover ROSETTA_MCP_* env in any
deployment is silently ignored rather than crashing startup. Telemetry no
longer emits "KnowledgeBase" in mcp_attached_servers. Tests rewritten to the
plugin-only contract. 658 unit tests pass; ruff/vulture clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@awrobel-gd awrobel-gd force-pushed the deprecate-rosetta-mcp branch from 4bf8a7f to e01b4bc Compare July 10, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Deprecate Rosetta MCP - we only use plugin

1 participant