RiskRover MCP

v0.9.0
io.github.Be-Sure-Consulting/riskrover-mcp Checked 2 days ago Published 2 months ago

Draft risk-based test plans and assess automated test coverage against product risks with RiskRover.

Draft and refine risk-based test plans in RiskRover and assess automated test coverage against product risks using your AI agent. RiskRover MCP is a local server for MCP clients that can launch a process over stdio. Portable access requires Node.js 20 or newer, a client that supports local stdio MCP servers, a verified email, an active Builder or Pro subscription, and access to the project. For a new setup, create a personal MCP operations only token under Manage workspace > Configuration > API TOKENS. Existing supported Pro API tokens continue to work.

Summary extracted from the README.

RiskRover MCP Server

Draft and refine risk-based test plans in RiskRover and assess automated test coverage against product risks using your AI agent. RiskRover MCP is a local server for MCP clients that can launch a process over stdio.

  • Draft and refine the Product Breakdown Structure (PBS), Product Risk Analysis (PRA), Test Strategy, Effort Estimation and Budget planning inputs.

  • Assess automated test coverage against product risks using the code and test evidence available to your AI client. Distinguish defined coverage from available execution evidence.

  • Review proposed changes, then approve saving them to RiskRover using a connection with write access.

Portable access requires Node.js 20 or newer, a client that supports local stdio MCP servers, a verified email, an active Builder or Pro subscription, and access to the project. For a new setup, create a personal MCP operations only token under Manage workspace > Configuration > API TOKENS. Existing supported Pro API tokens continue to work. Builder provides the same MCP planning capabilities within the Free plan’s limits; execution, exports, collaboration and general API access require Pro.

Planning steps supported

RiskRover step What your AI agent can help you do
1. Project information Read project context. Create or edit the project in the app.
2. Project settings Read configured test levels. Configure settings in the app.
3. Product Breakdown Structure Draft, validate and import a reviewed System > Feature > Component PBS; assign or remove Component quality attributes.
4. Product Risk Analysis Set likelihood and impact. RiskRover calculates risk scores and classes.
5. Test Strategy Set testing intensity and strategy text; select or remove project test techniques.
6. Effort Estimation Set baseline hours, size and complexity. RiskRover calculates effort.
7. Budget Create or update project roles and hourly rates; set activity and role allocations.
8. Test-plan review Review the saved planning data in the app. The MCP has no finalisation or export tool.

Set up your project in RiskRover first, then work with your AI agent through steps 3–7. Read-only access supports drafting; saving reviewed changes requires write access and your explicit approval. The MCP cannot change the overall project budget amount or currency, or delete or reorder roles.

What installation does

npm install riskrover-mcp-server downloads an executable into a Node.js project. It does not add the server to an AI client by itself. An MCP host must still start the executable over stdio and supply RISKROVER_API_TOKEN.

Most users should skip a separate install and configure their client to run:

npx -y riskrover-mcp-server@latest

This downloads and starts the current package when the MCP host needs it. Requirements are Node.js 20 or newer, an MCP-capable client, and a personal RiskRover API token.

Generic MCP configuration

Clients that use the common mcpServers format can start with:

{
  "mcpServers": {
    "riskrover": {
      "command": "npx",
      "args": ["-y", "riskrover-mcp-server@latest"],
      "env": {
        "RISKROVER_API_TOKEN": "PASTE_YOUR_PERSONAL_RISKROVER_API_TOKEN_HERE",
        "RISKROVER_PROJECT_ID": "12345"
      }
    }
  }
}

Keep literal tokens only in a private user configuration that is not committed. If the client supports secret storage or environment expansion, use that instead. RISKROVER_PROJECT_ID is optional; users can name a project ID in each request.

On native Windows, a client that cannot launch npx directly may need:

{
  "command": "cmd",
  "args": ["/c", "npx", "-y", "riskrover-mcp-server@latest"]
}

VS Code and GitHub Copilot

The RiskRover MCP for VS Code extension is the recommended VS Code route. It bundles the local server without requiring a separate Node.js installation. Run RiskRover MCP: Sign In, choose Copilot or Codex, and select a project and access level in your browser. Use RiskRover MCP: Test IDE Connection to check access. Manual-token setup remains available; for Copilot, it stores the token in VS Code SecretStorage.

For an npm-based VS Code setup, put this in the user MCP configuration opened by MCP: Open User Configuration, or in .vscode/mcp.json if the team deliberately shares the non-secret server definition:

{
  "servers": {
    "riskrover": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "riskrover-mcp-server@latest"],
      "env": {
        "RISKROVER_API_TOKEN": "${env:RISKROVER_API_TOKEN}",
        "RISKROVER_PROJECT_ID": "12345"
      }
    }
  }
}

Set the environment variable before starting VS Code. Run MCP: List Servers to start, restart, or inspect RiskRover, then open a fresh Copilot Chat in Agent mode. MCP: Browse MCP Servers is the gallery, not the runtime list.

Copilot Business and Enterprise administrators must allow MCP servers in GitHub policy. Each user still supplies their own RiskRover token; a shared billing relationship does not share API credentials.

OpenAI Codex

For Codex in VS Code, the RiskRover extension offers browser sign-in and project selection through a local bridge; keep VS Code open while using it. For a portable local setup, configure the npm server in your private ~/.codex/config.toml:

