mcp-panther

v2.6.0
mcp-panther Checked 13 hours ago Published 25 days ago

Panther Labs MCP Server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

add_alert_comment

Add a comment to a Panther alert. Comments support Markdown formatting. Returns: Dict containing: - success: Boolean indicating if the comment was added successfully - comment: Created comment information if successful - message: Error message if unsuccessful Permissions:{'all_of': ['Manage Alerts']}

ParameterTypeDescription
alert_id *stringThe ID of the alert to comment on
comment *stringThe comment text to add

bulk_update_alerts

Bulk update multiple alerts with status, assignee, and/or comment changes. This tool allows you to efficiently update multiple alerts at once by setting their status, assignee, and adding a comment. At least one of status, assignee_id, or comment must be provided. Returns: Dict containing: - success: Boolean indicating overall success - results: Dict with operation results: - status_updates: List of alert IDs successfully updated with new status - assignee_updates: List of alert IDs successfully updated with new assignee - comments_added: List of alert IDs…

ParameterTypeDescription
alert_ids *arrayList of alert IDs to update (maximum 25)
assignee_idOptional ID of the user to assign the alerts to
commentOptional comment to add to all alerts
statusOptional new status for the alerts

disable_detection

Disable a Panther detection by setting enabled to false. Permissions:{'any_of': ['Manage Rules', 'Manage Policies']}

ParameterTypeDescription
detection_id *stringThe ID of the detection to disable
detection_typestringType of detection to disable. Valid options: rules, scheduled_rules, simple_rules, or policies.

get_ai_alert_triage_summary

Retrieve the latest AI triage summary for a specific Panther alert. This tool retrieves the most recently generated AI triage analysis for an alert. It fetches the list of AI inference stream IDs associated with the alert, then retrieves the response text for the latest stream. Returns: Dict containing: - success: Boolean indicating if retrieval was successful - summary: The latest AI triage summary containing: - stream_id: The unique stream identifier - response_text: The AI-generated triage summary - finished: Whether the triage generation completed…

ParameterTypeDescription
alert_id *stringThe ID of the alert to retrieve the latest AI triage summary for

get_alert

Get detailed information about a specific Panther alert by ID Permissions:{'all_of': ['Read Alerts']}

ParameterTypeDescription
alert_id *stringThe ID of the alert to fetch

get_alert_event_stats

Analyze patterns and relationships across multiple alerts by aggregating their event data into time-based groups. For each time window (configurable from 1-60 minutes), the tool collects unique entities (IPs, emails, usernames, trace IDs) and alert metadata (IDs, rules, severities) to help identify related activities. Results are ordered chronologically with the most recent first, helping analysts identify temporal patterns, common entities, and potential incident scope. Backend limitation: This tool generates Snowflake SQL and uses panther_signals.public.correlation_signals. For Databricks…

ParameterTypeDescription
alert_ids *arrayList of alert IDs to analyze
end_dateOptional end date in ISO-8601 format. Defaults to end of today UTC.
start_dateOptional start date in ISO-8601 format. Defaults to start of today UTC.
time_windowintegerThe time window in minutes to group distinct events by

get_alert_events

Get events for a specific Panther alert. Order of events is not guaranteed. This tool does not support pagination to prevent long-running, expensive queries. Returns: Dict containing: - success: Boolean indicating if the request was successful - events: List of most recent events if successful - message: Error message if unsuccessful Permissions:{'all_of': ['Read Alerts']}

ParameterTypeDescription
alert_id *stringThe ID of the alert to get events for
limitintegerMaximum number of events to return

get_bytes_processed_metrics

Retrieves data ingestion metrics showing total bytes processed per log type and source, helping analyze data volume patterns. Returns: Dict: - success: Boolean indicating if the query was successful - bytes_processed: List of series with breakdown by log type and source - total_bytes: Total bytes processed in the period - start_date: Start date of the period - end_date: End date of the period - interval_in_minutes: Grouping interval for the metrics Permissions:{'all_of': ['Read Panther Metrics']}

