DocsMCPMCP Tools

MCP

MCP Tools

Tools offered by the Komuta MCP server and how to use them.

With Komuta MCP, you can handle your work on Komuta by simply asking your AI assistant, instead of opening the dashboard. Creating a project, publishing an app, setting up a database, checking service logs, or reviewing invoices can all be done with a single message. Below is everything the assistant can do for you, grouped by category.

To set it up, visit: https://www.komuta.io/docs/mcp/mcp-setup


How Many Tools Are There?

Komuta MCP offers 210 tools, all listed below by category.

Not all of these tools are used at once. The assistant first works out which task your request belongs to (komuta_select_workflow) and then proceeds only with that task's tools.


Workflow & Onboarding Tools (6)

ToolDescription
komuta_select_workflowDetermines which task a request belongs to; called before any other tool.
komuta_end_workflowCloses the active workflow when the task is finished or abandoned.
komuta_get_startedReturns a guide for connecting Komuta MCP and the first steps.
komuta_list_organizationsLists the organizations the account belongs to and the one it is signed in to.
komuta_get_local_service_contextReads the default project/service saved for your working folder.
komuta_set_local_service_contextSaves a default project/service pair for your working folder.

Project Tools (4)

ToolDescription
komuta_list_regionsLists available PaaS regions.
komuta_list_projectsLists the user's projects.
komuta_create_projectCreates a new project.
komuta_check_repo_connectedChecks whether a repo is already connected to a project.

Stack Tools (14)

New services are published with a Stack: the komuta.yaml at the repo root is validated, a plan is created and applied with your approval. Details: Stacks.

ToolDescription
komuta_verify_stack_manifest_fileChecks that the local komuta.yaml is ready for validation.
komuta_get_stack_publish_contextReturns the account, target, connection and pricing choices needed to publish.
komuta_resolve_repo_sourceFinds which Git connection sees a repo URL and which branch to use.
komuta_set_stack_profileSaves the preferred Stack authoring style.
komuta_list_stacksLists existing Stacks.
komuta_validate_stackValidates a komuta.yaml file.
komuta_plan_stackCreates an immutable Stack plan valid for 30 minutes.
komuta_get_stack_planRe-reads a plan that was already created.
komuta_create_stack_secret_handoffCreates a single-use, 15-minute console link for entering missing secrets.
komuta_apply_stackApplies a valid plan.
komuta_get_stack_runReturns the status of a Stack run.
komuta_resume_stack_runRetries only the failed steps of a partially failed run.
komuta_get_stack_driftReports whether live resources still match what the Stack last applied.
komuta_export_stackExports the active Stack as komuta.yaml.

Service Tools (16)

ToolDescription
komuta_discover_repo_servicesDiscovers deployable services in a repo branch.
komuta_list_servicesLists services.
komuta_get_service_overviewReturns the service's status overview card.
komuta_get_service_detailsReturns the service configuration.
komuta_get_service_health_probesReturns the service's health probes.
komuta_get_service_routingReturns the service's routing settings.
komuta_list_service_dependenciesLists the service's dependencies.
komuta_list_service_portsLists the service's ports.
komuta_get_service_deploy_optionsReturns the default deploy settings for a service.
komuta_get_service_pipeline_statusReturns the pipeline status of the latest/a specific deploy.
komuta_get_pipeline_task_logsReturns the raw logs of a pipeline step.
komuta_trigger_pipelineRedeploys the service.
komuta_change_branchChanges the branch the service is connected to.
komuta_set_service_replicasChanges the replica count while HPA is off.
komuta_start_service_maintenancePuts the service into maintenance; visitors see a maintenance page.
komuta_end_service_maintenanceTurns maintenance off and starts the service again.

Rollout Tools (10)

ToolDescription
komuta_list_service_rolloutsLists the service's rollouts.
komuta_get_service_rollout_statusReturns rollout status.
komuta_get_service_rollout_historyReturns rollout history.
komuta_pause_service_rolloutPauses a rollout.
komuta_resume_service_rolloutResumes a paused rollout.
komuta_promote_service_rolloutPromotes a rollout to live.
komuta_abort_service_rolloutAborts a rollout.
komuta_retry_service_rolloutRetries a rollout.
komuta_rollback_service_rolloutRolls back to the previous version.
komuta_restart_service_rolloutRestarts a rollout.

Sleep & Always On Tools (9)

ToolDescription
komuta_get_service_sleep_stateReturns whether the service is running or asleep, and why.
komuta_get_service_sleep_historyLists sleep, wake and Always on events.
komuta_hibernate_servicePuts the service to sleep.
komuta_wake_serviceWakes the service.
komuta_set_service_auto_sleepTurns automatic sleep on or off.
komuta_get_free_hours_usageReturns the organization's free hours usage this month.
komuta_get_service_keep_awakeReturns the status of the service's Always on add-on.
komuta_purchase_service_keep_awakeBuys the Always on add-on for the service.
komuta_cancel_service_keep_awakeTurns the Always on add-on off.

Service Doctor Tools (8)

