> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cysmiq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect an MCP client

> Connect an AI assistant to Cysmiq Cloud for read-only security queries across authorized workspaces.

The Cysmiq Model Context Protocol (MCP) integration lets an AI assistant query findings, repository health, scan status, and security overviews. All available tools are read-only.

MCP is available in Cysmiq Cloud. Stable 1.14.10 does not include this integration.

> [!NOTE]
>
> Availability depends on your Cysmiq plan.

## Prerequisites

* An active Cysmiq account with access to a workspace whose plan includes MCP.
* An MCP client that supports remote HTTP servers, OAuth 2.0 Authorization Code with PKCE, and dynamic client registration.

## Connect to Cysmiq

1. Add a remote MCP connection in your client. Use this server URL:

   ```text Cysmiq Cloud MCP endpoint theme={null}
   https://app.cysmiq.com/mcp
   ```

2. Start the client's OAuth authorization flow and sign in to Cysmiq.

3. Select the workspaces you want this connection to access, approve the connection, and return to your client.

4. Ask the assistant to list your Cysmiq workspaces, then query one of the returned workspaces.

The MCP connection uses OAuth. [API keys](https://docs.cysmiq.com/security-access/api-keys.md) authenticate REST API requests through a separate connection.

## Workspace access and permissions

Each connection is limited to the workspaces you select during authorization. Joining another workspace leaves the existing connection's selection unchanged. Reconnect and select that workspace to include it.

Cysmiq checks current workspace membership, active account status, MCP availability, and your existing repository and finding permissions on every request. Removing access takes effect for subsequent queries.

When querying multiple workspaces, use the workspace slug or ID returned by the tools to identify the workspace for finding details, repository status, or scan status.

## Available tools

| Tool | Use it to |
| - | - |
| `list-workspaces` | List the names and slugs of your authorized workspaces. |
| `get-security-overview` | Review aggregate finding risk, scan health, and priority findings across selected workspaces. |
| `search-findings` | Find up to 25 findings using workspace, asset, severity, type, status, assignee, and title filters. |
| `get-finding` | Read one finding's analysis, remediation, primary location, and evidence counts. |
| `get-finding-evidence` | Inspect up to 10 locations and 5 call paths for a finding. |
| `get-repository-status` | Check a repository's configuration, latest scan, aggregate risk, and priority findings. |
| `get-scan-status` | Check the latest scan for a repository, branch or ref, or commit SHA. |
| `search-assets` | Find up to 20 matching repositories, applications, or organizations. |

MCP responses include evidence references. Inspect the referenced files in your repository for source code context. Source snippets and raw secret values stay outside MCP responses.

## Ask focused questions

Start with an overview, then narrow the workspace, repository, or finding. For example:

* "What needs attention in my Cysmiq workspaces?"
* "Show critical open findings for this repository."
* "Explain this finding and its remediation."
* "What is the latest scan status for this branch?"

Broad queries support up to 10 workspaces per request. If you authorized more than 10, list the workspaces first and choose a subset. When a result reports `truncated`, narrow your filters to retrieve the relevant results.

## Troubleshoot a connection

| Symptom | What to check |
| - | - |
| A workspace is missing | Confirm that you selected it during authorization, remain a member, and have MCP access through its plan. Reconnect to change the selection. |
| A repository or finding is missing | Check your access to the same data in Cysmiq and confirm the query's workspace and filters. |
| Authorization or client registration fails | Confirm that the client supports the required OAuth flow. Contact support if registration is rejected. |
| A query asks for a workspace | Use `list-workspaces`, then provide a workspace slug or ID with the query. |

## Related docs

* [Integrations](https://docs.cysmiq.com/concepts/integrations.md)
* [Vulnerability detail view](https://docs.cysmiq.com/vulnerability-management/vulnerability-detail-view.md)
* [Scans](https://docs.cysmiq.com/concepts/scans.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.