chore(plugins): remove the MCP server from the Claude Code plugin

Merged
KR
6d ago
+68-63

The Claude Code plugin registered the e2e MCP server as plugin:e2e:e2e. This removes it there and keeps it for Codex, Cursor, GitHub Copilot, and Devin.

  • Claude Code loads .mcp.json from a plugin's root even when the manifest names no mcpServers, so dropping the manifest field alone would not remove the server. plugins/e2e/.mcp.json is deleted.
  • Codex and Cursor now read the server from ./mcp.json, the Agent Plugins file Copilot already uses. Codex strips its type field and ignores $schema (plugin_config.rs).
  • scripts/sync-plugin.ts drops mcpServers from the generated Claude manifest, stops writing .mcp.json, and pnpm plugins:check fails if one shows up again.
  • Grok Build reads the Claude files, so it loses the server too.
  • Docs (coding-agents, mcp-server), the e2e skill, the plugin README, and AGENTS.md now say the Claude Code plugin has no server and to register it in the project with e2e init. The skill's setup topic no longer tells a Claude Code agent to pass --mcp none because the plugin has the server. Translations are left to lag.
  • The plugin README claimed Codex starts the server in the session's working directory. It starts it in the plugin cache (see below), so the README now says to pass open_session {config: <absolute path>} there. That gap predates this PR; making the server find the project under Codex is a follow-up.

Verified

Ran it locally: yes

  • Claude Code 2.1.327, claude --plugin-dir <plugin> mcp list from an empty directory:
mainthis branch
plugin:e2e:e2e: npx -y e2e@0.24.0 mcp - ✔ Connectedno plugin:e2e entry
  • claude plugin validate plugins/e2e: passes.
  • Codex 0.170.0 with a throwaway CODEX_HOME, codex plugin marketplace add <repo>, codex plugin add e2e@e2e, codex mcp list:
Name  Command  Args               Env                                   Cwd                                      Status
e2e   npx      -y e2e@0.24.0 mcp  PLUGIN_DATA=*****, PLUGIN_ROOT=*****  ~/tmp/…/plugins/cache/e2e/e2e/0.24.0     enabled
  • Cursor, Copilot, and Devin not run: Cursor and Copilot read the same mcp.json (Cursor finds it by convention and now by path too), and Devin's manifest is unchanged.

Changes made by Claude Opus 5.5 in Claude Code (T3 Code).