# Mezmo — how to use (mcp.ai)

Connect your Mezmo account and use 36 tools for server monitoring straight from your AI agent. Connect with your own API key. Mezmo provides a comprehensive platform for log management and telemetry data processing, enabling organizations to collect, analyze, and manage their log data efficiently.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_mezmo?ms=1787293560000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `mezmo_create_category`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/mezmo`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/mezmo/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/mezmo/create/category` — Tool to create a new category for views, boards, or screens in Mezmo. Use when organizing Mezmo resources into categories.
  - body: { name: string, category_type: string }
- `POST https://api.mcp.ai/api/mezmo/create/ingestion/exclusion` — Tool to create an exclusion rule for log ingestion to control costs. Use this when you need to prevent specific logs from being ingested or stored based on query patterns. Exclusion rules help reduce 
  - body: { query: string, title: string, active?: boolean, indexonly?: boolean }
- `POST https://api.mcp.ai/api/mezmo/create/key` — Tool to create a new API key (ingestion or service key) in Mezmo. The API auto-generates a unique name for the key. Use when you need to provision a new key for log ingestion or API access.
  - body: { type: string }
- `POST https://api.mcp.ai/api/mezmo/create/member` — Tool to invite a new member to the Mezmo organization with a specified role. Use this to send invitations to team members and optionally assign them to specific groups.
  - body: { role: string, email: string, groups?: string[] }
- `POST https://api.mcp.ai/api/mezmo/create/preset/alert` — Tool to create a new preset alert in Mezmo with specified name and notification channels. Use this to configure alerts that can be triggered based on log conditions. Supports email, PagerDuty, and web
  - body: { name: string, channels: object[] }
- `POST https://api.mcp.ai/api/mezmo/create/view` — Tool to create a new Mezmo view with filtering and alert configuration. Use when you need to set up custom log views with specific filters (query, hosts, apps, levels, tags) and optional alert channel
  - body: { apps?: string[], name: string, tags?: string[], hosts?: string[], query?: string, levels?: string[], categories?: string[], email_channel?: object, webhook_channel?: object, pagerduty_channel?: object }
- `POST https://api.mcp.ai/api/mezmo/delete/category` — Tool to delete a category by its type and ID. Use when you need to remove a view, board, or screen category from Mezmo configuration.
  - body: { category_id: string, category_type: string }
- `POST https://api.mcp.ai/api/mezmo/delete/ingestion/exclusion` — Tool to remove an ingestion exclusion rule by its ID. Use when you need to delete a specific exclusion rule from Mezmo's ingestion configuration.
  - body: { exclusion_id: string }
- `POST https://api.mcp.ai/api/mezmo/delete/key` — Tool to delete an API key by its unique identifier. Use when you need to remove an ingestion key from Mezmo to revoke access.
  - body: { key_id: string }
- `POST https://api.mcp.ai/api/mezmo/delete/member` — Tool to remove a member from the organization by their email address. Use when you need to revoke a user's access to the organization.
  - body: { member_id: string }
- `POST https://api.mcp.ai/api/mezmo/delete/pipeline/alert` — Tool to delete an alert for a specific component within a pipeline. Use after confirming pipeline ID, component kind, component ID, and alert ID.
  - body: { alert_id: string, pipeline_id: string, component_id: string, component_kind: string }
- `POST https://api.mcp.ai/api/mezmo/delete/preset/alert` — Tool to delete a preset alert by its ID. Use after confirming the preset alert ID exists.
  - body: { preset_id: string }
- `POST https://api.mcp.ai/api/mezmo/delete/view` — Tool to delete a view by its ID. Use when you need to remove a specific view from Mezmo.
  - body: { viewid: string }
- `POST https://api.mcp.ai/api/mezmo/get/alert` — Tool to retrieve details of a specific preset alert by its ID. Use when you need to view the configuration of an existing alert.
  - body: { presetid: string }
- `POST https://api.mcp.ai/api/mezmo/get/category` — Tool to retrieve a category configuration by its type and ID. Use when you need to fetch details about a specific Mezmo category (view, board, or screen).
  - body: { category_id: string, category_type: string }
- `POST https://api.mcp.ai/api/mezmo/get/index/rate/alert` — Tool to retrieve current index rate alert settings for the Mezmo account. Use this to check if index rate alerting is enabled and view configured thresholds and notification channels.
- `POST https://api.mcp.ai/api/mezmo/get/ingestion/exclusion` — Tool to retrieve an ingestion exclusion rule by its ID. Use when you need to fetch details of a specific exclusion rule.
  - body: { exclusionId: string }
