# MCP for AI agents

> Model Context Protocol: scopes, tools and connecting ChatGPT, Claude or Cursor.

Source: https://docs.infaris.com/en/pulseguard/mcp

Guard exposes a **Model Context Protocol (MCP)** server so AI assistants (ChatGPT, Claude, Cursor, Mistral Le Chat, etc.) can read your monitoring data and — with the right permissions — make changes.

Server URL:

```
https://api.ipulse.one/mcp
```

In the app: **Settings → Integrations → MCP**. Broader API context: [API & Integrations](/en/pulseguard/api-and-integrations).

## Scopes (permissions)

MCP uses two scopes:

| Scope | The agent may |
| --- | --- |
| **`read`** | **List** tools and resources (`tools/list`, `resources/list`, view prompts) |
| **`write`** | **Call** tools that change data (`tools/call` for mutating actions) |

- **OAuth (recommended)** — approval grants `read` + `write` by default.
- **Access token** — tokens from the app default to both scopes; revoke tokens you no longer trust.

The agent only sees **your workspace** (personal or organisations you belong to). No cross-tenant data.

## Connect

### OAuth (recommended)

1. Add a custom MCP server / connector in your AI tool.
2. URL: `https://api.ipulse.one/mcp`
3. Sign in to Guard and approve the requested permissions.

### Access token

1. **Settings → Integrations → MCP → New token**
2. Give it a name (e.g. "Cursor production").
3. Copy the token — **shown once**.
4. Configure your client with `Authorization: Bearer <token>`.

## Built-in prompts

Besides individual tools, the server ships ready-made **prompts**:

| Prompt | Purpose |
| --- | --- |
| `incident_triage` | Prioritise open incidents and suggest next steps |
| `uptime_review` | Analyse uptime and response-time trends (24h / 7d / 30d) |
| `security_posture_review` | Summarise SSL/security findings with hardening tasks |

## Tools (overview)

The tools below are available via `tools/list`. Tools marked ✏️ change data and require the **`write`** scope when invoked.

### Organisation & dashboard

| Tool | Description |
| --- | --- |
| `get_user_organizations` | Organisations and resource counts |
| `get_dashboard_stats` | Dashboard stats (uptime, incidents, etc.) |
| `get_organization_info` | Organisation metadata |
| `list_organization_members` | Members of an organisation |

### Domains & performance

| Tool | Description |
| --- | --- |
| `list_domains` | All domains (use IDs for follow-up tools) |
| `get_domains_status` | Status, uptime and response times |
| `get_domain_summary` | Summary per domain |
| `get_uptime_stats` | Uptime over 24h / 7d / 30d / 90d |
| `get_response_time_metrics` | Response-time metrics per domain |
| `check_ssl_certificate` | SSL status for a hostname |
| `get_ssl_certificates` | Certificates, optional expiry filter |
| `scan_dns` | DNS records for a domain |
| `scan_ports` | Port scan on host |
| `add_domain_monitor` ✏️ | Add a domain |
| `remove_domain_monitor` ✏️ | Remove a domain |
| `update_domain_settings` ✏️ | Update domain settings |

### Devices

| Tool | Description |
| --- | --- |
| `get_devices_status` | Device status and metrics |
| `get_device_details` | Single device detail |
| `get_device_metrics` | Historical device metrics |

### Services & synthetic

| Tool | Description |
| --- | --- |
| `list_service_monitors` | All service monitors |
| `create_service_monitor` ✏️ | Create service monitor |
| `update_service_monitor` ✏️ | Update service monitor |
| `delete_service_monitor` ✏️ | Delete service monitor |
| `check_service_monitor` ✏️ | Trigger manual check |
| `list_synthetic_flows` | Synthetic flows |
| `get_synthetic_flow` | Flow details |
| `create_synthetic_flow` ✏️ | Create flow |
| `update_synthetic_flow` ✏️ | Update flow |
| `run_synthetic_flow` ✏️ | Run flow |
| `get_synthetic_flow_results` | Run results |
| `toggle_synthetic_flow` ✏️ | Enable/disable flow |
| `delete_synthetic_flow` ✏️ | Delete flow |
| `list_synthetic_flow_templates` | Available templates |
| `get_synthetic_step_guide` | Help with flow steps |

### Incidents & alerts

| Tool | Description |
| --- | --- |
| `list_incidents` | Filter incidents by status/severity |
| `get_incident_details` | Single incident detail |
| `create_incident` ✏️ | Create incident |
| `update_incident_status` ✏️ | Update status |
| `get_alert_rules` | List alert rules |
| `create_alert_rule` ✏️ | Create alert rule |

### Status pages

| Tool | Description |
| --- | --- |
| `list_status_pages` | All status pages |
| `get_status_page_info` | Page detail |
| `create_status_page` ✏️ | Create status page |
| `update_status_page` ✏️ | Update page |
| `delete_status_page` ✏️ | Delete page |
| `add_domain_to_status_page` ✏️ | Link domain |
| `add_service_to_status_page` ✏️ | Link service |
| `add_device_to_status_page` ✏️ | Link device |

### Notifications & integrations

| Tool | Description |
| --- | --- |
| `get_integrations` | Connected channels |
| `test_integration` ✏️ | Send test notification |
| `get_notification_preferences` | Get preferences |
| `update_notification_preferences` ✏️ | Update preferences |

## Safe usage

- Grant **`write`** only when you want mutations (close incidents, run flows, add domains).
- Use separate tokens per tool or environment; revoke old tokens under **Integrations → MCP**.
- [PandaBot](/en/pulseguard/pandabot) in the UI always asks for confirmation on mutations; MCP clients follow their own UX — verify what your connector is allowed to call.

## MCP vs PandaBot

|           | MCP                                        | PandaBot              |
| --------- | ------------------------------------------ | --------------------- |
| **Where** | External AI apps (ChatGPT, Claude, Cursor) | Built into Guard      |
| **Auth**  | OAuth or MCP token                         | Your existing session |
| **Use**   | Automation, connectors, IDE                | In-app chat           |

## Related

- [Integrations](/en/pulseguard/integrations) — MCP tab and tokens in the UI
- [API & Integrations](/en/pulseguard/api-and-integrations) — REST API and webhooks
- [PandaBot](/en/pulseguard/pandabot) — in-app AI assistant