ToolDescription
komuta_assess_serviceAssesses the service with Service Doctor and produces recommendations.
komuta_accept_critical_recommendationAccepts a recommendation.
komuta_defer_critical_recommendationDefers a recommendation until a chosen date.
komuta_dismiss_critical_recommendationDismisses a recommendation.
komuta_prepare_recommendation_action_planPrepares an action plan for an accepted recommendation.
komuta_approve_recommendation_action_planApproves the prepared plan.
komuta_record_recommendation_appliedRecords a manually applied plan as completed.
komuta_verify_recommendation_actionVerifies an applied recommendation by reassessing the service.

Dockerfile Tools (3)

ToolDescription
komuta_generate_dockerfileReturns the prompt + platform build rules for generating a Dockerfile (mandatory BEFORE writing/editing a Dockerfile).
komuta_validate_dockerfileValidates a Dockerfile against platform rules (mandatory AFTER writing/editing).
komuta_validate_dockerfile_locationVerifies the Dockerfile is in the selected service's own directory (mandatory for monorepo scenarios).

Environment Variable Tools (4)

ToolDescription
komuta_list_service_env_varsLists the service's environment variables.
komuta_set_service_env_varsAdds/updates one or more environment variables in one call.
komuta_copy_service_secretsCopies secrets from another service without revealing their values.
komuta_apply_service_env_varsApplies saved environment variables to the running service.

Environment Group Tools (7)

ToolDescription
komuta_list_env_groupsLists environment groups.
komuta_get_env_groupReturns a group's variables and which services use them.
komuta_create_env_groupCreates a new, empty environment group.
komuta_set_env_group_variablesAdds/updates variables in a group.
komuta_preview_env_group_importShows the differences before importing a group into a service.
komuta_import_env_groupImports the chosen variables of a group into a service.
komuta_push_env_groupPushes the group's current values to the chosen services.

Autodeploy Tools (2)

ToolDescription
komuta_get_service_auto_deployReturns the service's auto-deploy configuration.
komuta_set_service_auto_deployApplies the service's auto-deploy configuration.

Scaling Tools (2)

ToolDescription
komuta_get_service_hpaReturns the service's autoscaling (HPA) settings.
komuta_set_service_hpaApplies the service's autoscaling (HPA) settings.

Domain Tools (5)

ToolDescription
komuta_list_domainsLists custom domains bound to services and their DNS/TLS status.
komuta_list_attachable_servicesLists services a domain can be attached to.
komuta_create_domainBinds a custom domain to a service.
komuta_refresh_domain_validationRe-runs DNS and certificate validation.
komuta_delete_domainPermanently removes a domain binding.

Storage Tools (6)

ToolDescription
komuta_list_storage_attachmentsLists persistent storage volumes attached to a service.
komuta_list_storage_packagesLists storage plans.
komuta_list_service_directoriesLists the service's directories to pick a mount path.
komuta_create_storage_attachmentAdds a new storage volume to a service.
komuta_update_storage_attachmentChanges a volume's plan or settings.
komuta_delete_storage_attachmentPermanently deletes a volume and its data.

Access Protection Tools (18)

ToolDescription
komuta_get_service_access_policyShows who can open the service.
komuta_preview_service_access_changeShows the effect of an access change without applying it.
komuta_apply_service_access_changeApplies the approved access change.
komuta_explain_service_accessExplains whether a visitor can open a page and which rule decides.
komuta_list_service_access_sharesLists who can sign in to a protected service.
komuta_list_service_access_share_candidatesLists members and organizations the service can be shared with.
komuta_save_service_access_shareAdds or updates a share.
komuta_delete_service_access_shareRemoves a share.
komuta_list_service_access_tokensLists service tokens for machines.
komuta_create_service_access_tokenCreates a new service token.
komuta_delete_service_access_tokenDeletes a service token.
komuta_get_service_access_mesh_peersShows services that can reach it directly over the private network.
komuta_set_service_access_mesh_peersSets services that can reach it directly over the private network.
komuta_list_service_access_eventsLists sign-in, access and refusal events.
komuta_get_organization_access_sharingShows the setting for sharing outside the organization.
komuta_set_organization_access_sharingTurns sharing outside the organization on or off.
komuta_list_organization_access_identity_providersLists the organization's identity providers.
komuta_get_access_identity_keysReturns the keys an app uses to verify the visitor's identity.

Job Tools (8)

ToolDescription
komuta_get_job_configurationReturns the job configuration.
komuta_get_cronjob_stateReturns the CronJob state.
komuta_get_active_job_runsReturns runs in progress.
komuta_list_job_runsLists run history.
komuta_run_job_nowRuns the job once, right now.
komuta_cancel_job_runCancels a run in progress.
komuta_suspend_cronjobStops scheduled runs.
komuta_resume_cronjobResumes scheduled runs.

Addon Tools (7)

