--- title: "Troubleshooting the camera MCP server" description: "Fix an AI app that can't connect to Darkgrade's camera MCP server (Studio or npx darkgrade mcp), missing tools, and camera tools that fail or refuse a value." url: https://darkgrade.com/docs/ai/troubleshooting last_updated: 2026-12-04 docs_index: https://darkgrade.com/docs/llms.txt --- # Troubleshooting the camera MCP server > Fix an AI app that can't connect to Darkgrade's camera MCP server (Studio or npx darkgrade mcp), missing tools, and camera tools that fail or refuse a value. > ## Documentation Index > Fetch the complete documentation index at: https://darkgrade.com/docs/llms.txt > Use this file to discover all available pages before exploring further. 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](#without-studio-npx-darkgrade-mcp). ## Check the server first Two checks tell you which side the problem is on. #### 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. Ask the address In a terminal: ```bash 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 | Symptom | Cause and fix | | - | - | | Connection refused, or the server shows as failed | Studio 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 use** | Another program, or a second copy of Studio, has the port. Quit it, then switch the setting off and on. | | It worked, then stopped | Studio 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 fails | Studio listens on this Mac only. Run the AI app on the same Mac, or [serve the tools yourself](https://darkgrade.com/docs/ai/server.md) on the machine that has the camera. | | You have no Studio, or no Mac | Studio is not required. [`npx darkgrade mcp`](https://darkgrade.com/docs/ai.md#without-studio-one-command) serves the camera tools from one command, on macOS or Linux. | | 403 Forbidden | The 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 Found | The address is missing `/mcp`. | The address is exactly: ```text 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](https://nodejs.org). If Claude reports that it can't find `npx`, give the full path, which `which npx` prints in a terminal: ```json { "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](https://darkgrade.com/docs/ai/studio-tools.md#developer-mode-tools). ## Without Studio: npx darkgrade mcp [`darkgrade mcp`](https://darkgrade.com/docs/cli/mcp.md) 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:`. | Symptom | Cause and fix | | - | - | | The server fails to start, or shows no tools | `npx` needs [Node.js](https://nodejs.org) 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](#the-tools-dont-appear). | | `Unknown command "mcp"`: `darkgrade` has no `mcp` command | `npx` 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](https://darkgrade.com/docs/slate/getting_started/camera-compatibility.md#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 opens | Another 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 undo | Those are [Studio's own tools](https://darkgrade.com/docs/ai/studio-tools.md). This server has the camera tools in the [tool reference](https://darkgrade.com/docs/ai/tools.md). | | You can't find a photo or download | They 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` fails | This server lists the tool but has no benchmark. To benchmark a camera, run [`npx darkgrade telemetry benchmark`](https://darkgrade.com/docs/cli/telemetry.md#benchmark-your-camera) 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](https://darkgrade.com/docs/functionality/exposure.md#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](https://darkgrade.com/docs/functionality/connection.md#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`](https://darkgrade.com/docs/ai/studio-tools.md#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](https://darkgrade.com/docs/ai/results.md#when-a-tool-fails) explains the kinds of failure. ## Claude does the wrong thing | Symptom | Fix | | - | - | | Claude says it has no camera tools | The 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](#the-tools-dont-appear). | | Claude keeps asking permission | That 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](https://darkgrade.com/docs/ai/results.md#which-tools-change-the-camera). | | Claude sets a value the camera refuses | Ask 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 for | Say 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 file | Through Studio, `camera_download_media` doesn't save the file. [Download in Studio's window](https://darkgrade.com/docs/studio/card.md#download-files). Served by `darkgrade mcp`, the file is in `Pictures/Darkgrade` in your home folder. | | “Record ten seconds” ran long or short | Claude 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](https://darkgrade.com/docs/slate/getting_started/camera-compatibility.md#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](https://darkgrade.com/docs/cli.md), `darkgrade mcp` or your own server against the same camera while Studio has it. ## Still stuck [Get help](https://darkgrade.com/docs/overview/help.md#what-to-include) says where to ask and what to send.