ChimeraX docs icon

Command: mcp

Usage:
mcp setup

Usage:
mcp startport ]

Usage:
mcp info

Usage:
mcp stop

The mcp command enables ChimeraX to listen for commands from the Claude Desktop AI chatbot using the Model Context Protocol (MCP) developed by Anthropic. Running ChimeraX from Claude was first implemented by Alexis Rohou at Genentech and subsequently incorporated into ChimeraX as the mcp command. See also: remotecontrol, Claude Chat to Operate ChimeraX

Set Up Claude Desktop to Control ChimeraX

  1. Install Claude Desktop for Mac or Windows (not available for other platforms), start it, and create a free account.
  2. Start ChimeraX and enter command mcp setup to generate the configuration file needed for Claude Desktop to control ChimeraX.
  3. Quit Claude Desktop and ChimeraX. Make sure to use Claude menu File / Exit when quitting; due to a bug in Claude Desktop (version 1.0.1405), closing it with the window frame "X" button leaves hidden Claude subprocesses running that will prevent it from reading the configuration file when restarted.
  4. Restart Claude Desktop and test by giving Claude a natural language request, e.g., “Show me a conotoxin protein in ChimeraX”

UCSF Resource for Biocomputing, Visualization, and Informatics / December 2025