Connect an AI assistant (MCP)
Connect Claude, Cursor, VS Code, Codex or ChatGPT to Script Monitoring with one URL, sign in, and ask about your alerts, scripts and vendors.
The Script Monitoring MCP server lets your AI assistant read your Script Monitoring account. Ask Claude, Cursor or ChatGPT which alerts are waiting, what a new script does or which vendors on your payment pages still need a review, and it answers from your live data. Add one URL, sign in with your normal login, and you are done.
The MCP server is included in the Pro and Enterprise plans. On a Free team the assistant can still list your organizations and teams, and answers that the plan doesn't include MCP for everything else.
https://mcp.scriptmonitoring.com/mcp
No API key needed. You sign in through the browser, and you choose what the assistant may do.
How do I connect my assistant?#
Pick your assistant and copy the snippet.
Run this once in a terminal:
claude mcp add --transport http script-monitoring https://mcp.scriptmonitoring.com/mcp
Add --scope user to use it in every project, not only the current one.
Then start Claude Code, type /mcp, pick script-monitoring and sign in. Your browser opens on Script Monitoring.
Works in the Claude desktop app and on claude.ai.
- Open Customize > Connectors.
- Click + Add, then Add custom connector.
- Name it
Script Monitoringand paste the URLhttps://mcp.scriptmonitoring.com/mcp. - Click through the steps, then Add, and sign in when Claude asks.
On a Claude Team or Enterprise plan, an owner adds the connector first under Organization settings > Connectors. Members then click Connect.
Add this to ~/.cursor/mcp.json to use it everywhere, or to .cursor/mcp.json in one project:
{
"mcpServers": {
"script-monitoring": {
"url": "https://mcp.scriptmonitoring.com/mcp"
}
}
}
Open the MCP section of Cursor's settings and sign in to script-monitoring when Cursor asks.
Add this to .vscode/mcp.json in your project:
{
"servers": {
"script-monitoring": {
"type": "http",
"url": "https://mcp.scriptmonitoring.com/mcp"
}
}
}
Or run MCP: Add Server from the Command Palette, choose HTTP and paste the URL. VS Code asks you to sign in when the server starts.
codex mcp add script-monitoring --url https://mcp.scriptmonitoring.com/mcp
codex mcp login script-monitoring
Or add it to ~/.codex/config.toml:
[mcp_servers.script-monitoring]
url = "https://mcp.scriptmonitoring.com/mcp"
- In ChatGPT, add a custom MCP server. In current versions: Plugins, the + button, then Add custom MCP server.
- Name it
Script Monitoringand paste the URLhttps://mcp.scriptmonitoring.com/mcp. - Choose OAuth for authentication and sign in when ChatGPT asks.
Custom MCP servers need a ChatGPT Business, Enterprise or Edu plan, or Pro for reading only. ChatGPT renames these menus often: if you can't find them, search the ChatGPT help center for "custom MCP".
Any assistant that supports remote MCP servers with sign-in works: give it the URL https://mcp.scriptmonitoring.com/mcp.
If your app only runs local servers, connect through mcp-remote. It needs Node.js:
{
"mcpServers": {
"script-monitoring": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.scriptmonitoring.com/mcp"]
}
}
}
On a remote server, in a container or over SSH, sign in with a code instead of a browser window:
npx -y mcp-remote https://mcp.scriptmonitoring.com/mcp --device-code --static-oauth-client-info '{"client_id":"script-monitoring-cli"}'
It prints a code and a link to https://app.scriptmonitoring.com/mcp/device. Open the link on your laptop or phone, check that the code matches, and approve. You only do this once: the login is saved for the next runs.
To use it from an app, put the same npx command and arguments in the app's MCP settings, like in the Other tab.
Can my agent set it up for me?#
Yes. Paste this prompt into Claude Code, Codex, Cursor or another coding agent. It reads the MCP guide for AI agents and adds the server itself. You still sign in and approve.
Fetch https://docs.scriptmonitoring.com/ai/mcp/agents.md and follow it to connect to the Script Monitoring MCP server. Then list my Script Monitoring teams.
To add it to every coding agent on your machine at once, add-mcp detects them and writes their settings:
npx add-mcp https://mcp.scriptmonitoring.com/mcp --name script-monitoring -g
How do I sign in?#
- Your assistant opens
app.scriptmonitoring.comin your browser. Sign in as usual, with SSO and two-factor if you use them. - The approval page shows which app is asking, where the request came from, and your organizations.
- Under What it can do, keep Read only or choose Read and make changes.
- Click Approve. The browser sends you back to your assistant, and it is ready.
Only approve a request you started yourself. If the page warns that the request came from a different place than your browser, and you don't know why, deny it.
What can I ask it?#
Anything you would look up in the dashboard, in plain words. For example:
- "Is Script Monitoring installed and reporting on shop.example.com?"
- "Which alerts are pending right now? Group them by domain."
- "Explain the alert on
cdn.example-widget.com. Is it likely a real problem?" - "What new scripts showed up on our checkout pages this week?"
- "Which vendors on our payment pages still need a PCI DSS 6.4.3 & 11.6.1 review?"
- "Which outbound hostnames did our domains connect to today that we haven't approved?"
- "What changed in our Script Monitoring settings this week, and who changed it?"
The assistant first finds your organizations and teams, then answers. If you belong to several teams, name the one you mean. If you allow it, it can also act on alerts and vendors for you. See What you can ask for everything it can do.
Something isn't working?#
The browser doesn't open, or the sign-in never finishes
Copy the link your assistant prints into your browser by hand. On a machine with no browser, use the Headless tab above. If you see "This request was already handled" or "Request not found", the link expired: start again from your assistant.
It says I'm not a member of this team
The assistant only works in teams where you have a role, even if you are a Super admin. A Super admin can give you a role in Settings > Users, with Edit access on the team's row. Then ask again.
It can read but every change is refused
Changes need three things: a connection approved with Read and make changes, the Admin role on the team, and changes turned on for you or your organization by Script Monitoring support. See How do I turn on changes?
It says my plan doesn't include something
The assistant follows your plan, like the dashboard. For example, audit logs need an Enterprise plan, and CSP reports need a plan with CSP reporting. See Plans.
My assistant gets HTTP 429, too many requests
Each user can make about 2 requests per second, with short bursts of 5. Most assistants wait and retry on their own. If yours doesn't, ask again after a few seconds.
It worked before and now asks me to sign in again
A connection lasts 90 days. It also ends when you revoke it, sign out everywhere, change your password or remove a two-factor method. Sign in again to create a new one.
mcp-remote fails or behaves oddly
Make sure Node.js 18 or newer is installed. Clear the saved login with rm -rf ~/.mcp-auth and connect again.
Frequently asked questions#
Where does my data go?
What the assistant reads is sent to your AI provider, like anything you paste into a chat. Connect only assistants your company allows for this data.
Can the assistant change things in my account?
Only if you pick Read and make changes when you connect, and only after Script Monitoring support has turned changes on for you or your organization. Read only is the default. See Access and limits.
Which teams can it see?
Only the teams you have a role in. The assistant never uses Super admin rights, so a Super admin sees only the teams they were given, not every team.
How do I disconnect it?
Revoke the connection under Connected apps in Settings > Profile. It stops working at once. See Access and limits.