darkgrade mcp runs a camera MCP server from one command: it gives Claude, Cursor or any MCP app the camera tools for a Sony, Canon or Nikon over USB, with no Studio and no code. The MCP server holds the attached camera itself, and it works anywhere the CLI does.
claude mcp add darkgrade -- npx -y darkgrade mcpThat line adds it to Claude Code. Then ask: “What camera is connected?”
Add it to your app
Any app that starts MCP servers as a command can use it. The command is npx, with the arguments -y darkgrade mcp.
claude mcp add darkgrade -- npx -y darkgrade mcp{
"mcpServers": {
"darkgrade": { "command": "npx", "args": ["-y", "darkgrade", "mcp"] }
}
}{
"mcpServers": {
"darkgrade": { "command": "npx", "args": ["-y", "darkgrade", "mcp"] }
}
}Connect your AI app says where each app keeps this file. Cursor and VS Code can also add it from a link, and ask you to confirm the server first:
Add to Cursor Add to VS CodeWhat it does
- Holds one camera. It opens the attached camera the first time a tool needs it and closes it when the app disconnects. The tools take no
cameraargument, and there is nocamera_connectorcamera_disconnect: the server does both. - Serves the camera tools. Every tool in the tool reference except
camera_connectandcamera_disconnect. Studio's own tools (brighter or darker, undo) are not included. What differs from Studio compares the three servers. - Saves files. A photo taken to the computer, or a file downloaded from the card, is saved in
Pictures/Darkgradein your home folder, and the reply names the path. Nothing is overwritten: a secondphoto.jpgbecomesphoto-1.jpg. - Stops the Mac's camera service. On a Mac it stops the system service that otherwise claims the camera, for as long as the camera is open.
Flags
| Flag | Does |
|---|---|
--camera VID:PID | Use this USB device when several cameras are attached. npx darkgrade cameras lists them. |
--output <folder> | Save photos and downloads here. |
npx darkgrade mcp --camera 054c:0e78 --output ~/shootWith several cameras attached and no --camera, the first tool call fails and names them.
One camera, one program
The server holds the camera while the app is connected, so quit Studio first, and don't run other darkgrade camera commands at the same time. To let Claude work alongside Studio, use Studio's own server instead. To serve several cameras, or over HTTP, write the server yourself.