Add an extension point for MCP Server client auto-configuration

Request

Please add a public extension point for Settings → Tools → MCP Server → Clients Auto-Configuration.

A plugin can already contribute MCP tools (mcpToolset, mcpToolsProvider, and the other mcpServer.* points). It cannot contribute a client that the IDE detects and writes a config file for. The client list is closed.

What is closed today

Observed in MCP Server 262.10968.63 (com.intellij.mcpServer):

  • com.intellij.mcpserver.impl.McpClientDetector hardcodes the clients: Junie, Claude Desktop, Claude Code, Codex, Cursor, VS Code, Windsurf, Air, GitHub Copilot CLI, and the GitHub Copilot IDE plugin.
  • com.intellij.mcpserver.clients.McpClientInfo.Name is a closed enum with those same names.
  • The settings page only renders clients returned by that detector.

plugin.xml has no client extension point. The published mcpServer.* points are mcpToolsProvider, mcpToolFilterProvider, mcpToolset, mcpProjectPathCustomizer, mcpManagedSessionSupport, elicitationProvider, projectDependenciesProvider, and statusBarWidgetProvider.

Why this matters

Any agent that is not in that list cannot use Auto-Configuration. Concrete case: Pi (@earendil-works/pi-coding-agent) loads project MCP servers from .pi/mcp.json. The IDE exports a snippet to src/.mcp.json, which Pi does not read.

After every IDE restart the MCP port changes, so .pi/mcp.json has to be edited by hand:

{
  "mcpServers": {
    "idea": {
      "url": "http://127.0.0.1:<port>/stream",
      "headers": {
        "IJ_MCP_SERVER_PROJECT_PATH": "<project path>"
      }
    }
  }
}

The same gap applies to any other client whose config path or file format is not one of the built-in ones. A third-party plugin cannot add a row to this screen.

Suggested shape

A dynamic extension point, for example com.intellij.mcpServer.mcpClientContributor. A contributor would provide:

  1. A display name. This should not require a new McpClientInfo.Name constant.
  2. Scope: global, project, or both.
  3. Detection: whether the client is installed, and the config file path.
  4. configure: write that client’s native format (JSON, TOML, and so on), including the IDE server URL and scope headers such as IJ_MCP_SERVER_PROJECT_PATH.
  5. The same row states the built-in clients already have: not detected, detected but not configured, configured, wrong port.

Built-in clients can stay as they are. The settings page would list detector results plus extension contributions.

Non-goals

  • Replacing the built-in clients.
  • Letting a plugin start its own MCP HTTP server. Tool contribution already exists.
  • A one-off Pi implementation inside the IDE. The extension point is the general fix. Pi is the case that cannot be added from another plugin today.