New · Joule MCP

Let your AI agent see inside Joule

Joule MCP connects Claude, Cursor, VS Code and any other MCP client to your Joule installation. Ask about pods, use cases, streams and live events in plain English. Read-only by default.

AI agent — joule MCP
you › Is anything wrong with my Joule use cases?
⚙ joule.list_usecases pod=local_pod
⚙ joule.usecase_events name=fraud_check
agent › 3 use cases are RUNNING. fraud_check emits events,
but market_feed is SUSPENDED. Resume it?
8
read tools
0
ports opened

One small bridge between agent and platform

Your AI client starts joule-mcp on your machine. It talks to Guardian with your API key, so every call follows the access rules you already set.

AI client
Claude, Cursor, VS Code
stdio
joule-mcp
Local program, no open port
HTTP · X-API-Key
Joule Guardian
Pods, use cases, streams

Ask in plain English

Ask "which use cases are running?" or "are events flowing in fraud_check?" and your agent calls Joule for the answer.

Read-only by default

Out of the box the server can only look. The tools that change a running system stay off until you turn them on.

Your key, your limits

The server uses a Guardian API key. A viewer key reads, an operator key can also change. Guardian stays in charge.

Works with your client

Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Codex CLI, Gemini CLI and any other MCP client.

Runs on your machine

A small local program. It opens no network port and talks to Guardian over its REST API, with HTTPS for remote hosts.

What your agent can do

Eight read tools are always on. Four change tools are opt-in.

Read tools always on
whoami
Show the owner, scopes and end date of your key. Never shows the key.
list_pods
List the pods and their members.
list_usecases
List the use cases and their status.
describe_usecase
Show the specification and live status of a use case.
usecase_status
Show the live counters of a use case.
usecase_events
Show the latest events a use case emitted.
list_transports
List the sources and sinks.
list_streams
List the streams.
Change tools opt-in
deploy_usecase
Deploy a use case from a specification.
pause_usecase
Pause a running use case.
resume_usecase
Resume a paused use case.
undeploy_usecase
Remove a use case. Needs an explicit confirm.

Turn them on with JOULE_MCP_ALLOW_WRITE=1 and give the key the usecases:write scope. Use them only for a person who must make changes.

Safe enough to hand to an agent

An agent can call any tool it can see. Joule MCP limits what it can see and what it can break.

01

Off until you turn it on

Change tools need JOULE_MCP_ALLOW_WRITE=1 and a key with the usecases:write scope.

02

Always name the pod

Every change names its pod, so nothing reaches all pods by accident.

03

Confirm before removal

undeploy_usecase refuses to run unless confirm matches the use case name.

04

Checked, never guessed

The server reads the state before and after a change and reports what really happened.

05

No blind retries

A change is never repeated, so a slow answer cannot deploy twice.

06

Key never shown

whoami and every error hide the key. Keep it in a private file.

Connect in four steps

You need a running Joule Guardian that your computer can reach.

  1. 1

    Install the server

    You need Python 3.10 or newer, or uv. pipx keeps the program in its own environment.

    pipx install joule-mcp which joule-mcp
  2. 2

    Save a Guardian API key

    Make a key in Joule Studio or with joulectl. A viewer key is enough to read. Keep the key in a private file.

    mkdir -p ~/.joule printf '%s' 'PASTE_THE_KEY_HERE' > ~/.joule/mcp-api-key chmod 600 ~/.joule/mcp-api-key
  3. 3

    Connect your AI client

    For Claude Code, one command is enough. Other clients use the same command and environment in their settings file.

    claude mcp add --scope user joule \ -e JOULE_API_KEY_FILE=$HOME/.joule/mcp-api-key \ -- joule-mcp
  4. 4

    Ask a question

    Start a new chat. If the first answer comes back, the key, Guardian and the client are connected.

    Run the Joule whoami tool. List the Joule use cases and their status.

Works with

Claude Desktop Claude Code Cursor VS Code Windsurf Codex CLI Gemini CLI

Give your agent the keys to Joule.

Install Joule MCP, connect your client and start asking. Keep it read-only until you are ready for more.