Connect Claude Code or Codex
MCP is a small local connection between an assistant and Petri. Once it is enabled, Claude Code or Codex can ask Petri for market and oracle information instead of making you copy commands and results into chat.
You do not need to understand MCP, edit a settings file, or run a server command to use it.
Turn It On
Section titled “Turn It On”- Open Petri.
- From Home, open Connect Claude/Codex.
- Select Enable Petri MCP.
- Restart or reload Claude Code or Codex if it is already open.
That is the whole setup. Your choice stays enabled after Petri closes, after the computer restarts, and when you open a different project.
Petri does not install a program that runs all day in the background. Claude Code or Codex starts the local Petri connection when the assistant opens and stops it when the assistant closes.
This setup is for Claude Code and local Codex clients. It does not add Petri to a web-only chat.
What You Can Ask
Section titled “What You Can Ask”Try requests such as:
- “Show me the current RAMX market status.”
- “Which monthly contracts can I trade?”
- “Explain why this oracle print moved.”
- “Show my public wallet balances and recent Petri history.”
- “Prepare this fixed-risk trade for me to review.”
The connection can inspect markets, contracts, oracle evidence, balances, history, and drafts. It can prepare unsigned work for your review.
What It Cannot Do By Default
Section titled “What It Cannot Do By Default”The Petri MCP connection cannot sign or submit value-moving transactions. It does not put a private key, seed phrase, or wallet file into Claude Code or Codex settings.
Keep those secrets private. Never paste a seed phrase, private key, keypair file, or private API key into a chat.
Turn It Off
Section titled “Turn It Off”Return to Home > Connect Claude/Codex and select Disable Petri MCP. Restart or reload an assistant that is already open. Petri removes or disables only its own connection and leaves your other assistant settings alone.
If the page says Needs repair, follow the button shown there. Petri may ask you to disable the old connection and enable it again. Then restart or reload the assistant.

