mcp-coroot

v0.1.1
mcp-coroot Checked 2 days ago Published 1 year ago

MCP server for Coroot observability platform

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

get_current_user Get Current User

Get current authenticated user information. Returns information about the currently authenticated user including their email, name, roles, and accessible projects.

list_projects List Projects

List all accessible projects. Returns a list of all projects that the authenticated user has access to. Each project includes its ID and name.

get_project Get Project

Get project details and configuration. Retrieves comprehensive information about a project including its settings, integrations, and configuration.

ParameterTypeDescription
project_id *stringProject ID

create_project Create Project

Create a new project. Creates a new Coroot project with the specified name. The name must contain only lowercase letters, numbers, and hyphens.

ParameterTypeDescription
name *stringProject name (must match ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$)

get_project_status Get Project Status

Get project status including agent and integration health. Returns the current status of a project including: - Overall project health - Prometheus connection status - Node agent deployment status - Any error messages

ParameterTypeDescription
project_id *stringProject ID

get_application Get Application

Get application details and metrics. Retrieves comprehensive information about an application including: - Performance metrics (CPU, memory, network) - Health checks and SLOs - Recent incidents - Deployment history

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID
from_timestampStart timestamp for metrics (optional)
to_timestampEnd timestamp for metrics (optional)

get_application_logs Get Application Logs

Get application logs with pattern analysis. Retrieves application logs with automatic pattern detection and grouping. Supports filtering by time range, search query, and severity level.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID
from_timestampStart timestamp (optional)
queryLog search query (optional)
severityFilter by severity level (optional)
to_timestampEnd timestamp (optional)

get_application_traces Get Application Traces

Get distributed traces for an application. Retrieves distributed tracing data showing request flow through the application and its dependencies. ⚠️ WARNING: This endpoint can return very large responses (100k+ tokens) when retrieving many traces. Consider using time filters or trace_id to limit the response size.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID
from_timestampStart timestamp (optional, recommended to limit data)
querySearch query (optional)
to_timestampEnd timestamp (optional, recommended to limit data)
trace_idSpecific trace ID to retrieve (optional, returns single trace)

get_applications_overview Get Applications Overview

Get overview of all applications in a project. Returns a high-level view of all applications including: - Application health status - Key performance indicators - Resource usage - Recent incidents

ParameterTypeDescription
project_id *stringProject ID
querySearch/filter query (optional)

get_nodes_overview Get Nodes Overview

Get overview of infrastructure nodes. Returns information about all nodes in the infrastructure: - Node health and status - Resource utilization - Running containers - System metrics

ParameterTypeDescription
project_id *stringProject ID
querySearch/filter query (optional)

get_traces_overview Get Traces Overview

Get distributed tracing overview. Returns a summary of distributed traces across all applications: - Trace volume and trends - Error rates - Latency percentiles - Service dependencies

ParameterTypeDescription
project_id *stringProject ID
querySearch/filter query (optional)

get_deployments_overview Get Deployments Overview

Get deployment tracking overview. Returns information about recent deployments: - Deployment timeline - Success/failure rates - Rollback history - Impact on application performance

ParameterTypeDescription
project_id *stringProject ID
querySearch/filter query (optional)

get_risks_overview Get Risks Overview

Get risk assessment overview. Returns comprehensive risk analysis across all applications: - High-risk applications - Risk trends over time - Critical issues requiring attention - Compliance and security risks

ParameterTypeDescription
project_id *stringProject ID
querySearch/filter query (optional)

list_integrations List Integrations

List all configured integrations for a project. Returns the configuration status of all available integrations: - Prometheus - ClickHouse - AWS - Slack - Microsoft Teams - PagerDuty - Opsgenie - Webhooks

ParameterTypeDescription
project_id *stringProject ID

configure_integration Configure Integration

