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.
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.
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.
- 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.
- 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.
Off until you turn it on
Change tools need JOULE_MCP_ALLOW_WRITE=1 and a key with the usecases:write scope.
Always name the pod
Every change names its pod, so nothing reaches all pods by accident.
Confirm before removal
undeploy_usecase refuses to run unless confirm matches the use case name.
Checked, never guessed
The server reads the state before and after a change and reports what really happened.
No blind retries
A change is never repeated, so a slow answer cannot deploy twice.
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
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
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
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
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
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.