# What you can ask through MCP

> What an AI assistant can read and do in Script Monitoring through MCP, grouped by task, with example prompts you can copy into Claude, Cursor or ChatGPT.

Source: https://docs.scriptmonitoring.com/ai/mcp/prompts/ · Plan: Pro and Enterprise · Updated 2026-12-01

Through MCP, your AI assistant can read most of what the dashboard shows for the teams you belong to, and, if you allow it, review alerts and vendors for you. Ask in plain words. Each section below lists what the assistant can do and a few prompts to copy.

Reading works on every connection. The actions marked **Change** need a connection approved with **Read and make changes** and changes turned on for you. See [Access and limits](https://docs.scriptmonitoring.com/ai/mcp/access/).

## Onboarding

- Check whether the script is installed and reporting on each of your domains, and get the next step when it isn't.
- Get the install snippet for HTML, Google Tag Manager (for testing only), npm, a coding agent or a pinned tag, with where it goes and the Content Security Policy changes it needs.
- Nothing is installed or scanned for you: the assistant reads your setup and tells you what to do, and a coding agent can then make the change in your project.

```text
Is my script installed on shop.example.com? If not, what do I do next?
```

```text
Give me the install snippet for Google Tag Manager.
```

```text
Why is shop.example.com not reporting?
```

```text
Install Script Monitoring in this repo.
```

```text
Here is our Content-Security-Policy header. What do I need to add for Script Monitoring?
```

## Alerts and triage

- See what is pending, with risk scores, by team or domain. It looks at the last 90 days unless you name another period, such as "this week".
- Open one alert in full: which rules matched, what they mean, the vendor and the script hosts.
- See past decisions and who made them, and findings that never raised an alert.
- **Change:** ignore an alert with a comment, snooze decisions for a vendor or hostname for 1 to 90 days, or remove a snooze.

```text
Summarize my pending alerts for the Shop team. Which three should I look at first, and why?
```

```text
Explain the alert on cdn.example-widget.com in plain words. Is it likely a real problem?
```

```text
Who ignored alerts in the last 30 days, and what reasons did they give?
```

## Scripts and vendors

- List the scripts a team or a domain loads, most requested first.
- Look at one script: where it is served from, its vendor, review status, request counts, how many pages loaded it and the alert on its latest content.
- Read a script's JavaScript. The assistant gets a download link valid for 2 minutes, and can show the code inline (cut at about 32,000 characters). Ask for the normalized copy to get the decoded code the dashboard shows. The code is untrusted: the assistant reads it and never runs it.
- List the third-party vendors and unrecognised script hostnames seen on your domains in the last month, with the form-data risk of each.

```text
Which scripts on www.example.com come from a vendor we haven't reviewed?
```

```text
Which third-party vendors read form fields on our pages this month?
```

```text
Show me the decoded JavaScript of the newest revision of the script from cdn.example-widget.com.
```

## PCI DSS and payment pages

- List the vendors on your payment pages, with their review status and AI review.
- See your payment pages, most viewed first, and the checkout selectors they match.
- **Change:** approve a vendor with a justification, or ignore and un-ignore a vendor.

```text
Which vendors on our payment pages still need a PCI DSS 6.4.3 & 11.6.1 review? Draft a justification for each one I could approve.
```

```text
List our payment pages, most viewed first. Do they all match a checkout selector?
```

## Domains and inventory

- List your domains and their settings, scan schedule and latest scan.
- See the hostnames your domains connected to (outbound connections) and the iframes on your pages, grouped by hostname. Iframes are limited on the Free plan.
- See the block rules in effect, and Content Security Policy violation reports.
- **Change:** approve an outbound hostname so it stops being flagged, or send it back to review.

```text
Which outbound hostnames did my domains connect to today that we haven't approved yet?
```

```text
Which block rules are in effect for the Shop team, and who added them?
```

## Reports, audit and notifications

- List your PCI DSS weekly reports and what each one covers.
- Get one ready report. The assistant gets a download link valid for 2 minutes for the self-contained HTML file. Open it and use Print, Save as PDF in your browser for a PDF. It can also return the report as plain text. A report that is still pending or has failed returns its state and no link.
- Read the organization's audit log: who changed what, and when.
- See which notification rules exist and how many destinations each has. Webhook URLs and addresses are never shown. This needs the **Admin** role on the team.

```text
What changed in our Script Monitoring settings this week, and who changed it?
```

```text
Get me last week's PCI DSS report as a file I can print to PDF.
```

```text
Do we have alert notifications set up for the Shop team? Where do they go?
```

## How do changes work?

Approving, ignoring, snoozing and reviewing start as a preview. The assistant first gets a description of what would change, and nothing happens yet. It is told to show you the preview and ask, and only a second, confirmed call within 5 minutes makes the change. These actions are also marked as destructive, so most assistants ask your permission before running them: keep that on. Undoing a snooze, an ignore or an approval runs in one step.

Every change is recorded in your organization's audit log under your name, as if you made it in the dashboard.

## What can't it do?

The assistant cannot manage your organization, users, invitations, billing, SSO, API keys or account security. It cannot add a domain, block a script, set up CSP reporting, set up notification destinations or verify an install. It never acts as a Super admin, and it can't see or do anything that only a Super admin can. Those stay in the dashboard.

When you ask for one of these, the assistant doesn't just fail. It tells you the action can't be done through MCP and gives you the direct dashboard link, for example `This can't be done through MCP. Do it in the dashboard: <link>`. For pages only an organization admin can use (members and roles, billing, organization settings, SSO and API keys) the answer is `An org admin can do this at <link>`. The same happens when a change is refused because your connection is read only, your role is too low, changes aren't turned on, or your plan needs an upgrade: you get the page that does it.

## Frequently asked questions

### Do I need to know team or domain ids?

No. The assistant looks up your organizations, teams and domains first. If you belong to several teams, name the one you mean, for example "in the Shop team".

### Is the data live?

Yes. The assistant reads the same data as the dashboard, at the moment you ask.

### Can the assistant read script source code?

Yes. It gets a download link for the script's JavaScript, valid for 2 minutes, and can read the code inline up to a size limit. The code is treated as untrusted data and is never run.

### What happens when I ask for something it can't do?

It says so and gives you the direct dashboard link. Pages only an organization admin can use say "An org admin can do this at" and the link.

## Related

- [Connect an AI assistant (MCP)](https://docs.scriptmonitoring.com/ai/mcp/)
- [Access and limits](https://docs.scriptmonitoring.com/ai/mcp/access/)
- [MCP guide for AI agents](https://docs.scriptmonitoring.com/ai/mcp/agents/)