ToolDescription
komuta_create_databaseCreates a managed Postgres instance.
komuta_create_rabbitmqCreates a managed RabbitMQ instance.
komuta_create_valkeyCreates a managed Valkey instance.
komuta_list_addonsLists managed addons.
komuta_get_addonReturns addon status (status poll).
komuta_get_addon_connection_infoReturns addon connection details.
komuta_list_addon_plansLists managed addon plans.

Addon Lifecycle Tools (28)

The same operations for Postgres, Valkey and RabbitMQ are done with separate tools.

ToolDescription
komuta_restart_postgres / _valkey / _rabbitmqRestarts the instance.
komuta_backup_postgres / _valkey / _rabbitmqStarts a backup.
komuta_schedule_deletion_postgres / _valkey / _rabbitmqSchedules the instance for deletion.
komuta_cancel_deletion_postgres / _valkey / _rabbitmqCancels a scheduled deletion.
komuta_preview_postgres_plan_change / valkey / rabbitmqShows a plan change without applying it.
komuta_change_postgres_plan / valkey / rabbitmqSwitches to the approved plan.
komuta_soft_suspend_postgresTemporarily suspends Postgres.
komuta_hard_suspend_postgresFully suspends Postgres.
komuta_resume_postgresResumes a suspended Postgres.
komuta_get_postgres_restore_pointsLists available restore points.
komuta_restore_latest_postgresRestores from the latest backup.
komuta_cancel_postgres_restoreCancels a restore in progress.
komuta_rotate_postgres_credentialsRotates Postgres credentials.
komuta_get_postgres_backup_healthReturns backup health.
komuta_refresh_addon_backup_statusRefreshes addon backup status.
komuta_list_addon_alertsLists addon alert rules.

Connection Tools (6)

ToolDescription
komuta_list_git_connectionsLists Git service connections.
komuta_list_registry_connectionsLists container registry connections.
komuta_get_github_install_urlReturns the GitHub App installation URL.
komuta_list_connection_reposLists repos visible through a Git connection.
komuta_list_connection_branchesLists a repo's branches through a connection.
komuta_create_registry_connectionCreates a new container registry connection.

API Gateway Tools (19)

ToolDescription
komuta_list_api_gatewaysLists API Gateways.
komuta_get_api_gatewayReturns gateway details.
komuta_get_api_gateway_pricingReturns gateway pricing.
komuta_list_gateway_apisLists APIs on the gateway.
komuta_list_gateway_api_candidatesLists services that can be added to the gateway.
komuta_list_gateway_operationsLists gateway operations.
komuta_list_gateway_keysLists gateway keys.
komuta_revoke_gateway_keyRevokes the selected key.
komuta_preview_gateway_configPreviews the saved configuration.
komuta_get_gateway_pending_changesReturns pending changes.
komuta_apply_gateway_configApplies the previewed configuration.
komuta_get_gateway_live_configReturns the live configuration.
komuta_get_gateway_versionReturns the gateway version.
komuta_get_gateway_metricsReturns request metrics.
komuta_get_gateway_scaleReturns replica settings.
komuta_set_gateway_scaleChanges replica settings.
komuta_get_gateway_bandwidthReturns bandwidth plans and usage.
komuta_set_gateway_bandwidth_planChanges the bandwidth plan.
komuta_delete_api_gatewayDeletes the gateway.

Alert Tools (12)

ToolDescription
komuta_list_alert_rulesLists alert rules.
komuta_get_alert_ruleReturns an alert rule.
komuta_list_alert_templatesLists alert templates.
komuta_create_alert_ruleCreates a new alert rule.
komuta_update_alert_ruleUpdates an alert rule.
komuta_delete_alert_ruleDeletes an alert rule.
komuta_deploy_alert_ruleDeploys an alert rule.
komuta_undeploy_alert_ruleUndeploys an alert rule.
komuta_set_alert_enabledTurns an alert rule on or off.
komuta_get_alert_historyReturns alert history.
komuta_list_notification_channelsLists notification channels.
komuta_set_notification_channel_activeTurns a notification channel on or off.

Observability & Audit Tools (4)

ToolDescription
komuta_query_service_logsQueries the service's pod logs.
komuta_query_service_tracesSearches the service's traces.
komuta_get_trace_detailReturns the detail of a trace.
komuta_query_security_auditReturns security audit events.

Billing & Pricing Tools (12)

ToolDescription
komuta_get_service_invoicesReturns the service's current-cycle charges and invoice history.
komuta_get_account_costReturns the account's current-cycle cost.
komuta_get_account_cost_historyReturns the account's cost history.
komuta_get_build_minutes_usageReturns build minute allowance and usage.
komuta_get_account_billing_statusReturns the account's billing status.
komuta_get_account_walletReturns the wallet balance.
komuta_list_wallet_transactionsLists wallet transactions.
komuta_list_account_statementsLists account statements.
komuta_get_statement_itemsReturns statement line items.
komuta_get_statement_payment_linkCreates a payment link for the selected statement.
komuta_pay_statement_from_balancePays the statement from the wallet balance.
komuta_list_resource_packagesLists PaaS resource packages (package selection always belongs to the user, never the agent).