Configure an integration for a project. Sets up or updates an integration configuration. Each integration type has specific configuration requirements. Integration types: - prometheus: Metrics data source - clickhouse: Long-term storage - aws: AWS services integration - slack: Slack notifications - teams: Microsoft Teams notifications - pagerduty: PagerDuty alerts - opsgenie: Opsgenie alerts - webhook: Custom webhooks

ParameterTypeDescription
config *objectIntegration-specific configuration dictionary
integration_type *stringType of integration
project_id *stringProject ID

list_inspections List Inspections

List all available inspections for a project. Returns a list of all inspection types and their configurations including CPU, memory, SLO, and other health checks.

ParameterTypeDescription
project_id *stringProject ID

get_inspection_config Get Inspection Config

Get inspection configuration for an application. Retrieves the current configuration for a specific inspection type (e.g., cpu, memory, slo_availability, slo_latency) for an application.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
inspection_type *stringType of inspection (cpu, memory, slo, etc)
project_id *stringProject ID

update_inspection_config Update Inspection Config

Update inspection configuration for an application. Updates the configuration for a specific inspection type. Configuration format depends on the inspection type.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
config *objectNew configuration (format varies by type)
inspection_type *stringType of inspection (cpu, memory, slo, etc)
project_id *stringProject ID

get_application_categories Get Application Categories

Get application categories configuration. Returns the current application categorization rules that determine how applications are grouped (e.g., monitoring, control-plane, etc).

ParameterTypeDescription
project_id *stringProject ID

create_application_category Create Application Category

Create a new application category. Creates a category for grouping applications based on namespace/name patterns. Patterns must be space-separated and in format namespace/name (e.g., "test/* demo/*"). Each pattern must contain exactly one '/' and cannot start with '/'.

ParameterTypeDescription
custom_patterns *stringSpace-separated glob patterns (e.g., "test/* demo/*")
name *stringCategory name (lowercase letters, numbers, hyphens, underscores; min 3 chars)
project_id *stringProject ID
notify_deploymentsbooleanWhether to notify about deployments (default: False)
notify_incidentsbooleanWhether to notify about incidents (default: True)
slack_channelSlack channel for notifications (optional)

update_application_category Update Application Category

Update an existing application category. Updates specific fields of an application category. Only provided fields are updated.

ParameterTypeDescription
name *stringCategory name to update
project_id *stringProject ID
custom_patternsNew space-separated glob patterns (optional)
notify_deploymentsWhether to notify about deployments (optional)
notify_incidentsWhether to notify about incidents (optional)
slack_channelSlack channel for notifications (optional)

delete_application_category Delete Application Category

Delete an application category. Removes a custom application category. Built-in categories cannot be deleted.

ParameterTypeDescription
name *stringCategory name to delete
project_id *stringProject ID

get_custom_applications Get Custom Applications

Get custom applications configuration. Returns the list of custom application definitions that group instances by patterns.

ParameterTypeDescription
project_id *stringProject ID

update_custom_applications Update Custom Applications

Update custom applications configuration. Updates the list of custom application definitions. Custom applications allow grouping instances by container name patterns.

ParameterTypeDescription
applications *objectNew custom applications list with instance patterns
project_id *stringProject ID

get_application_rca Get Application Rca

Get AI-powered root cause analysis for application issues. Analyzes application problems and provides insights into the root causes of incidents, performance degradation, or failures.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID

get_application_profiling Get Application Profiling

Get CPU and memory profiling data for an application. Retrieves profiling data including flame graphs for CPU usage and memory allocation patterns to help identify performance bottlenecks and optimization opportunities. ⚠️ WARNING: This endpoint can return extremely large responses (180k+ tokens) for applications with extensive profiling data. Consider using time filters to limit the response size to specific time windows.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID
from_timestampStart timestamp (optional, strongly recommended)
querySearch query (optional)
to_timestampEnd timestamp (optional, strongly recommended)

update_application_risks Update Application Risks

