darkgrade

mcp
Security Audit
Pass
Health Pass
  • License — License: NOASSERTION
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 36 GitHub stars
Code Pass
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Control your Sony, Canon or Nikon camera from a desktop app, AI agents over MCP, a CLI, or TypeScript.

README.md

Darkgrade

Darkgrade is software that runs Sony, Canon and Nikon cameras from a computer: settings, focus, photos,
live view, video and the files on the card.
It works with
97 Sony, Canon and Nikon cameras
(30 Sony, 52 Canon, 15 Nikon) and comes as four products:

Product For What it is
Darkgrade Studio Creatives A Mac app: live view, every setting, photos, video and the card on one screen, by mouse, keyboard or voice.
Darkgrade MCP AI directors Camera tools for Claude, Cursor and any MCP app: ask in your own words and it sets the camera, focuses and shoots.
Darkgrade CLI Hackers The darkgrade command: every camera operation in one line, with --json for scripts and cron.
Darkgrade Slate Developers The TypeScript library, @darkgrade/slate, that the other three are built on.

Status: alpha. darkgrade.com · Docs ·
Is my camera supported? ·
Discord

Try it

Plug in a camera, switch it on, and run (Node.js 22.18 or later, macOS or Linux; nothing to install):

npx darkgrade doctor                     # is this computer and camera ready?
npx darkgrade camera set-iso 'ISO 800'   # prints the value the camera read back
npx darkgrade camera take-photo --destination computer --output photo.jpg

To let Claude Code run the camera, with no Studio and no code:

claude mcp add darkgrade -- npx -y darkgrade mcp

One click adds the same server to an editor: add to Cursor ·
add to VS Code.
Serve your camera to an AI app has each app's configuration.

The MCP tools can be served three ways: by Studio (Mac, no code), by that one command, or by
your own server written with Slate.

The four products

Studio: one tap & we’re rolling

A Mac app that sets your camera, takes orders by voice and, soon, hands you a first cut.

  • Your camera, set in one tap
  • Works with the Sony, Canon and Nikon cameras you already own
  • Voice control for your camera
  • Next: a first cut soon after you stop recording

Studio is in alpha and needs an Apple silicon Mac: ask for a build on
Discord, or run it from source.

MCP: Claude and Cursor direct the camera

Every camera operation is an MCP tool (camera_set_iso, camera_take_photo), so an AI app can set
exposure, focus, shoot and record by being asked. MCP quickstart.

CLI: the darkgrade command

The same operations as terminal commands (darkgrade camera set-iso 'ISO 800'), published on npm as
darkgrade. CLI quickstart.

Slate: your camera takes requests now

A library that lets your app, script or local model run your camera. Open source and free to use.

  • Control your camera from your own app
  • Sony, Canon and Nikon through one API
  • Local models drive it over MCP
  • Next: more camera brands

@darkgrade/slate is not on npm yet: until it is, build it from source.
Slate was previously called Link (@darkgrade/link).

import { Camera } from '@darkgrade/slate'

const camera = new Camera()
await camera.connect()
try {
    console.log(await camera.setIso('ISO 800')) // the value the camera read back
    const photo = await camera.takePhoto()
    console.log(photo.name)
} finally {
    await camera.disconnect()
}

Camera control, speech recognition and text models run on your machine by default.
See which cameras work
and the Slate docs.

Run locally

bun install
bun run studio

Needs an Apple silicon Mac.

Slate also owns the telemetry client and server.
The server is an explicit @darkgrade/slate/telemetry/server entry, with a separate
Postgres adapter; importing camera or browser APIs does not start it.

Reviews (0)

No results found