> For the complete documentation index, see [llms.txt](https://docs.screendesk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.screendesk.io/debug-with-ai/mcp.md). Agents can also search and read this documentation through its [MCP server](https://docs.screendesk.io/~gitbook/mcp).

# MCP

Let Claude Code, Codex, Cursor or VS Code read your recordings, logs and network requests.

Screendesk MCP lets your AI coding assistant read a recording or bug report: what the user did, console logs, network requests, browser details, transcript and screenshots. Paste a Screendesk link into Claude Code, Codex, Cursor or VS Code and ask it to find the bug.

{% embed url="<https://app.screendesk.io/recordings/d6b71f8f-0f2e-4604-9378-62b2990ac0a8>" %}

{% hint style="info" %}
Available on Pro and Enterprise. Each connection is tied to one workspace and sees only what you can see.
{% endhint %}

You'll also find these steps under your avatar → **MCP**, with a card per assistant.

### Connect

The endpoint is `https://app.screendesk.io/mcp`. Add it to your assistant, then sign in to your workspace in the browser when it asks.

<figure><img src="https://3820804400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfW6XSzJSKsNyZnOkSJPt%2Fuploads%2F46pSlznfVxeqQl27aLcs%2Fdocs-panel-mcp.png?alt=media" alt="Your avatar, MCP"><figcaption></figcaption></figure>

{% tabs %}
{% tab title="Claude Code" %}

```bash
claude mcp add --scope user --transport http screendesk https://app.screendesk.io/mcp
```

Start Claude Code, run `/mcp`, select **screendesk** and sign in.
{% endtab %}

{% tab title="Codex" %}
Add to `~/.codex/config.toml`:

```toml
[mcp_servers.screendesk]
url = "https://app.screendesk.io/mcp"
```

Then run `codex mcp login screendesk` and sign in.
{% endtab %}

{% tab title="Cursor" %}
In **Cursor Settings → Tools & Integrations**, add a custom MCP server:

```json
{
  "mcpServers": {
    "screendesk": { "url": "https://app.screendesk.io/mcp" }
  }
}
```

Sign in when Cursor asks.
{% endtab %}

{% tab title="VS Code" %}
Run **MCP: Add Server** from the command palette, choose **HTTP**, enter `https://app.screendesk.io/mcp` and name it `screendesk`. Sign in when asked.
{% endtab %}

{% tab title="Other clients" %}

```json
{
  "mcpServers": {
    "screendesk": {
      "type": "streamable-http",
      "url": "https://app.screendesk.io/mcp"
    }
  }
}
```

{% endtab %}
{% endtabs %}

### Use it

Paste a link and say what you want:

```
Inspect this Screendesk recording: https://app.screendesk.io/recordings/REPORT_ID
Find the likely root cause in this codebase. Separate what the evidence shows from guesses.
```

It can also find related reports, summarise recurring errors and compare reports. With **Read and write** access it can add a comment or update a report's title, description, folder, labels or assignees, but only after you confirm. It can't delete anything or change settings.

Passwords, cookies, tokens and similar values are removed from network data before your assistant sees them.

### Without a browser sign-in

For CI, scripts or clients that can't sign in with a browser, use a personal access token:

1. Under your avatar → **MCP**, go to **Personal access tokens** and click to create one.
2. Give **MCP** access: **Read-only**, or **Read and write**. Choose when it expires: 30 days, 90 days or 1 year.
3. Copy it. It's shown once.
4. Send it as a header:

```json
{
  "mcpServers": {
    "screendesk": {
      "type": "streamable-http",
      "url": "https://app.screendesk.io/mcp",
      "headers": { "Authorization": "Bearer YOUR_TOKEN" }
    }
  }
}
```

### Revoke access

Under your avatar → **MCP**, **Connected apps** lists the assistants you signed in with your browser, and **Personal access tokens** lists your tokens. Revoke either to cut it off straight away.

### Troubleshooting

<details>

<summary>The assistant doesn't show Screendesk tools</summary>

Check the endpoint is `https://app.screendesk.io/mcp`, restart the MCP server in your client, and sign in again.

</details>

<details>

<summary>A report returns not found</summary>

It's in another workspace, or in a folder you can't open.

</details>

<details>

<summary>Access is denied after signing in</summary>

Check you picked the right workspace and that it's on Pro or Enterprise. Watch-only members can't use MCP.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.screendesk.io/debug-with-ai/mcp.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