[mcp_servers.riskrover]
command = "npx"
args = ["-y", "riskrover-mcp-server@latest"]
startup_timeout_sec = 60

[mcp_servers.riskrover.env]
RISKROVER_API_TOKEN = "PASTE_YOUR_PERSONAL_RISKROVER_API_TOKEN_HERE"
RISKROVER_PROJECT_ID = "12345"

Keep that user file private, restart Codex, start a new chat, and check its MCP server list. Use one RiskRover registration per host. A manually stored token in VS Code SecretStorage is not automatically shared with the portable npm setup.

Claude, Cursor, and other clients

  • Claude Code: configure the local stdio server in private user configuration. If you use a project .mcp.json, keep it free of literal tokens and supply credentials through a supported private mechanism. Check /mcp or claude mcp list.

  • Claude Desktop: add it to the private claude_desktop_config.json, fully quit, and reopen the application.

  • Cursor: use the private global MCP configuration, or a project .cursor/mcp.json that contains no literal token.

  • Other clients: configure a local stdio command, the two npx arguments, and the required token environment variable. Configuration formats and workspace access differ by client; these instructions do not imply every host has been tested with RiskRover. This package does not provide a hosted HTTP or SSE MCP endpoint.

Environment expansion syntax differs between clients. Never commit a literal token merely to make an example work.

Authentication and connection test

For a new portable setup, create an MCP operations only personal token under Manage workspace > Configuration > API TOKENS. Existing supported Pro tokens remain valid. Read-only scope supports assessment and drafting across the supported planning steps. Saving a reviewed PBS, Component quality assignments or planning changes requires read-and-write scope and explicit approval.

The executable supports --check-connection. With RISKROVER_API_TOKEN already supplied privately in the process environment, run the configured executable with that flag to receive a small JSON result. When RISKROVER_PROJECT_ID is set, it checks both authentication and project access.

  • HTTP 401: invalid, expired, or revoked token.

  • HTTP 403: valid token, but insufficient scope or project membership.

  • HTTP 404: check the project ID and that user's access.

Token-like data is redacted from diagnostics. A normal server shown as running proves MCP initialization, not necessarily API authentication; --check-connection or a RiskRover data request proves authentication.

Use it in normal language

Draft and refine a test plan:

Use RiskRover MCP to help me draft a risk-based test plan for project 12345.
Read the project context and test levels, then work through the PBS and
quality assignments, product risk analysis, test strategy, effort estimation,
and budget roles, rates and allocations. Work one step at a time, ask for
missing business inputs, and show each proposal for review. Do not submit
changes until I explicitly approve them.

Draft a product breakdown:

Use RiskRover MCP to draft a complete business-readable PBS for RiskRover
project 12345. Present it for review and do not import it yet.

Refine the test strategy:

Use RiskRover MCP to review the current Test Strategy values for project 12345.
Draft proposed intensity, strategy-text, and technique-selection changes, show
me the complete proposal, and do not submit it until I explicitly approve it.

Draft Component quality assignments:

Use RiskRover MCP to review the current PBS quality assignments for project
12345. Add Security to all Components under Commerce > Checkout while
preserving their other qualities. Show every exact addition and removal, and do
not submit anything until I explicitly approve it.

Assess automated test coverage:

Use RiskRover MCP to assess automated test coverage in the workspace folders
I have made available against the product risks in project 12345. Keep it
read-only, identify coverage gaps, distinguish defined tests from available
execution evidence, and state which folders you inspected and any limitations.

RiskRover MCP supplies project and risk context; your AI client inspects the evidence it is permitted to access. The MCP server itself does not read repository files or run tests.

The quality-assignment workflow resolves requested groups against explicit System > Feature > Component paths and submits complete desired quality sets only for the selected Components. Adding a quality creates a new blank PRA/strategy/estimation row. Removing one permanently deletes that row, its stored values, and dependent work-item links; re-adding it later creates a new blank row.

Budget planning covers project-role creation and updates, hourly rates, and activity and role allocation percentages. Overall project budget amount and currency, role deletion or reordering, and workspace technique-catalog changes remain in the app.

For large projects, the agent reads planning data in manageable sections. Before saving reviewed changes, RiskRover rechecks the selected rows or Components and returns the outcome.

Saving planning changes updates live RiskRover values. Review the complete proposal, explicitly approve it, and verify the saved result in the app. Read-only connections can assess and draft without saving.

Users do not need to call an API or name internal tools.

Workspace scope

RiskRover project access depends on your token, permissions and the requested project, not the open repository. A full product repository, standalone application, automation repository, or test-only repository is valid scope.

The server itself cannot read files or run commands. The AI host inspects only the workspace folders it has been given. Add another folder explicitly when relevant code lives elsewhere; the assessment should identify omitted roots as a limitation rather than assuming the project is inaccessible.

Environment variables

  • RISKROVER_API_TOKEN: required personal API token.

  • RISKROVER_PROJECT_ID: optional positive default project ID.

  • RISKROVER_BASE_URL: optional; defaults to https://app.riskrover.io.

  • RISKROVER_ALLOW_INSECURE_LOCALHOST: development only; permits an explicit localhost HTTP URL.

The server uses stdout only for MCP protocol messages and writes diagnostics to stderr.

Support: contact@riskrover.io