Update risk assessment configuration for an application. Configures risk thresholds and monitoring parameters to better identify potential issues before they impact users.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
project_id *stringProject ID
risks *objectRisk assessment configuration

get_db_instrumentation Get Db Instrumentation

Get database instrumentation configuration. Retrieves instrumentation settings for a specific database type.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
db_type *stringDatabase type (mysql, postgres, redis, mongodb, memcached)
project_id *stringProject ID

update_db_instrumentation Update Db Instrumentation

Update database instrumentation configuration. Configures how Coroot instruments and monitors a specific database.

ParameterTypeDescription
app_id *stringApplication ID (format: namespace/kind/name)
config *objectInstrumentation configuration
db_type *stringDatabase type (mysql, postgres, redis, mongodb, memcached)
project_id *stringProject ID

get_node Get Node

Get detailed information about a specific infrastructure node. Retrieves comprehensive metrics and information about a node including: - Resource usage (CPU, memory, disk, network) - Running containers - System information - Health status

ParameterTypeDescription
node_id *stringNode ID
project_id *stringProject ID

get_incident Get Incident

Get detailed information about a specific incident. Retrieves comprehensive incident information including: - Timeline of events - Affected applications - Impact assessment - Resolution status

ParameterTypeDescription
incident_id *stringIncident ID
project_id *stringProject ID

list_dashboards List Dashboards

List all custom dashboards for a project. Returns all user-created dashboards with their configurations.

ParameterTypeDescription
project_id *stringProject ID

create_dashboard Create Dashboard

Create a new custom dashboard. Creates a dashboard with custom panels and queries for monitoring specific aspects of your infrastructure.

ParameterTypeDescription
dashboard *objectDashboard configuration with panels and layout
project_id *stringProject ID

get_dashboard Get Dashboard

Get a specific dashboard configuration. Retrieves the full configuration of a dashboard including all panels.

ParameterTypeDescription
dashboard_id *stringDashboard ID
project_id *stringProject ID

update_dashboard Update Dashboard

Update an existing dashboard configuration. Updates dashboard panels, layout, or other settings.

ParameterTypeDescription
dashboard *objectUpdated dashboard configuration
dashboard_id *stringDashboard ID
project_id *stringProject ID

delete_dashboard Delete Dashboard

Delete a custom dashboard. Permanently removes a dashboard from the project.

ParameterTypeDescription
dashboard_id *stringDashboard ID
project_id *stringProject ID

test_integration Test Integration

Test an integration configuration. Verifies that an integration is properly configured and can connect.

ParameterTypeDescription
integration_type *stringType of integration (prometheus, slack, etc)
project_id *stringProject ID

delete_integration Delete Integration

Delete an integration configuration. Removes an integration from the project.

ParameterTypeDescription
integration_type *stringType of integration to delete
project_id *stringProject ID

update_project_settings Update Project Settings

Update project settings and configuration. Updates project-level settings such as retention, alerting, etc.

ParameterTypeDescription
project_id *stringProject ID
settings *objectUpdated project settings

delete_project Delete Project

Delete a project and all associated data. WARNING: This action is irreversible and will delete all project data.

ParameterTypeDescription
project_id *stringProject ID

list_api_keys List Api Keys

List all API keys for a project. Returns all API keys with their metadata (but not the secret values).

ParameterTypeDescription
project_id *stringProject ID

create_api_key Create Api Key

Create a new API key for data ingestion. Creates an API key that can be used for sending metrics and data. The key secret is only returned once during creation.

ParameterTypeDescription
name *stringAPI key name
project_id *stringProject ID
descriptionOptional description

delete_api_key Delete Api Key

Delete an API key. Removes an API key from the project. This action cannot be undone.

ParameterTypeDescription
key *stringThe API key to delete (the actual key string)
project_id *stringProject ID

update_current_user Update Current User

Update current user information. Updates the profile of the currently authenticated user.

ParameterTypeDescription
user_data *objectUpdated user information

