Skip to main content

Connect Darkfield to Claude or ChatGPT

Darkfield's MCP server lets an AI assistant see the tools and models, price requests, check your balance, start a film from a script and propose recipes. Anything that costs credits waits for your yes.

The address

Server address, and your key as a Bearer token:

http://localhost:3000/api/mcp
Authorization: Bearer hk_live_…

1. Create a key

On your account page, create a key with Read and Make. Add Upload only if the assistant should send files.

API keys

2. Claude Code

Run this once in a terminal, with your key in place of the example:

claude mcp add --transport http hemera http://localhost:3000/api/mcp --header "Authorization: Bearer hk_live_YOUR_KEY"

Claude Desktop

Add this to Claude Desktop's configuration file (Settings, Developer, Edit config), then restart Claude:

{
  "mcpServers": {
    "hemera": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:3000/api/mcp",
        "--header",
        "Authorization:Bearer hk_live_YOUR_KEY"
      ]
    }
  }
}

Cursor and other MCP clients

Add a remote (Streamable HTTP) server with the address above and the header Authorization: Bearer followed by your key.

Claude on the web and ChatGPT

Their connector settings sign in with OAuth, which Darkfield does not offer yet. Until it does, use Claude Code, Claude Desktop, Cursor or another client that can send a header.

How approval works

  1. You ask the assistant for something, for example a 5-second video of your product.
  2. It prices it and gives you a Darkfield link with the price. Nothing is made or charged yet.
  3. You open the link, signed in, and press Approve. Only then does the work start and the credits get held.
  4. The assistant follows the result and shows it to you.

Things to ask

  • “What can Darkfield make, and what does a 10-second vertical video cost?”
  • “Make three square pictures of a green glass bottle on stone, and show me the price first.”
  • “Here is my script. Start a film from it.”

Stay in control

The assistant only has what the key allows. Give a key a daily credit ceiling if you like, and revoke it on your account page at any time.