ParameterTypeDescription
end_dateOptional end date in ISO-8601 format. If provided, defaults to the end of the current day UTC.
interval_in_minutesintegerHow data points are aggregated over time, with smaller intervals providing more granular detail of when events occurred, while larger intervals show broader trends but obscure the precise timing of in…
start_dateOptional start date in ISO-8601 format. If provided, defaults to the start of the current day UTC.

get_data_model

Get detailed information about a Panther data model, including the mappings and body Returns complete data model information including Python body code and UDM mappings. Permissions:{'all_of': ['View Rules']}

ParameterTypeDescription
data_model_id *stringThe ID of the data model to fetch

get_detection

Get detailed information about a Panther detection, including the detection body and tests. Permissions:{'all_of': ['View Rules', 'View Policies']}

ParameterTypeDescription
detection_id *stringThe ID of the detection to fetch
detection_typearrayOne or more detection types - rules, scheduled_rules, simple_rules, or policies.

get_global_helper

Get detailed information about a Panther global helper by ID Returns complete global helper information including Python body code and usage details. Permissions:{'all_of': ['View Rules']}

ParameterTypeDescription
helper_id *stringThe ID of the global helper to fetch

get_http_log_source

Get detailed information about a specific HTTP log source by ID. HTTP log sources are used to collect logs via HTTP endpoints/webhooks. This tool provides detailed configuration information for troubleshooting and monitoring HTTP log source integrations.

ParameterTypeDescription
source_id *stringThe ID of the HTTP log source to fetch

get_log_type_schema_details

Get detailed information for specific log type schemas, including their full specifications. Limited to 5 schemas at a time to prevent response size issues. Returns: Dict containing: - success: Boolean indicating if the query was successful - schemas: List of schemas, each containing: - name: Schema name (Log Type) - description: Schema description - spec: Schema specification in YAML/JSON format - version: Schema version number - revision: Schema revision number - isArchived: Whether the schema is archived - isManaged: Wheth…

ParameterTypeDescription
schema_names *arrayList of schema names to get details for (max 5)

get_permissions

Get the current user's permissions. Use this to diagnose permission errors and determine if a new API token is needed.

get_role

Get detailed information about a Panther role by ID Returns complete role information including all permissions and settings. Permissions:{'all_of': ['Read User Info']}

ParameterTypeDescription
role_id *stringThe ID of the role to fetch

get_rule_alert_metrics

