Connect Qodex over MCP
Qodex provides a remote Model Context Protocol (MCP) server. Connect it to a coding agent to inspect Qodex projects, look up saved test coverage, start saved test runs, and triage findings without leaving the agent. The MCP endpoint is:/mcp, for example https://qodex.example.com/mcp.
Connect with Claude Code
In a terminal, add the Qodex MCP server:whoami to confirm the connection, then list_projects to choose a project. If your Qodex account has one active project, project-scoped tools select it automatically. Otherwise, pass the projectId returned by list_projects to the tool you want to use.
Connect with Cursor
- Create or open Cursor’s MCP configuration file. Use
~/.cursor/mcp.jsonto make Qodex available in every workspace, or.cursor/mcp.jsonin a project for that project only. - Add the Qodex server, then save the file:
- In Cursor, open Customize and then MCP. Find Qodex and select Connect. Complete the Qodex sign-in in the browser when Cursor opens it.
- In Cursor Agent, ask:
Use the qodex whoami tool.A successful response confirms that the connection is ready.
/mcp.
Connect another coding agent
In an MCP-capable client, add a remote HTTP MCP server with the endpoint above. Use the client’s browser OAuth sign-in flow on its first Qodex tool call. This is a remote Qodex service; you do not need to run a local Qodex MCP process.Use a personal key for CI or headless automation
Use a personal key when the MCP client cannot open a browser, such as a CI runner.- In the relevant Qodex project, open Settings > MCP.
- Under Personal keys, enter a descriptive name such as
ci-regression. - Choose Read only or Full access, then select Create key.
- Copy the key immediately. Qodex displays it only once.
- Configure your MCP client to send the key as an
Authorization: Bearer <key>header to the same/mcpendpoint.
Available tools
Qodex does not return raw environment variables, bearer tokens, cookies, request bodies, response bodies, headers, or logs through MCP. Open the Qodex web app when you need to inspect protected evidence.
Recommended first prompt
Once connected, give your agent a bounded request such as:list_projects, list_findings, list_suites, run_suite, and get_run in that order.
Troubleshooting
Related
Run tests
Learn how saved scenarios and suites execute in Qodex.
Findings
Understand the findings that agents can inspect and triage.
Integrations
See every supported connection.