list_users List Users

List all users in the system (admin only). Returns all users with their roles and permissions. Requires admin privileges.

create_user Create User

Create a new user (admin only). Creates a new user account with specified role and permissions. Requires admin privileges.

ParameterTypeDescription
user_data *objectNew user information including email, name, role

get_roles Get Roles

Get available user roles. Returns all available roles that can be assigned to users (e.g., Viewer, Editor, Admin).

get_custom_cloud_pricing Get Custom Cloud Pricing

Get custom cloud pricing configuration. Retrieves any custom cloud pricing overrides for cost calculations.

ParameterTypeDescription
project_id *stringProject ID

update_custom_cloud_pricing Update Custom Cloud Pricing

Update custom cloud pricing configuration. Sets custom pricing for cloud resources to override default pricing.

ParameterTypeDescription
pricing *objectCustom pricing configuration
project_id *stringProject ID

delete_custom_cloud_pricing Delete Custom Cloud Pricing

Delete custom cloud pricing configuration. Removes custom pricing overrides and reverts to default pricing.

ParameterTypeDescription
project_id *stringProject ID

health_check Health Check

Check if Coroot server is healthy. Performs a simple health check to verify that the Coroot server is running and accessible.

get_sso_config Get Sso Config

Get SSO configuration. Retrieves Single Sign-On (SSO) configuration and available roles.

update_sso_config Update Sso Config

Update SSO configuration. Configures Single Sign-On settings for the Coroot instance.

ParameterTypeDescription
config *objectSSO configuration settings

get_ai_config Get Ai Config

Get AI provider configuration. Retrieves AI provider settings used for root cause analysis.

update_ai_config Update Ai Config

Update AI provider configuration. Configures AI provider settings for enhanced root cause analysis.

ParameterTypeDescription
config *objectAI provider settings (API keys, model selection, etc.)

get_panel_data Get Panel Data

Get data for a specific dashboard panel. Retrieves the data that powers a specific panel in a custom dashboard, including metrics, time series data, or aggregated values.

ParameterTypeDescription
dashboard_id *stringThe dashboard ID
panel_id *stringThe panel ID within the dashboard
project_id *stringThe project ID
from_timeOptional start time (ISO format or relative like '-1h')
to_timeOptional end time (ISO format or 'now')

get_integration Get Integration

Get specific integration configuration details. Retrieves the current configuration for a specific integration type, including connection details, settings, and status.

ParameterTypeDescription
integration_type *stringType of integration (prometheus, cloudwatch, etc.)
project_id *stringThe project ID

configure_profiling Configure Profiling

Configure CPU and memory profiling for an application. Enables or disables continuous profiling and sets the sampling rate for collecting CPU and memory profiles.

ParameterTypeDescription
app_id *stringThe application ID
enabled *booleanWhether to enable profiling
project_id *stringThe project ID
sample_rateOptional sampling rate (0.0-1.0)

configure_tracing Configure Tracing

Configure distributed tracing for an application. Controls trace collection settings including sampling rate and paths to exclude from tracing.

ParameterTypeDescription
app_id *stringThe application ID
enabled *booleanWhether to enable tracing
project_id *stringThe project ID
excluded_pathsOptional list of URL paths to exclude
sample_rateOptional trace sampling rate (0.0-1.0)

configure_logs Configure Logs

Configure log collection settings for an application. Controls which logs are collected and processed, including log level filtering and pattern exclusions.

ParameterTypeDescription
app_id *stringThe application ID
enabled *booleanWhether to enable log collection
project_id *stringThe project ID
excluded_patternsOptional regex patterns to exclude
levelOptional minimum log level (debug, info, warn, error)

create_or_update_role Create Or Update Role

Create or update a user role (admin only). Defines custom roles with specific permissions for fine-grained access control.

ParameterTypeDescription
name *stringRole name
permissions *arrayList of permission strings
descriptionOptional role description