Gets alert metrics grouped by detection rule for ALL alert types, including alerts, detection errors, and system errors within a given time period. Use this tool to identify hot spots in alerts and use list_alerts for specific alert details. Returns: Dict: - alerts_per_rule: List of series with entityId, label, and value - total_alerts: Total number of alerts in the period - start_date: Start date of the period - end_date: End date of the period - interval_in_minutes: Grouping interval for the metrics - rule_ids: List of rule IDs if provided Permissions:{'all_of…

ParameterTypeDescription
end_dateOptional end date in ISO-8601 format. If provided, defaults to the end of the current day UTC.
interval_in_minutesintegerIntervals for aggregating data points. Smaller intervals provide more granular detail of when events occurred, while larger intervals show broader trends but obscure the precise timing of incidents.
rule_idsarrayA valid JSON list of Panther rule IDs to get metrics for
start_dateOptional start date in ISO-8601 format. If provided, defaults to the start of the current day UTC.

get_scheduled_query

Get detailed information about a specific scheduled query by ID. Returns complete scheduled query information including SQL, schedule configuration, and metadata. Returns: Dict containing: - success: Boolean indicating if the query was successful - query: Scheduled query information if successful, containing: - id: Query ID - name: Query name - description: Query description - sql: The SQL query text - schedule: Schedule configuration (cron, rate, timeout) - managed: Whether the query is managed by Panther - createdAt: Creat…

ParameterTypeDescription
query_id *stringThe ID of the scheduled query to fetch (must be a UUID)

get_severity_alert_metrics

Gets alert metrics grouped by severity for rule and policy alert types within a given time period. Use this tool to identify hot spots in your alerts, and use the list_alerts tool for specific details. Keep in mind that these metrics combine errors and alerts, so there may be inconsistencies from what list_alerts returns. Returns: Dict: - alerts_per_severity: List of series with breakdown by severity - total_alerts: Total number of alerts in the period - start_date: Start date of the period - end_date: End date of the period - interval_in_minutes: Grouping interval for…

ParameterTypeDescription
alert_typesarrayThe specific Panther alert types to get metrics for.
end_dateOptional end date in ISO-8601 format. If provided, defaults to the end of the current day UTC.
interval_in_minutesintegerHow data points are aggregated over time, with smaller intervals providing more granular detail of when events occurred, while larger intervals show broader trends but obscure the precise timing of in…
severitiesarrayThe specific Panther alert severities to get metrics for.
start_dateOptional start date in ISO-8601 format. If provided, defaults to the start of the current day UTC.

get_table_schema

Get column details for a specific data lake table. IMPORTANT: This returns the table structure in the instance's data lake backend (Snowflake or Databricks). Use database names from list_databases: e.g. panther_logs.public for Snowflake or panther_logs for Databricks. For writing optimal queries, ALSO call get_log_type_schema_details() to understand: - Nested object structures (only shown as 'object' type here) - Which fields map to p_any_* indicator columns - Array element structures Example workflow: 1. get_log_type_schema_details(["AWS.CloudTrail"]) - understand structure 2. get_table_sch…

ParameterTypeDescription
database_name *stringThe name of the database where the table is located
table_name *stringThe name of the table to get columns for

get_user

Get detailed information about a Panther user by ID Returns complete user information including email, names, role, authentication status, and timestamps. Permissions:{'all_of': ['Read User Info']}

ParameterTypeDescription
user_id *stringThe ID of the user to fetch

list_alert_comments

Get all comments for a specific Panther alert. Returns: Dict containing: - success: Boolean indicating if the request was successful - comments: List of comments if successful, each containing: - id: The comment ID - body: The comment text - createdAt: Timestamp when the comment was created - createdBy: Information about the user who created the comment - format: The format of the comment (HTML or PLAIN_TEXT or JSON_SCHEMA) - message: Error message if unsuccessful Permissions:{'all_of': ['Read Alerts']}

ParameterTypeDescription
alert_id *stringThe ID of the alert to get comments for
limitintegerMaximum number of comments to return

list_alerts

List alerts from Panther with comprehensive filtering options

ParameterTypeDescription
alert_typestringType of alerts to return
cursorOptional cursor for pagination returned from a previous call
detection_idOptional detection ID to filter alerts by; if not provided, default date range (7days) is applied
end_dateOptional end date in ISO-8601 format. If provided, defaults to the end of the current day UTC.
event_count_maxOptional maximum number of events an alert may contain
event_count_minintegerOptional minimum number of events an alert must contain
log_sourcesarrayOptional list of log‑source IDs to filter alerts by
log_typesarrayOptional list of log‑type names to filter alerts by
name_containsOptional substring to match within alert titles
page_sizeintegerNumber of results per page (max 50, default 25)
resource_typesarrayOptional list of AWS resource‑type names to filter alerts by
severitiesarrayOptional list of severities to filter by
start_dateOptional start date in ISO-8601 format. If provided, defaults to the start of the current day UTC.
statusesarrayOptional list of statuses to filter by
subtypesarrayOptional list of alert subtypes (valid values depend on alert_type)

list_data_models

List all data models from your Panther instance. Data models are used only in Panther's Python rules to map log type schema fields to a unified data model. They may also contain custom mappings for fields that are not part of the log type schema. Returns paginated list of data models with metadata including mappings and log types. Permissions:{'all_of': ['View Rules']}

ParameterTypeDescription
cursorOptional cursor for pagination from a previous query
limitintegerMaximum number of results to return (1-1000)

list_database_tables

List all available tables in a Panther Database. Required: Only use valid database names obtained from list_databases Returns: Dict containing: - success: Boolean indicating if the query was successful - tables: List of tables, each containing: - name: Table name - description: Table description - log_type: Log type - database: Database name - message: Error message if unsuccessful Permissions:{'all_of': ['Query Data Lake']}

ParameterTypeDescription
database *stringThe name of the database to list tables for

list_databases

List all available datalake databases in Panther. Returns: Dict containing: - success: Boolean indicating if the query was successful - databases: List of databases, each containing: - name: Database name - description: Database description - message: Error message if unsuccessful Permissions:{'all_of': ['Query Data Lake']}

list_detections

List detections from your Panther instance with support for multiple detection types and filtering. Note: The output_ids filter is applied client-side after fetching all results from the API, as the Panther REST API does not support server-side filtering by outputID. For more efficient API-level filtering, consider using the 'tag' parameter if your detections are tagged by environment. Permissions:{'all_of': ['View Rules', 'View Policies']}

ParameterTypeDescription
compliance_statusFilter by compliance status (applies to policies only) - 'PASS', 'FAIL', or 'ERROR'
created_byFilter by creator user ID or actor ID
cursorOptional cursor for pagination from a previous query (only supported for single detection type)
detection_typesarrayOne or more detection types - rules, scheduled_rules, simple_rules, or policies.
last_modified_byFilter by last modifier user ID or actor ID
limitintegerMaximum number of results to return per detection type
log_typearrayA list of log types to filter by (applies to rules and simple-rules only).
name_containsSubstring search by name (case-insensitive)
output_idsarrayClient-side filter by destination output IDs. Filters results after fetching from API to include only detections with at least one matching outputID.
resource_typearrayFilter by resource types (applies to policies only) - list of resource type names
severityarrayFilter by severity levels - INFO, LOW, MEDIUM, HIGH, or CRITICAL.
statestringFilter by state - 'enabled' or 'disabled'
tagarrayA case-insensitive list of tags to filter by.

list_global_helpers

List all global helpers from your Panther instance. Global helpers are shared Python functions that can be used across multiple rules, policies, and other detections. Returns paginated list of global helpers with metadata including descriptions and code. Permissions:{'all_of': ['View Rules']}

ParameterTypeDescription
created_byFilter by creator user ID or actor ID
cursorOptional cursor for pagination from a previous query
last_modified_byFilter by last modifier user ID or actor ID
limitintegerMaximum number of results to return (1-1000)
name_containsCase-insensitive substring to search for in the global's name

list_log_sources

List log sources from Panther with optional filters. Permissions:{'all_of': ['View Rules']}

ParameterTypeDescription
cursorOptional cursor for pagination from a previous query
integration_typeOptional integration type to filter by
is_healthybooleanOptional boolean to filter by health status (default: True)
log_typesarrayOptional list of log types to filter by

list_log_type_schemas

List all available log type schemas in Panther. Schemas are transformation instructions that convert raw audit logs into structured data for the data lake and real-time Python rules. Returns: Dict containing: - success: Boolean indicating if the query was successful - schemas: List of schemas, each containing: - name: Schema name (Log Type) - description: Schema description - revision: Schema revision number - isArchived: Whether the schema is archived - isManaged: Whether the schema is managed by a pack - referenceURL: Optional docu…

ParameterTypeDescription
containsOptional filter by name or schema field name
is_archivedbooleanFilter by archive status (default: False shows non-archived)
is_in_usebooleanFilter for used/active schemas (default: False shows all)
is_managedbooleanFilter for pack-managed schemas (default: False shows all)

list_roles

List all roles from your Panther instance. Returns list of roles with metadata including permissions and settings. Permissions:{'all_of': ['Read User Info']}

ParameterTypeDescription
nameExact match for a role's name. If provided, other parameters are ignored
name_containsCase-insensitive substring to search for within the role name
role_idsarrayList of specific role IDs to return
sort_dirSort direction for the results

list_scheduled_queries

List all scheduled queries from your Panther instance. Scheduled queries are SQL queries that run automatically on a defined schedule for recurring analysis, reporting, and monitoring tasks. Note: SQL content is excluded from list responses to prevent token limits. Use get_scheduled_query() to retrieve the full SQL for a specific query. Returns: Dict containing: - success: Boolean indicating if the query was successful - queries: List of scheduled queries if successful, each containing: - id: Query ID - name: Query name - description: Query description…

ParameterTypeDescription
cursorOptional cursor for pagination from a previous query
limitintegerMaximum number of results to return (1-1000)
name_containsOptional substring to filter scheduled queries by name (case-insensitive)

list_users

List all Panther user accounts. Returns: Dict containing: - success: Boolean indicating if the query was successful - users: List of user accounts if successful - total_users: Number of users returned - has_next_page: Boolean indicating if more results are available - next_cursor: Cursor for fetching the next page of results - message: Error message if unsuccessful Permissions:{'all_of': ['Read User Info']}

ParameterTypeDescription
cursorOptional cursor for pagination from a previous query
limitintegerMaximum number of results to return (1-60)

query_data_lake

Query Panther's security data lake using SQL for log analysis and threat hunting. Use the instance's SQL dialect (Snowflake or Databricks). SQL is submitted unchanged. Discover names and types with list_databases, list_database_tables, and get_table_schema. Before using vendor-specific fields, retrieve their schema; reuse schemas already fetched in this conversation. For Databricks, set database_name="panther_logs" (or another name from list_databases). REQUIRED: Include time filter with p_event_time (required for performance and partitioning) Panther Time Filter Macros (Recommended - optim…

ParameterTypeDescription
sql *stringSQL for the instance's backend (Snowflake or Databricks). Include a p_event_time filter or Panther time macro. Submitted unchanged.
cursorOpaque next_cursor from the previous page of this SQL query
database_namestringDatabase from list_databases. Defaults to panther_logs.public (Snowflake); explicitly pass panther_logs for Databricks.
max_rowsintegerMaximum number of result rows to return (prevents context overflow)
timeoutintegerTimeout in seconds before the SQL query is cancelled. If the query fails due to timeout, the caller should consider a longer timeout.

start_ai_alert_triage

Start an AI-powered triage analysis for a Panther alert with intelligent insights and recommendations. This tool initiates Panther's embedded AI agent to triage an alert and provide an intelligent report about the events, risk level, potential impact, and recommended next steps for investigation. The AI triage includes analysis of: - Alert metadata (severity, detection rule, timestamps) - Related events and logs (if available) - Comments from previous investigations - Contextual security analysis and recommendations Returns: Dict containing: - success: Boolean indicating if triage w…

ParameterTypeDescription
alert_id *stringThe ID of the alert to start AI triage for
promptOptional additional prompt to provide context for the AI triage
timeout_secondsintegerTimeout in seconds to wait for AI triage completion

update_alert_assignee

Update the assignee of one or more alerts through the assignee's ID. Returns: Dict containing: - success: Boolean indicating if the update was successful - alerts: List of updated alert IDs if successful - message: Error message if unsuccessful Permissions:{'all_of': ['Manage Alerts']}

ParameterTypeDescription
alert_ids *arrayList of alert IDs to update
assignee_id *stringThe ID of the user to assign the alerts to

update_alert_status

Update the status of one or more Panther alerts. Returns: Dict containing: - success: Boolean indicating if the update was successful - alerts: List of updated alert IDs if successful - message: Error message if unsuccessful Permissions:{'all_of': ['Manage Alerts']}

ParameterTypeDescription
alert_ids *arrayList of alert IDs to update
status *stringNew status for the alerts