- `POST https://api.mcp.ai/api/mezmo/get/ingestion/status` — Tool to get the current ingestion status for the Mezmo account. Use when you need to check whether log ingestion is currently active or paused.
- `POST https://api.mcp.ai/api/mezmo/get/key` — Tool to retrieve an API key configuration by its ID. Use when you need to fetch details about a specific Mezmo API key.
  - body: { key_id: string }
- `POST https://api.mcp.ai/api/mezmo/get/member` — Tool to retrieve member information by their ID. Use when you need to fetch details about a specific member in your Mezmo account.
  - body: { member_id: string }
- `POST https://api.mcp.ai/api/mezmo/get/stream/config` — Tool to retrieve the current event streaming configuration for the Mezmo account. Use when you need to check if streaming is enabled and get streaming settings. Returns error details if streaming is u
- `POST https://api.mcp.ai/api/mezmo/get/view` — Tool to retrieve details of a specific view by its ID. Use when you need to fetch view configuration including name, query, filters, and other attributes.
  - body: { view_id: string }
- `POST https://api.mcp.ai/api/mezmo/ingest/logs` — Ingest log lines into Mezmo Log Analysis. Use this tool to send structured log data from hosts, applications, or services to Mezmo for centralized logging, analysis, and alerting. Logs are sent to the
  - body: { ip?: string, mac?: string, logs: object[], tags?: string, hostname: string }
- `POST https://api.mcp.ai/api/mezmo/list/alerts` — Tool to list all preset alerts configured for the Mezmo account. Use when you need to retrieve notification rules that trigger based on log patterns. Returns preset alert configurations including thei
- `POST https://api.mcp.ai/api/mezmo/list/keys` — Tool to list all API keys and ingestion keys configured for the account. Use when you need to retrieve all keys for viewing or management purposes.
- `POST https://api.mcp.ai/api/mezmo/list/members` — Tool to list all team members in the Mezmo account configuration. Use when you need to retrieve information about all members in the organization.
- `POST https://api.mcp.ai/api/mezmo/list/pipelines` — Tool to list all telemetry pipelines configured for the account. Use when you need to view or retrieve information about existing pipelines that manage the flow and transformation of telemetry data.
- `POST https://api.mcp.ai/api/mezmo/list/views` — Tool to list all views configured for the account. Views are saved search queries and filters for quick access to specific log data.
- `POST https://api.mcp.ai/api/mezmo/resume/ingestion` — Tool to resume log ingestion for the account after it has been stopped. Use when you need to re-enable log collection after a pause.
- `POST https://api.mcp.ai/api/mezmo/update/category` — Tool to update a category name by its type and ID. Use when you need to rename an existing category in Mezmo.
  - body: { name: string, category_id: string, category_type: string }
- `POST https://api.mcp.ai/api/mezmo/update/index/rate/alert` — Tool to configure index rate alerting settings including thresholds and notification channels. Use this when you need to set up or modify alerts for unusual log ingestion rates based on absolute line 
  - body: { enabled: boolean, channels: object, frequency: string, max_lines?: integer, max_z_score?: number, threshold_alert: string }
- `POST https://api.mcp.ai/api/mezmo/update/ingestion/exclusion` — Tool to update an existing exclusion rule by its ID. Use when you need to modify the query, active status, indexonly behavior, or title of an existing exclusion rule. At least one field (query, active
  - body: { id: string, query?: string, title?: string, active?: boolean, indexonly?: boolean }
- `POST https://api.mcp.ai/api/mezmo/update/key` — Tool to update an API key name by its ID. Use when you need to rename an existing Mezmo API key.
  - body: { name: string, key_id: string }
- `POST https://api.mcp.ai/api/mezmo/update/member` — Tool to update a member's role and group assignments by their email address. Use when you need to change a member's permissions or group memberships.
  - body: { role: string, groups?: string[], member_id: string }
- `POST https://api.mcp.ai/api/mezmo/update/preset/alert` — Tool to update an existing preset alert by ID. Allows modifying the alert's name and notification channels. Use when you need to change alert configuration after creation. Requires full resource repre
  - body: { name: string, channels: object[], presetid: string }
- `POST https://api.mcp.ai/api/mezmo/update/view` — Tool to update an existing Mezmo view by its ID. Use when you need to modify a view's name or search query.
  - body: { name: string, query?: string, viewid: string }

## Example prompts
- "What can I do in Mezmo?"
- "Show me a summary of my Mezmo account"

## More
- Page: https://mcp.ai/mezmo
- Agent spec (llms.txt): https://mcp.ai/mezmo/llms.txt
- Postman collection: https://mcp.ai/mezmo/postman.json
