Skip to content

Ogma MCP Server Setup ​

MCP lets external AI clients such as Codex, Claude Code, and Cursor use Ogma's tools and captured traffic.

For the in-app assistant, see Workspace AI.

Quick Start: Desktop App ​

  1. Open Settings > MCP.
  2. Choose the required permissions and save. Browser interaction requires Replay send.
  3. Click Start and copy the Endpoint.
  4. Add it to your AI client as a Streamable HTTP MCP server.

Connection Addresses ​

ConnectionAddressUse
MCP clienthttp://127.0.0.1:3000/mcp by defaultConnect external AI clients. Always copy the actual endpoint from Settings.

Use a local MCP client or a supported desktop connector.

When to Use MCP ​

Use MCP to help an external agent inspect captured traffic, review findings, modify Replay requests, create workflows, or interact with Ogma Browser. The permissions you enable determine which actions it can perform.

For browser snapshots, forms, login journeys, and recovery, see Browser automation with MCP. For every tool and its inputs, see MCP resources and tools.

Tool Discovery ​

Ogma exposes its full tool catalogue.

Ask the agent to use ogma_explain_capabilities to understand the workspace and ogma_find_tools to find tools for a task. It can inspect ogma://project/current to confirm the active project. A tool may be listed even when permission to use it is disabled.

In-App MCP Settings ​

Use Start and Stop in Settings > MCP to control the server.

Saving settings while MCP is running restarts it. Reconnect your client afterward. Runtime diagnostics shows startup errors.

Claude Code ​

With MCP running in Ogma:

bash
claude mcp add --transport http ogma http://127.0.0.1:3000/mcp

Replace the example endpoint with the one copied from Settings if different. Ask: "Which project is open in Ogma?"

Cursor ​

Add this entry to your project's .cursor/mcp.json or user-level ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "ogma": {
      "url": "http://127.0.0.1:3000/mcp"
    }
  }
}

Use your copied endpoint if different, then enable the connection in Cursor's MCP settings. Other MCP clients can use the same Streamable HTTP endpoint.

Permissions ​

All six privileged capabilities are disabled by default. Select the permissions you need in Settings > MCP, then save.

SettingAllows
Findings writeCreate and edit findings and evidence links, and modify shared project data such as environment variables, scope, and Match & Replace rules.
Export dataCreate export jobs.
Read secret valuesRead unmasked environment variables marked as secret.
Replay sendSend requests, control the browser, run Automate, use authentication journeys, test WebSockets, and switch projects.
Workflow runPreview, execute, and cancel workflows.
Intercept controlInspect and control the intercept queue, including modifying, forwarding, or dropping traffic.

Most inspection tools work without these permissions. A workflow that sends requests or creates findings also needs the corresponding sending or finding-write permission. Review workflows before letting an agent execute them.

Project switches and edits made by an agent affect your workspace. MCP session notes are separate from the application's saved Notes.

Example Prompts ​

  • "Show me the last 20 HTTP requests to example.com."
  • "Summarize the high and critical findings in this project."
  • "Review the selected Replay request before sending it."
  • "Create a workflow that saves JavaScript responses from this target."
  • "Use Ogma Browser to inspect this authorized test page."

Troubleshooting ​

ProblemWhat to check
Connection refusedCheck the server status and endpoint in Settings > MCP.
A tool is deniedEnable its required permission in Settings > MCP and save. Reconnect if the server restarted.
Tools are missingRefresh or reconnect the client. It must load every page of the tool catalogue, not only the first page.
Session or confirmation token is invalidReconnect after a restart and ask the agent to generate a new preview.
Browser is unavailableCheck Ogma Browser. See the browser automation guide for recovery.
Traffic results are emptyCapture traffic in the intended project first and check the active scope and filters.

Proprietary software. All rights reserved.