Camera Control
What it is
Section titled “What it is”The Alpha Camera MCP server is a stateful Model Context Protocol server that wraps the Alpha Camera REST API. It holds one camera session so you can say things like “read my ISO”, “shoot and show me the frame”, or “set up for a 3-shot bracket” and it drives the camera over USB.
It ships as an .mcpb bundle you build from this repo and install into Claude Desktop. The bundle is self-contained: it embeds the native CameraWebApp REST server, so Claude Desktop launches everything itself — there is no separate server to start.
Prerequisites
Section titled “Prerequisites”-
Clone the repo and place the SDK. The camera server is built from source — the Sony Camera Remote SDK is never redistributed. See SDK setup.
Terminal window git clone https://github.com/crsdk/alpha-sdk-api.gitcd alpha-sdk-apicrsdk install --zip <sony-camera-remote-sdk.zip> -
A supported Sony Alpha camera connected over USB, set to PC Remote in the camera’s USB connection menu.
-
Node.js 20+ and a C++ toolchain + CMake (run
crsdk doctorto check).
Build the bundle
Section titled “Build the bundle”The crsdk CLI builds the whole thing. Each step feeds the next:
-
Regenerate the tools from the OpenAPI spec (safe to run anytime — the generated tools are committed):
Terminal window crsdk gen:mcp -
Compile the MCP server (
mcp/src→mcp/dist):Terminal window crsdk build:mcp -
Pack the installable bundle. This builds the native
CameraWebAppfirst if it isn’t built, then embeds it plus its runtime libraries:Terminal window crsdk pack:mcpThe result is
mcp/alpha-camera.mcpb.
Install in Claude Desktop
Section titled “Install in Claude Desktop”-
Open Claude Desktop → Settings → Extensions.
-
Drag
mcp/alpha-camera.mcpbonto the window (or use Install from file). -
Leave Camera server URL at its default (
http://localhost:8080) unless you run the REST server yourself — the bundle spawns and manages it for you. -
Enable the extension. Claude now has the camera tools (
connect_camera,get_camera_state,set_property,capture_and_review, …).
Add the skill (recommended)
Section titled “Add the skill (recommended)”The bundle carries the tools; the photographic procedures — guided setups, exposure bracketing, focus stacking — live in a Claude Skill that ships alongside the bundle at mcp/skills/sony-camera-control/. The Skill cannot live inside the .mcpb; install it separately:
Copy the sony-camera-control folder into your Skills directory, then enable it in Settings → Capabilities → Skills.
cp -r mcp/skills/sony-camera-control ~/.claude/skills/Restart Claude Code; the skill triggers on camera requests.
First run
Section titled “First run”With a camera connected, ask Claude:
Connect to my camera and show me the current settings.
Under the hood that runs connect_camera (which handles the PC-remote priority-key handshake) then get_camera_state. From there:
Set ISO to 400, then shoot and show me the frame.
runs set_property (confirming the camera accepted the value) and capture_and_review (shutter → autofocus → transfer → returns the image inline).
Troubleshooting
Section titled “Troubleshooting”Connection, writability, live view, SD card, settings, and hardware states each have their own fixes — see the dedicated page: