Skip to main content
GuidesTroubleshooting the camera MCP server

Most problems with Darkgrade's camera MCP server are one of three things: your AI app can't reach the server, the tools don't show up in the app, or a tool runs and fails. Find your symptom below.

The first two sections are for tools served by Studio. If your app starts the server with npx darkgrade mcp, go to Without Studio.

Check the server first

Two checks tell you which side the problem is on.

  1. 1

    Look at Studio

    Open Settings… (⌘ ,). Let AI apps control the camera should be on, with Running beside the switch. If the server could not start, the reason is shown under the setting instead. Server address is the address to give your AI app.

  2. 2

    Ask the address

    In a terminal:

    curl -i http://127.0.0.1:7461/mcp

    Any HTTP response, even an error status, means Studio's server is up and the problem is in your AI app's setup. Connection refused means the server is not running.

The app can't connect

SymptomCause and fix
Connection refused, or the server shows as failedStudio is closed, or the setting is off (it is off until you turn it on). Open Studio and turn on Let AI apps control the camera.
Studio shows Port 7461 is already in useAnother program, or a second copy of Studio, has the port. Quit it, then switch the setting off and on.
It worked, then stoppedStudio was quit or restarted, or the setting was switched off. Reopen Studio, then reconnect in your app (in Claude Code: /mcp).
Connecting from another computer failsStudio listens on this Mac only. Run the AI app on the same Mac, or serve the tools yourself on the machine that has the camera.
You have no Studio, or no MacStudio is not required. npx darkgrade mcp serves the camera tools from one command, on macOS or Linux.
403 ForbiddenThe request reached Studio under another host name (a tunnel or proxy does this), or came from a web page on another site. Use the address below from a desktop AI app on the same Mac.
404 Not FoundThe address is missing /mcp.

The address is exactly:

http://127.0.0.1:7461/mcp

The tools don't appear

Claude Desktop

  • Quit Claude completely (⌘ Q) and reopen it after editing claude_desktop_config.json. Closing the window is not enough.

  • Check the file is valid JSON: one missing comma hides every server.

  • mcp-remote needs Node.js. If Claude reports that it can't find npx, give the full path, which which npx prints in a terminal:

    {
      "mcpServers": {
        "darkgrade-studio": {
          "command": "/opt/homebrew/bin/npx",
          "args": [
            "-y",
            "mcp-remote",
            "http://127.0.0.1:7461/mcp"
          ]
        }
      }
    }
  • Studio has to be running with the setting on before Claude starts, or the relay has nothing to connect to. Open Studio, then restart Claude.

Claude Code

  • Run claude mcp list. darkgrade-studio should be listed as connected.
  • claude mcp add adds a server to the project folder you ran it in. Run Claude Code in that folder, or add it again with --scope user to have it everywhere.
  • Inside Claude Code, /mcp shows each server's status and reconnects one that dropped.

Cursor and VS Code

  • Cursor: open Cursor's settings, under MCP, and check darkgrade-studio is switched on. Switch it off and on to reconnect.
  • VS Code: the tools are offered in Copilot Chat's agent mode. Start the server from the mcp.json file's Start action if it is stopped.

The vision tools are missing

estimate_depth and segment_objects are served only while Developer Mode is ticked in the Darkgrade Studio menu. Reconnect your app after ticking it. See Developer Mode tools.

Without Studio: npx darkgrade mcp

darkgrade mcp is started by your AI app and holds the camera itself, so there is no address to check and nothing to turn on. Messages it cannot return as a tool result go to its standard error, which your app keeps in its MCP log, each starting darkgrade mcp:.

SymptomCause and fix
The server fails to start, or shows no toolsnpx needs Node.js 22.18 or newer on your PATH. Run npx darkgrade doctor in a terminal to check Node and the USB driver. In Claude Desktop, give npx by its full path, as under Claude Desktop.
Unknown command "mcp": darkgrade has no mcp commandnpx ran an older build of the CLI that it had already downloaded. Run npx -y darkgrade@latest mcp once in a terminal, or write darkgrade@latest in place of darkgrade in your app's entry. With a global install, run npm install -g darkgrade@latest.
No camera is attached over USB. Connect one, switch it on and set it for computer control.The server found no camera when a tool first needed one. Plug it in, switch it on and set its USB mode (Set up the camera), then ask again: the server looks again on the next call.
No camera … is attached over USB.The camera named by --camera VID:PID is not attached. npx darkgrade cameras lists the ids that are.
Several cameras are attached: …. Start the server with --camera VID:PID to choose one.Add --camera with one of the listed ids to the server's arguments in your app, then reconnect.
An access or busy error when the camera opensAnother program holds the camera. Quit Studio, the maker's own utility (EOS Utility, NX Tether) and any darkgrade camera command. On a Mac the server stops the system's camera service itself.
Claude has no adjust_exposure, analyze_frame, get_frame or undoThose are Studio's own tools. This server has the camera tools in the tool reference.
You can't find a photo or downloadThey are saved in Pictures/Darkgrade in your home folder, or the folder given with --output, and the tool's reply names the path. Nothing is overwritten: a second photo.jpg is saved as photo-1.jpg.
camera_run_benchmark failsThis server lists the tool but has no benchmark. To benchmark a camera, run npx darkgrade telemetry benchmark in a terminal.

A tool fails

Claude shows you the error's sentence. Match it here. … stands for the name of a setting or operation. An entry with two sentences lists both wordings of the same failure.

  • No camera is connected
    No camera is attached over USB

    Studio has no camera open, or darkgrade mcp found none. Plug the camera in over USB, switch it on, and wait for it to appear in Studio (without Studio, ask again).

  • … is not available on this camera in its current mode
    … isn't available on this camera right now

    The camera doesn't report that setting in its current mode. Ask “what can this camera do right now?” Often the fix is the photo / video switch or the exposure mode.

  • … is not writable in the current camera mode
    … can't be changed in the camera's current mode

    The camera is controlling the setting (shutter speed in aperture priority, for example). Change the exposure mode first.

  • Requested … value is not advertised by the camera
    … has no value "…". Choices: …

    The value isn't one the camera offers now. Ask Claude for the setting's choices and pick one.

  • The camera refused …

    The camera said no, and nothing changed. The rest of the sentence is the camera's reason.

  • … is not supported by this camera

    The camera can't do that operation. Ask what the camera can do.

  • Couldn't change exposure: …

    adjust_exposure found no setting it could move, and lists why for each. Switch to manual exposure, or name the setting to move.

  • Live view is off, so there is no picture to look at

    get_frame and analyze_frame read Studio's live view. Ask Claude to turn it on.

  • The camera is reading its card

    Studio is transferring files, and a change now would break the transfer. Try again when it finishes.

  • Nothing to undo

    No setting change is left for undo_last_change to put back.

  • … camera did not confirm …
    The camera acknowledged … but a later step failed

    The outcome is unknown: the command was sent once and the camera didn't confirm it. It is not sent again. Look at the camera or Studio before you retry.

Results and safety explains the kinds of failure.

Claude does the wrong thing

SymptomFix
Claude says it has no camera toolsThe server isn't connected in this conversation. Check your app's list of MCP servers (in Claude Desktop, Connectors in the menu beside the message box), then see The tools don't appear.
Claude keeps asking permissionThat is your app's setting for tools that change something. Allow the read-only tools permanently and keep prompts for the rest. See Which tools change the camera.
Claude sets a value the camera refusesAsk it to read the camera's choices first: “check what ISO values this camera offers, then set the closest to 640.”
Claude took a photo you didn't ask forSay so at the start: “don't shoot or record until I say.” Keep the permission prompt on for camera_take_photo and camera_start_recording.
Claude says a download worked but there is no fileThrough Studio, camera_download_media doesn't save the file. Download in Studio's window. Served by darkgrade mcp, the file is in Pictures/Darkgrade in your home folder.
“Record ten seconds” ran long or shortClaude has no stopwatch. Say “roll” and “cut” yourself.

The camera itself

If Studio doesn't show the camera, no AI app will see it either. Without Studio, npx darkgrade cameras lists what the computer sees. Check the cable, that the camera is on and awake, and that the camera is set up for USB control (Set up the camera). Only one program can hold a camera over USB at a time, so quit other tethering apps, and don't run the CLI, darkgrade mcp or your own server against the same camera while Studio has it.

Still stuck

Get help says where to ask and what to send.

⌘I