mcp:readreaches every read-only tool and nothing else, so a read token changes nothing.mcp:writeadds the mutating tools - everything markedmcp:writebelow, including the ephemeral workspace operations and throwaway pull request demos. The in-product Ask mode allows those as safe creations, but over MCP they needmcp:write. Write access implies the read surface. A write that asks you to confirm in the Ankra chat runs directly over MCP: the token scope is the approval.
cluster_id argument (a UUID); call list_clusters first to discover IDs. Before dispatch Ankra verifies that the cluster belongs to the token’s organisation and, while the organisation has projects on, to the project the token acts in; any other cluster answers Cluster not found. Tools marked No do not require cluster_id. Many of them still act on one cluster, and take an optional cluster_id or cluster_name selector that falls back to the cluster selected for the session (for example get_node_usage and roll_cluster_to_version). The rest operate at the organisation level.
Portal links: list_clusters and get_cluster_details return each cluster’s portal_url, and get_portal_url builds the portal link for any other page, so a client can hand you a clickable link to what it is describing. See Portal URLs.
Creating a credential is deliberately not available over MCP or chat. Creating one would mean passing the secret itself as a tool argument, and Ankra refuses a mutating tool call whose parameters look like they carry a literal secret. Create credentials in the portal or CLI; over MCP you can list and inspect credentials (secret fields are always redacted), validate names, delete unused credentials, and plan or apply a GitHub credential rotation. Organisation secrets work differently:
create_secret and rotate_secret have Ankra generate the value, and request_secret sends the person to the secrets page, so none of them takes a value.Clusters & Kubernetes
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_clusters | mcp:read | No | List the organisation’s clusters with state, environment, Kubernetes version, and its portal_url, one page at a time: limit (1-100, default 100) and page, and each answer gives total_count and the next_page to read, null on the last page |
get_cluster_details | mcp:read | No | Detailed information about one cluster by name or ID, with its portal_url |
get_cluster_attention_summary | mcp:read | No | The exact signals behind a cluster’s Needs Attention badge |
get_cluster_baseline | mcp:read | No | A cluster’s Ankra Baseline score: ten checks from the latest nightly evaluation, each pass, fail or unknown with its evidence, gaps heaviest first; an unknown check counts as coverage, never as a pass, and computed false means not scored yet, not a score of zero |
get_cluster_status | mcp:read | Yes | Cluster health overview |
get_cluster_snapshot | mcp:read | Yes | Full cluster overview in a single call |
get_cluster_cost | mcp:read | Yes | Estimated cloud infrastructure cost for the cluster |
get_stack_cost | mcp:read | Yes | Estimated cost attributed to one Stack, derived from its namespaces |
get_security_reports | mcp:read | Yes | Trivy Operator image-vulnerability summary |
get_compliance_reports | mcp:read | Yes | Trivy benchmark checks, remediation, passed controls, and configuration-audit summary |
get_cluster_bastion | mcp:read | Yes | Public IP of the Ankra-managed bastion/gateway host |
list_namespaces | mcp:read | Yes | List namespaces with their status |
get_resource_quotas | mcp:read | Yes | Resource quotas and current usage per namespace |
list_recent_executions | mcp:read | Yes | Recent platform executions (deployments, write operations), each with its intent (cluster_create, cluster_delete or null); a create the provider refused carries create_refused: true |
get_execution_details | mcp:read | Yes | Full details for one execution, including steps, error excerpts and its intent; a create the provider refused, on the execution or one of its steps, carries create_refused: true |
wait_for_execution | mcp:read | Yes | Block up to 50 seconds for an execution to settle, then return its details, or timed_out: true with the last observed state |
cluster_query | mcp:read | Yes | Structured lookup against the live cluster resource index |
cluster_search | mcp:read | Yes | Full-text search over the live cluster resource index |
cluster_describe | mcp:read | Yes | Full body of one named resource from the live cluster index |
get_pods | mcp:read | Yes | Pod status, restarts, and placement, with namespace/name/label filters |
get_pod_logs | mcp:read | Yes | Logs from a specific pod |
get_deployments | mcp:read | Yes | Deployment information |
get_statefulsets | mcp:read | Yes | StatefulSet information |
get_daemonsets | mcp:read | Yes | DaemonSet information |
get_services | mcp:read | Yes | Service information |
get_ingresses | mcp:read | Yes | Ingress information |
get_events | mcp:read | Yes | Kubernetes events (Normal/Warning) |
get_nodes | mcp:read | Yes | Node information |
get_configmaps | mcp:read | Yes | ConfigMap information |
get_secrets | mcp:read | Yes | Secret metadata (never secret values) |
get_jobs | mcp:read | Yes | Job information |
get_cronjobs | mcp:read | Yes | CronJob information |
get_pvcs | mcp:read | Yes | PersistentVolumeClaim information |
get_cluster_role_bindings | mcp:read | Yes | ClusterRoleBindings and RoleBindings for RBAC analysis |
describe_resource | mcp:read | Yes | Detailed YAML/JSON for one Kubernetes resource |
describe_resources | mcp:read | Yes | Batch-fetch multiple Kubernetes resources in one call |
code_context | mcp:read | Yes | What a coding agent needs to fix a workload’s code, in one read: each container’s image mapped to the commit it was built from, when the running revision started, its error lines grouped with counts, stack frames as file:line guesses, and its restarts and last termination; secrets in log lines are redacted |
restart_deployment | mcp:write | Yes | Rolling restart of a deployment |
scale_deployment | mcp:write | Yes | Scale a deployment to a replica count |
scale_statefulset | mcp:write | Yes | Scale a StatefulSet to a replica count |
delete_pod | mcp:write | Yes | Delete a specific pod |
delete_resource | mcp:write | Yes | Delete any Kubernetes resource, including custom resources. In a namespace a Stack’s add-on installs into, an object a Stack owns is refused, naming the Stack (changed through the Stack) |
apply_manifest | mcp:write | Yes | Apply a Kubernetes manifest to create or update resources. In a namespace a Stack’s add-on installs into, it is refused whatever the manifest holds: add the manifest to the Stack instead (changed through the Stack) |
patch_resource | mcp:write | Yes | Patch a Kubernetes resource (strategic merge or JSON patch). In a namespace a Stack’s add-on installs into, an object a Stack owns is refused, naming the Stack (changed through the Stack) |
create_storage_class | mcp:write | Yes | Create a StorageClass for a CSI driver installed on the cluster; never edits an existing class and never makes the new one the default (kubernetes.write) |
delete_storage_class | mcp:write | Yes | Delete a StorageClass no claim or volume uses; the default class is refused, and volumes already provisioned from it are not touched (kubernetes.write) |
delete_persistent_volumes | mcp:write | Yes | Delete up to 20 Released or Available PersistentVolumes no claim is bound to, snapshotting each CSI volume first where the cluster can; a volume that cannot be snapshotted loses its data for good (kubernetes.write) |
add_helm_registry | mcp:write | No | Add a Helm chart registry to the organisation’s catalog |
cancel_execution_step | mcp:write | No | Cancel one step of a running execution while the rest continues |
cancel_execution | mcp:write | No | Cancel a running platform execution; a mid-flight cancellation can leave the resource between versions until the next reconcile |
retry_execution | mcp:write | No | Retry a terminal (failed, cancelled, timeout) execution from the start with its original payload |
reconcile_cluster | mcp:write | No | Re-render every stack member against the committed definitions and variables and re-apply drift (takes a cluster_id argument) |
get_node_usage | mcp:read | No | Live CPU and memory per node from metrics-server, with allocatable capacity and percentages (never a cached answer) |
get_pod_usage | mcp:read | No | Live CPU and memory per pod from metrics-server, optionally per container, filtered by namespace |
get_cluster_agent_status | mcp:read | No | The Ankra agent’s online state, version against the latest release, upgrade posture and last check-in, and the tolerations Ankra holds for it (held_tolerations) |
upgrade_cluster_agent | mcp:write | No | Upgrade the agent to the latest release now instead of waiting for the fleet rollout (agents.manage) |
set_cluster_agent_resources | mcp:write | No | Set the Ankra agent’s memory and CPU limits and requests on a cluster, for example after it was OOMKilled; the agent restarts onto the new sizing, Ankra holds it for later upgrades and reinstalls, and survives_agent_upgrades in the result says whether that holds on this agent (agents.manage) |
set_cluster_agent_tolerations | mcp:write | No | Set the extra tolerations Ankra holds for the Ankra agent on a cluster, so it can run on tainted nodes. The call replaces the whole list, up to eight; an online agent that accepts it restarts with it, and an empty list stops holding any (agents.manage) |
list_helm_releases | mcp:read | No | Every Helm release installed on the cluster, Ankra-managed or not, for drift detection |
get_cluster_dns_zone | mcp:read | No | The cluster’s generated DNS zone and the public domain hostnames publish under |
get_sops_config | mcp:read | No | Whether SOPS is enabled and the AGE public key secrets are encrypted with |
resize_bastion | mcp:write | No | Resize the bastion of an Ankra-provisioned cluster (clusters.write) |
resync_cluster_ssh_keys | mcp:write | No | Re-register the cluster’s SSH key with its provider (clusters.write) |
cordon_node | mcp:write | Yes | Mark one node unschedulable so no new pods land on it, while running pods keep running |
uncordon_node | mcp:write | Yes | Make a cordoned node schedulable again, the reversal of cordon_node |
get_cluster_platform_settings | mcp:read | No | One of a cluster’s platform settings, picked with report: its labels (which place it in dynamic groups), control-plane or worker self-heal and the last incident each handled, held platform updates, one Stack’s variables, the k3s components a self-managed cluster runs without, or an UpCloud cluster’s ingress load balancer plan. Changes nothing |
Stacks
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_stacks | mcp:read | Yes | List the cluster’s Stacks with their add-ons, manifests, and state |
get_stack_details | mcp:read | Yes | One Stack in full, including add-on and manifest configuration |
get_stack_history | mcp:read | Yes | Version history: who changed what and when, per resource |
get_stack_deployments | mcp:read | Yes | Deployment status grouped per resource, with failure detail |
export_cluster_iac | mcp:read | Yes | Export the cluster’s Stacks as an Infrastructure-as-Code YAML document |
validate_stack | mcp:read | Yes | Validate a Stack specification without applying it |
list_available_charts | mcp:read | No | Browse the Helm chart catalog with search and category filters |
create_stack | mcp:write | Yes | Create a new Stack on the cluster |
update_stack | mcp:write | Yes | Update a Stack’s add-ons, manifests, or configuration |
rename_stack | mcp:write | Yes | Rename a Stack |
redeploy_stack | mcp:write | Yes | Re-deploy a Stack to reconcile it onto the cluster |
clone_stack | mcp:write | Yes | Clone a Stack within or across clusters |
addon_install | mcp:write | Yes | Install a chart from the catalog into a Stack |
delete_stack | mcp:write | Yes | Delete an entire Stack and everything it deployed |
uninstall_stack | mcp:write | Yes | Take every add-on, manifest and application of a Stack off the cluster while the Stack stays declared in Ankra and in Git, so install_stack can bring it back |
install_stack | mcp:write | Yes | Deploy an uninstalled Stack’s members again, in dependency order, with the definitions the Stack holds now |
uninstall_addon_from_stack | mcp:write | Yes | Uninstall one add-on from a deployed Stack |
disconnect_manifest_from_stack | mcp:write | Yes | Remove a manifest from a deployed Stack |
list_stack_profiles | mcp:read | No | List reusable stack profiles, including public ones |
get_stack_profile | mcp:read | No | A stack profile’s metadata, version history, and contents |
create_stack_profile | mcp:write | Yes | Save a deployed Stack as a new reusable stack profile |
save_stack_profile_version | mcp:write | Yes | Snapshot a deployed Stack as a new version of an existing profile |
update_stack_profile | mcp:write | Yes | Update a stack profile’s metadata |
delete_stack_profile | mcp:write | Yes | Delete a stack profile and all its versions |
instantiate_stack_profile | mcp:write | Yes | Instantiate a stack profile onto the cluster |
list_stack_profile_deployments | mcp:read | No | Where a stack profile runs: every cluster and stack deployed from it, the version each runs, and whether it is behind the current version or on a deprecated one |
diff_stack_profile_versions | mcp:read | No | Compare two published versions of a stack profile: the add-ons, manifests and parameters one adds, removes or changes against the other |
list_stack_profile_shares | mcp:read | No | The organisations a stack profile is shared with, with each share’s id for unshare_stack_profile |
adopt_stack_profile | mcp:write | No | Record a stack a cluster already runs as a deployment of a stack profile without changing the cluster; only_on_cluster lists the members a rollout of the version would remove |
rollout_stack_profile_version | mcp:write | No | Update the stacks deployed from a profile to a published version in place, keeping each one’s non-secret inputs. A member the version drops is removed only if the profile put it there or confirmed_member_removals names it, else that target is refused unchanged; try dry_run first, and a failure stops the rest unless continue_on_error |
deprecate_stack_profile_version | mcp:write | No | Mark a published version of a profile your organisation owns as unfit to deploy: new deployments of it are refused and its deployments are flagged. The current version cannot be deprecated; reason is incompatibility, critical_bug or cve |
undeprecate_stack_profile_version | mcp:write | No | Lift a version’s deprecation so it can be deployed again |
share_stack_profile | mcp:write | No | Share a stack profile your organisation owns with another organisation, which can then list and deploy it |
unshare_stack_profile | mcp:write | No | Stop sharing a stack profile with an organisation; stacks it already deployed keep running |
validate_cluster_manifest | mcp:read | No | Validate an ImportCluster YAML the way ankra cluster validate and the API do, without changing anything |
apply_cluster_manifest | mcp:write | Yes | Apply an ImportCluster YAML declaratively: every stack the manifest names is replaced by its definition there, and stacks it does not name are left untouched. Removing a member (add-on, manifest, application) that a named stack has and the manifest no longer lists is refused, naming the members and changing nothing, unless confirmed_member_removals names each one as kind/name or prune is true (stacks.write) |
stage_cluster_manifest_drafts | mcp:write | Yes | Stage every stack in an ImportCluster YAML as a draft for a person to promote |
roll_cluster_to_version | mcp:write | No | Roll the whole cluster definition back to an earlier resource version (clusters.operate) |
export_stack_profile_iac | mcp:read | No | Export a published profile version as ClusterInfrastructureAsCode YAML |
import_stack_profile | mcp:write | No | Create a stack profile from a ClusterInfrastructureAsCode YAML document, publishing its first version, or open it as a builder draft for human review with as_draft |
apply_stack_changes | mcp:write | Yes | Apply the current stack draft to the cluster, preserving items absent from the draft unless replace_missing is set |
get_stack_profile_draft | mcp:read | No | Read a stack profile builder draft with its contents, parameters and publish validation verdict |
create_stack_profile_draft | mcp:write | No | Start a stack profile builder draft for a new profile, or for a new version of an existing one, without a cluster |
add_addon_to_stack_profile_draft | mcp:write | No | Add a Helm chart add-on to a stack profile builder draft, with ANKRA_SECRET_PARAMETER standing in for any secret value |
update_addon_in_stack_profile_draft | mcp:write | No | Change an add-on’s Helm values, chart version, namespace or parents inside a stack profile builder draft |
remove_addon_from_stack_profile_draft | mcp:write | No | Remove an add-on from a stack profile builder draft and clean up references to it |
add_manifest_to_stack_profile_draft | mcp:write | No | Add a raw Kubernetes manifest to a stack profile builder draft, with real secret values rejected |
remove_manifest_from_stack_profile_draft | mcp:write | No | Remove a manifest from a stack profile builder draft and clean up references to it |
publish_stack_profile_draft | mcp:write | No | Validate a stack profile builder draft and publish it as a new profile or the next version of an existing one |
get_stack_profile_summary | mcp:read | No | The approved summary of one stack profile version: what it deploys, as statements built from its own resources, its coverage gaps and its parameters; with fact_id, the evidence behind one statement (the twin of ankra stack-profiles summary get) |
Add-ons
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_addons | mcp:read | Yes | List installed add-ons with sync status, health, and version |
get_addon_details | mcp:read | Yes | One add-on in detail, including its resource tree |
get_addon_status | mcp:read | Yes | Status of the add-ons Ankra manages on the cluster |
get_addon_history | mcp:read | Yes | Deployment history: previous versions and sync operations |
get_addon_settings | mcp:read | Yes | An add-on’s settings (chart version, namespace, sync options) |
get_addon_configuration | mcp:read | Yes | An add-on’s Helm values, with secret values redacted |
sync_addon | mcp:write | Yes | Trigger a sync to apply pending changes from the source repository |
rollback_addon | mcp:write | Yes | Roll an add-on back to a previous deployment version |
update_addon_settings | mcp:write | Yes | Update an add-on’s settings |
update_addon_configuration | mcp:write | Yes | Update an add-on’s Helm values |
list_helm_registries | mcp:read | No | The organisation’s connected Helm registries with sync state (credentials never returned) |
get_helm_registry | mcp:read | No | One registry with a page of the charts it holds |
list_helm_registry_sync_jobs | mcp:read | No | A registry’s sync jobs, to see whether a missing chart simply has not synced |
list_helm_registry_credentials | mcp:read | No | Stored registry credentials by name and id only |
sync_helm_registry | mcp:write | No | Re-read a registry’s index now (helm.manage) |
get_chart_default_values | mcp:read | No | A chart version’s default values.yaml |
render_chart_template | mcp:read | No | Render a chart version’s manifests server-side like helm template, with optional values |
get_chart_details | mcp:read | No | Detailed chart information at a repository URL: maintainers, versions, app versions |
get_addon_security_updates | mcp:read | Yes | Installed add-ons whose running version is covered by an upstream security advisory with a fix, and the chart version to upgrade to |
list_chart_versions | mcp:read | Yes | Every catalog version of one Helm chart, newest first, with the registries that carry it |
get_manifest_addon | mcp:read | No | A manifest add-on an application published to the organisation’s catalogue: its catalogue details and published versions, or with to_version a comparison of two published versions (from_version defaults to the one before it), optionally narrowed to paths |
install_manifest_addon | mcp:write | Yes | Install a manifest add-on an application published onto a cluster: version defaults to the latest published one, inputs are the add-on’s options as names to string values, and the install is queued as a deploy on that cluster (applications.deploy) |
retire_manifest_addon | mcp:write | No | Take a manifest add-on out of the organisation’s catalogue: action unpublish hides it from new installs and keeps what is installed running, action delete removes the add-on and undeploys every installation that came from it, which cannot be undone (applications.write; delete also needs applications.delete) |
get_addon_definitions | mcp:read | No | The organisation’s add-on definitions, which match Helm charts to an add-on by chart name, keyword or home URL; source global is Ankra’s and read-only, source org is the organisation’s own. With definition_name, one definition with its manual chart links (the twin of ankra helm addon-catalog list and get) |
Applications
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_applications | mcp:read | No | List the organisation’s applications with state and analysis status |
get_application | mcp:read | No | One application’s repository, artifacts, pull request, and lifecycle state |
get_application_jobs | mcp:read | No | The platform jobs behind an application’s analysis and generation |
get_application_deployments | mcp:read | No | Where an application is deployed and its readiness |
list_application_installations | mcp:read | No | List the installations of an application across clusters |
list_application_workflow_runs | mcp:read | No | CI workflow runs for an application’s repository |
get_application_workflow_run_jobs | mcp:read | No | Jobs and step detail for one application workflow run |
create_application | mcp:write | No | Connect a repository as a new application and start analysis |
deploy_application | mcp:write | No | Deploy an application onto a cluster as part of a Stack |
retry_application | mcp:write | No | Re-run analysis and generation after a failure |
reconcile_application | mcp:write | No | Re-evaluate an application against its repository and refresh its state |
rerun_application_workflow | mcp:write | No | Re-run a CI workflow run for an application |
delete_application | mcp:write | No | Disconnect an application from Ankra |
get_application_setup_proposal | mcp:read | No | The generated setup: detected stack, setup PR, database, and the deploy contract with its negotiable options |
revise_application_setup | mcp:write | No | Change a recorded deploy-contract default; commits the revised contract to the setup branch |
get_application_publish_readiness | mcp:read | No | Whether the repository can publish images - registry, Actions secrets, publish step, and an actually-pushed image |
list_application_env_secrets | mcp:read | No | Stored environment-secret keys (a secret’s value is never returned), and the application’s shared plain values with their values for a caller who can read applications; plain_values is null, with the reason, when they could not be read |
set_application_env_secret | mcp:write | No | Store one environment-secret value (API-token only - chat surfaces never carry secret values); a value that looks like a live credential is refused: set it on the application’s Secrets tab instead |
delete_application_env_secret | mcp:write | No | Remove one stored environment-secret key |
apply_application_env_secrets | mcp:write | No | Seal the stored secrets into every deployment and roll the workloads |
get_application_auto_deploy | mcp:read | No | Whether push-to-deploy is enabled and the build watermark it converges from |
set_application_auto_deploy | mcp:write | No | Turn push-to-deploy on or off (enabling stamps the current build; a manual rollback is never fought) |
get_application_container_security | mcp:read | No | Image CVEs from the pipeline’s scans plus Dependabot and OSV |
get_application_code_security | mcp:read | No | SAST and IaC findings from the pipeline’s scan artifacts |
get_preview_domain | mcp:read | No | The DNS zones and hostname suffix a cluster may publish on - always consult before proposing a public hostname |
get_application_timeline | mcp:read | No | An application’s recorded history newest first, from creation through builds, deploys, demos and AI reviews |
get_application_configuration | mcp:read | No | One section of how an application is configured, picked by section: its environments and their deploy targets, the operating expectations adopted for one environment, the name of the Git credential it builds with and whether it resolves (never the credential), the launch plan of its current contract or of a commit, the builds one cluster can be rolled back to and the rollbacks already started there, or the organisation-wide application defaults |
get_application_provenance | mcp:read | No | The deploy provenance mode an application resolves to (off, warn or enforce) and whether it comes from the application or the organisation; with images a dry run of the verification instead: what a deploy of those images would do (deploy, deploy_with_finding, refuse or not_checked) and the verdict for each image, signing keys never read (pipelines.read) |
set_application_operating_expectations | mcp:write | No | Adopt the operating expectations of one environment of an application: availability, data region, recovery time, tolerated data loss, retention, monthly budget and who does routine care; every field is required and expected_revision must be the revision last read (0 when none is adopted), a stale revision being refused so a change made meanwhile is not overwritten (applications.deploy) |
rename_application_environment | mcp:write | No | Rename one environment of an application: only the name changes, the environment’s id, role, order and deployments stay as they are; a name another environment holds, or one that is a cluster’s name, is refused (applications.write) |
promote_application | mcp:write | No | Move exactly the image tag one environment runs onto the next environment through the ordinary deploy, never a rebuild |
park_application_deployment | mcp:write | Yes | Scale one deployment of an application to zero on purpose, remembering its replica count so it can be woken |
wake_application_deployment | mcp:write | Yes | Restore a parked deployment to its remembered replica count |
remove_application_deployment | mcp:write | Yes | Take one deployment of an application off one cluster and namespace, uninstalling its workloads, while the application and its other deployments stay. A database or volume claim among what it would remove goes only when a complete restore point of its stack, taken in the last 24 hours, holds it. An add-on (other than the one Ankra adds for the application’s service connections) or a manifest Ankra cannot read is never covered, because Ankra cannot tell what data it holds. When any of them is not covered, nothing is removed and the removal ends failed, naming the data. The installation reads removing until Ankra hands the teardown to the cluster, and is then deleted (applications.deploy) |
get_application_ai_config | mcp:read | No | How Ankra AI is configured for an application’s repository per lane, including the pull request review budget |
update_application_ai_config | mcp:write | No | Change how Ankra AI runs on an application’s repository, such as enabling a lane, its model, scope or review budget |
list_application_pull_request_reviews | mcp:read | No | The AI reviews Ankra has posted on an application’s pull requests, newest first, with their findings |
Credentials
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_credentials | mcp:read | No | List every credential across all providers, with availability and sync state; a GitHub App credential also reports its installation_id |
get_credential | mcp:read | No | One credential’s identity, availability, and dependents - secret fields are always redacted |
validate_credential_name | mcp:read | No | Check whether a credential name is valid and free to use |
get_github_credential_usages | mcp:read | No | Everything that depends on a GitHub credential |
verify_github_credential | mcp:read | No | Probe a GitHub App credential’s installation and report each check |
get_github_credential_activity | mcp:read | No | Recent GitHub App installation activity events for a credential |
plan_github_credential_replacement | mcp:read | No | Build the plan for rotating a deprecated GitHub OAuth credential to a GitHub App credential |
list_provider_credentials | mcp:read | No | List cloud provider and SSH key credentials |
list_gitops_credentials | mcp:read | No | List GitHub credentials available for GitOps |
list_gitops_repositories | mcp:read | No | List repositories reachable under a GitHub credential |
delete_credential | mcp:write | No | Delete a credential that is not in use |
replace_github_credential | mcp:write | No | Apply a planned GitHub credential rotation (organisation admins only) |
Organisation Secrets
Organisation secrets hold a value that stack values, manifests and MCP server env reference by its${SECRET_SLOT:<id>} sentinel, and Ankra resolves and seals it at deploy. No tool here takes or returns a secret value. These are not Kubernetes Secrets (get_secrets reads those).
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_secrets | mcp:read | No | The organisation’s secrets with name, description, whether a person typed the value or Ankra generated it, when each was created and last used, its expiry and the clusters and resources that use it, each with its sentinel; values are never returned |
request_secret | mcp:read | No | Ask the person for a secret only they have without the value entering the conversation: answers the sentinel when one is stored under the name, otherwise a link to the organisation’s secrets page where they store it, then call again with the same name |
create_secret | mcp:write | No | Create an organisation secret whose random value Ankra generates and nobody sees, for a credential that only has to match between the parts that use it, and return its sentinel; it never takes a value and has no expiry (variables.write) |
rotate_secret | mcp:write | No | Replace an organisation secret’s value with a new generated one in place, so the sentinel stays and every resource that uses it gets the new value on its next reconcile; the old value is gone, a workload that read it at start keeps it until it restarts, and a secret a person typed is replaced on the secrets page (secrets.manage) |
delete_secret | mcp:write | No | Delete an organisation secret and its value, which cannot be recovered; refused while a live resource still uses it, naming those resources (secrets.manage) |
Variables
Variables are the plain-text configuration values stack definitions interpolate with${{ ankra.variables.* }} - never secrets (the platform refuses secret-looking values; secrets travel SOPS-encrypted).
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_organisation_variables | mcp:read | No | The organisation-wide variables every cluster inherits |
list_cluster_variables | mcp:read | Yes | One cluster’s variables, overriding same-named organisation variables |
set_organisation_variable | mcp:write | No | Create or update (upsert) an organisation variable |
delete_organisation_variable | mcp:write | No | Delete an organisation variable |
set_cluster_variable | mcp:write | Yes | Create or update (upsert) a variable on one cluster |
delete_cluster_variable | mcp:write | Yes | Delete a variable from one cluster |
GitOps
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_gitops_conflicts | mcp:read | No | Open GitOps merge conflicts: resources changed in both Git and the cluster |
get_gitops_conflict_diff | mcp:read | No | The Git, cluster, and base sides of one conflict, with secrets redacted |
resolve_gitops_conflict | mcp:write | No | Resolve one GitOps merge conflict by picking the winning side |
get_gitops_status | mcp:read | No | The cluster’s sync state: repository, branch, credential, last and pending commits, plus credential_missing and source_mismatch |
connect_gitops_repository | mcp:write | No | Connect a GitOps repository and branch to a cluster that has none, using an existing GitHub credential |
Source Control & Workspaces
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
github_list_repositories | mcp:read | No | List GitHub repositories the connected account can reach |
github_list_repository_files | mcp:read | No | List files and directories in a repository |
github_read_file | mcp:read | No | Read one file from a repository |
github_list_workflow_runs | mcp:read | No | Recent GitHub Actions workflow runs for a repository |
github_get_workflow_run_jobs | mcp:read | No | Jobs and step-level detail for one workflow run |
github_get_job_logs | mcp:read | No | Log output for one GitHub Actions job |
github_list_artifacts | mcp:read | No | GitHub Actions artifacts for a repository |
github_download_artifact | mcp:read | No | Download and read the contents of an artifact |
github_commit_files | mcp:write | No | Commit one or more files to a repository |
github_create_pull_request | mcp:write | No | Create a pull request with file changes |
scm_create_pull_request | mcp:write | No | Open a pull request on a GitHub repository - the pull request itself is the review gate |
list_related_repositories | mcp:read | No | The repositories stated as related for AI code review under one GitHub App installation |
relate_repositories | mcp:write | No | State that two repositories are related, so a code review of either may read the other (organisation admin) |
unrelate_repositories | mcp:write | No | Remove a stated relationship, in whichever order it was stated (organisation admin) |
workspace_search_code | mcp:write | No | Search an application’s source repository from an ephemeral, locked-down workspace |
workspace_read_file | mcp:write | No | Read one file from an application’s source repository via an ephemeral workspace |
workspace_list_files | mcp:write | No | List an application repository’s files via an ephemeral workspace |
workspace_exec | mcp:write | No | Run one command without a shell in the application’s Ankra Workspace on the head of a branch, optionally with files written over the checkout first, and return the exit code and output tail; it waits up to timeout_seconds (at most 330), and no secrets or environment variables reach the workspace (workspaces.use) |
deploy_pr_demo | mcp:write | No | Deploy a throwaway, time-limited demo of a pull-request build into an isolated namespace; returns a public preview_url when a demo domain or active cluster DNS zone is configured |
demo_stop | mcp:write | No | Tear down a pull-request demo |
get_demo_diagnostics | mcp:read | No | Read a demo’s tracked record plus a log tail of its container’s most recent start attempt - the crash evidence behind a failed demo |
redeploy_demo | mcp:write | No | Redeploy an existing PR or branch demo with its recorded identity so the application’s saved demo configuration applies |
get_application_demo_config | mcp:read | No | Read an application’s saved demo environment defaults and throwaway-database flag |
update_application_demo_config | mcp:write | No | Replace an application’s saved demo configuration (the pre-setup every future demo inherits); affects only TTL-reaped demo namespaces |
github_search_code | mcp:read | No | Search file contents on a repository’s default branch with GitHub code search |
watch_workflow_run | mcp:read | No | Register a watch on the CI run a commit triggered; in the Ankra chat the conversation is woken with its conclusion, but over MCP nothing wakes the client, so read the run with list_application_workflow_runs instead |
scm_merge_pull_request | mcp:write | No | Ask Ankra to merge a pull request automatically once its pipeline, gates and reviews are green; it only records the request, and needs the repository’s GitHub connection in Agent mode (a connection setting, not the chat’s Ask/Agent switch) with Merge when green on. A fork pull request is never merged automatically |
github_get_pull_request | mcp:read | No | Why a pull request cannot merge: its state, mergeability, how far it is behind its base, each required check on the head, the reviews it needs and has, its place on the Ankra merge train and any pending merge-when-green request; blocking_reasons lists only causes these reads establish |
enable_merge_when_green | mcp:write | No | Turn on Merge when green for the GitHub connection a repository is reached through, which applies to every repository on that connection; it never switches a connection from Ask to Agent mode, so a connection in Ask mode is refused (ai.manage, organisation admins only) |
list_application_demos | mcp:read | No | An application’s active PR and branch demos with status, preview URL and expiry |
inspect_demo | mcp:read | No | Diagnose a demo or preview that does not load, reading its record and the live state that decides whether it is reachable |
Observability & Alerts
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_alerts | mcp:read | No | The organisation’s alert definitions, firing state, and alert metrics |
create_alert | mcp:write | No | Create an alert definition with rules in the evaluator’s vocabulary (cluster state, GitOps sync, metric thresholds, metrics stopped flowing, security findings, resource state, job status); a rule naming no clusters targets the bound cluster |
set_alert_enabled | mcp:write | No | Enable or mute one alert; muting keeps the firing history and settles its open incidents |
delete_alert | mcp:write | No | Permanently delete an alert definition, its rules and its firing history |
query_prometheus | mcp:read | Yes | PromQL instant query. Ankra built-in metrics answer first, then the cluster’s connected Prometheus |
query_prometheus_range | mcp:read | Yes | PromQL range query over a time window, answered in the same order. duration and step take a duration such as 5m or 3h20m (units largest first, as Prometheus writes them) or a whole number of seconds such as 300 |
list_alert_destinations | mcp:read | No | The Slack / Teams / Discord / PagerDuty / webhook endpoints notifications deliver to (webhook URLs redacted to their host) |
create_alert_destination | mcp:write | No | Create a channel-based alert destination: a Slack channel the organisation’s Ankra Slack app posts to, or a Microsoft Teams channel |
list_notification_routes | mcp:read | No | The rules that filter notifications by kind, severity, cluster, source, application and reference pattern onto destinations |
preview_notification_routing | mcp:read | No | Dry-run a hypothetical notification through the organisation’s routing and report every delivery, suppression and reason |
create_notification_route | mcp:write | No | Route matching notifications to an existing destination |
update_notification_route | mcp:write | No | Change one route’s filters, destination, priority, mode or enabled state |
delete_notification_route | mcp:write | No | Delete a route; what gets delivered or suppressed changes immediately |
test_notification_route | mcp:write | No | Queue a sample notification through a route’s destination (alerts.write) |
get_notification_route | mcp:read | No | One notification route’s filters, destination, priority, mode, stop-on-match and enabled state; a route another project owns answers not found, and a filter naming a cluster, application or source you cannot read reads as null with a scope_note, so that null does not mean every cluster |
list_alert_destination_channels | mcp:read | No | The Slack channels the organisation’s Ankra Slack app can post to, or the Microsoft Teams channels of every team the Ankra bot is installed in, for a channel-based alert destination |
get_alert_destination | mcp:read | No | One alert destination’s name, type, Slack or Teams channel, description, message template and enabled state (a webhook URL redacted to its host) |
update_alert_destination | mcp:write | No | Change an alert destination’s name, description, message template or enabled flag; disabling it stops every notification routed to it, and its URL or channel changes only in the portal or CLI (alerts.manage) |
delete_alert_destination | mcp:write | No | Delete an alert destination: every route and alert that delivers to it stops reaching it, and a webhook destination’s URL is gone for good (alerts.manage) |
query_logs | mcp:read | Yes | Search the cluster’s registered log store (Loki, Elasticsearch, OpenSearch or VictoriaLogs) over a time window |
get_log_labels | mcp:read | Yes | The labels or fields the cluster’s log store can be filtered on, to use before or after a query_logs that returns nothing |
connect_log_source | mcp:write | Yes | Connect the log source Ankra derived from the cluster’s installed add-ons, exactly as a query_logs refusal named it |
connect_metrics_source | mcp:write | Yes | Connect the Prometheus-compatible metrics source Ankra derived from the cluster’s installed add-ons, exactly as a query_prometheus refusal named it |
get_cluster_hosted_log_shipping | mcp:read | No | Whether a cluster ships its container logs to Ankra’s hosted log store, and whether its agent supports the switch |
set_cluster_hosted_log_shipping | mcp:write | No | Turn shipping of a cluster’s container logs to Ankra’s hosted log store on or off |
list_alertmanager_silences | mcp:read | Yes | The silences configured in the cluster’s Prometheus Alertmanager, with matchers, time window and state |
create_alertmanager_silence | mcp:write | Yes | Create a silence in the cluster’s Prometheus Alertmanager so matching alerts stop notifying until it ends |
expire_alertmanager_silence | mcp:write | Yes | End an Alertmanager silence by id so matching alerts notify again |
get_cluster_insights | mcp:read | Yes | The platform’s own AI health diagnoses for the cluster, with root cause, recommended actions and what was tried before |
get_execution_trends | mcp:read | Yes | Platform execution history for the cluster over a time window, with failure rate and the most-failing executions |
list_systemic_patterns | mcp:read | Yes | Issues that have recurred and been remediated repeatedly, grouped by who can fix them at the source |
resource_timeline | mcp:read | Yes | The state-transition history of one Kubernetes resource over a time window, such as restarts, scaling and spec changes |
probe_endpoint | mcp:read | No | Probe a public HTTP or HTTPS endpoint and report its status, latency, headers, a body snippet and TLS certificate |
trace_request_path | mcp:read | No | Trace a URL end to end through DNS, ingress and backends and name the first broken hop with evidence |
list_alert_ingest_credentials | mcp:read | No | The credentials an external Alertmanager delivers alerts into Ankra with: name, scope, whether it is enabled, the cluster it is pinned to and whether that cluster is gone, and when it was last used. The token itself is never listed (the twin of ankra alerts ingest-credentials list) |
Security Center
The CVE surface with CISA KEV and EPSS exploitation intelligence, the bill of materials behind it, the disposition and compliance decisions on top of it, and the cluster, stack, pod and add-on drill-downs;get_security_reports / get_compliance_reports above stay the per-cluster Trivy summaries. In an organisation with projects, these tools read the project the token acts in and take no project_id; read the whole organisation with the API’s project_id=all or --all-projects on most ankra security reads. Every read needs security.read; the disposition, framework, policy-mode and baseline writes re-check security.triage or security.manage the way the portal does, and the two report writes need clusters.write. Tools that name a cluster_id take it as an argument, so an MCP client can read any cluster of the project it acts in without binding one (any cluster of the organisation while projects are off).
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
get_security_overview | mcp:read | No | Fleet security summary: totals by severity, fixable counts, CISA KEV exposure, scanner coverage and top remediation candidates |
get_security_history | mcp:read | No | The organisation’s daily posture over a window (days, 1 to 365, default 90), summed over its clusters or one (cluster_id): issues by severity, fixable critical and high, issues used by attackers and accepted risks per day. A day no cluster reported on is left out, not counted as zero |
get_security_fix_performance | mcp:read | No | How fast critical and high issues are fixed over the same window: found and fixed per day, the median days to fix, how many were fixed within the fix deadline, and the open ones past it |
get_security_settings | mcp:read | No | The organisation’s fix deadlines for critical and high issues, and whether they are still the defaults (30 and 90 days). Changing them stays in the app and the API |
list_security_findings | mcp:read | No | Findings across every scanned cluster, exploited-in-the-wild first, with rich filters |
get_security_finding | mcp:read | No | One finding with its exploitation intelligence and every current occurrence |
list_security_finding_occurrences | mcp:read | No | Where one finding occurs: every cluster, workload, container and image, one row per occurrence, filtered by scan state (active or resolved) and cluster |
get_security_advisory | mcp:read | No | The platform’s advisory for any CVE id: parsed NVD/OSV record, CISA guidance and your fleet exposure |
find_image_declarations | mcp:read | No | Where an image is declared in the stacks you can read: cluster and stack, the GitOps file and line where there is one, how each is changed, the running workloads no stack declares, and whether the search was complete |
find_image_fix_candidates | mcp:read | No | Which newer tag of a running image carries the fix for one CVE: the smallest step that fixes it and the newest release, each with its digest pin and a verdict (carries the fix, still affected, or not scanned, which is never read as fixed) |
list_security_cluster_posture | mcp:read | No | Per-cluster finding counts, known-exploited exposure and scanner freshness |
list_security_workloads | mcp:read | No | Workloads carrying findings, one row per container image with cluster, namespace, add-on attribution and actionable counts, with the findings filters |
list_security_namespaces | mcp:read | No | Namespaces of the fleet or of one cluster with scanned workloads, images, running pods, SBOM coverage and actionable findings |
list_security_pods | mcp:read | No | The running pods of one namespace on one cluster, each container joined to the findings of its scanned workload (an unscanned container is not a clean one) |
list_cluster_security_stacks | mcp:read | Yes | Every stack of one cluster with its attribution status, scope, actionable and known-exploited findings and SBOM coverage, plus the outside-any-stack row |
get_cluster_stack_security | mcp:read | Yes | One stack’s posture on a cluster: status, scope, CVE posture across its workloads, exploited findings, top actionable findings and bill-of-materials picture |
get_cluster_pod_security | mcp:read | Yes | One pod container by container: image, scanner coverage, actionable CVEs by severity, known-exploited and fixable-severe counts, bill of materials |
get_cluster_addon_security | mcp:read | No | One add-on’s posture on one cluster: attributed workloads and images, observed and actionable findings, dispositions in force, scanner state |
list_security_sbom_components | mcp:read | No | The fleet’s packages grouped by name, version and ecosystem with licences, licence risk tier, where each runs and the findings that name it |
list_security_sbom_images | mcp:read | No | Images that publish a bill of materials, with base OS, component count, where they run and their attributed findings |
get_security_sbom_image | mcp:read | No | One image’s full bill of materials: identity, base OS, the containers running it and every component with licences |
list_security_sbom_containers | mcp:read | No | Every running container, init containers included, joined to its image’s bill of materials or marked absent |
list_security_sbom_image_findings | mcp:read | No | The CVEs named on one image: package and fixed version, KEV listing, EPSS, disposition and spread |
get_application_security_versions | mcp:read | No | Every pushed image version of an application with its bill of materials, findings, licence exposure and where it runs |
list_security_dispositions | mcp:read | No | The organisation’s disposition policies: selector, disposition, reason, expiry, expire-when-fixed and lifecycle status |
preview_security_disposition | mcp:read | No | What a disposition would cover before it is written: the selector, the occurrences it matches across clusters and workloads, and the observations it excludes |
create_security_disposition | mcp:write | No | Acknowledge a finding (security.triage) or accept its risk (security.manage), scoped to the add-on the occurrence is attributed to, with reason and review deadline |
update_security_disposition | mcp:write | No | Change a policy’s reason, review deadline or expire-when-fixed flag (security.manage) |
revoke_security_disposition | mcp:write | No | Withdraw a policy with a reason so every finding it covered returns to open (security.manage) |
get_security_compliance_overview | mcp:read | No | The compliance rollup across every scanned cluster: benchmark pass/fail counts, config-audit totals, scanner freshness and the clusters with no data |
list_security_compliance_frameworks | mcp:read | No | The curated frameworks (GDPR, ISO 27001, SOC 2, NIST CSF), whether each is enabled and its live score |
get_security_compliance_framework_report | mcp:read | No | One framework control by control, live or for a recorded month |
set_security_compliance_framework | mcp:write | No | Enable or disable a framework for the organisation (security.manage); enabling starts scoring and monthly recording |
get_cluster_policy_violations | mcp:read | No | One cluster’s pod-security policy violations read live: failing resources per policy, totals by severity, and whether the baseline is in audit or enforce |
set_cluster_security_policy_mode | mcp:write | No | Switch a cluster’s pod-security policies between audit and enforce; enforce can reject pods at admission |
get_cluster_network_policy_overprivilege | mcp:read | No | One cluster’s NetworkPolicy over-privilege score on ingress and egress, computed live from its policies and workloads |
enable_security_baseline | mcp:write | No | Publish the curated security baseline stack on a cluster: trivy-operator plus the pod-security policies in audit mode, committed to its GitOps repository |
get_cluster_security_history | mcp:read | No | One cluster’s daily security posture trend from its stored snapshots, oldest first: findings by severity, fixable critical/high, workloads and namespaces scanned, risk score and the actionable / acknowledged / accepted-risk split per day (days, 1 to 365, default 90) |
get_cluster_security_report_schedule | mcp:read | No | The cluster’s scheduled security report: whether one is configured, daily, weekly or monthly, the email recipients, enabled or paused, when it last went out and when it is next due |
set_cluster_security_report_schedule | mcp:write | No | Store the cluster’s scheduled security report: frequency, up to 20 recipients and whether sending is enabled; replaces the whole schedule (clusters.write) |
send_cluster_security_report_now | mcp:write | No | Email the cluster’s security report to its scheduled recipients within the next minute; refuses when no schedule is configured (clusters.write) |
get_security_sbom_component | mcp:read | No | Follow one exact package (name, version and ecosystem) to the images, workloads and clusters that run it |
get_cluster_security_posture | mcp:read | No | One cluster’s security detail, picked with report: access (Kubernetes access findings such as standing cluster-admin grants, each with its remediation; the twin of ankra security access) or benchmark_resources (the objects failing one compliance control, with the add-on or manifest that deploys each; the twin of ankra security benchmarks resources). An unknown is not a pass |
get_security_remediations | mcp:read | No | The Security Center’s fix runs: the finding, application and repository, the pull request opened, status, attempts, the pipeline run building it, and whether the fix was verified or merged. An empty list means no fix run started, not that the finding is fixed |
get_security_evidence | mcp:read | No | Where the organisation’s compliance evidence is delivered (Vanta, Wazuh or webhook destinations; never the credential) and how each monthly delivery went (the twin of ankra security evidence destinations list and deliveries list). Refused for a caller confined to one project |
Backup Vaults
Available while the organisation’s backups feature is enabled; vault creation with your own bucket keys stays in the portal and CLI. Stack protection, restore points and restores are in the Backups & Restore Points section below.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_backup_vaults | mcp:read | No | The S3-compatible vaults backups and migration data move through, with verification status |
get_backup_vault | mcp:read | No | One vault’s provider, bucket, verification status and error excerpt (credentials never returned) |
list_backup_vault_imports | mcp:read | No | The data imports a vault holds, with upload status, databases and restore progress |
provision_backup_vault | mcp:write | No | Create a vault and let Ankra create its bucket from a stored credential (backups.manage) |
verify_backup_vault | mcp:write | No | Re-run the credential check against a vault’s bucket (backups.operate) |
Provisioning & Nodes
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_instance_types | mcp:read | No | Instance types and pricing per cloud provider |
list_proxmox_options | mcp:read | No | Provisioning options a Proxmox VE credential can reach |
list_morpheus_options | mcp:read | No | Provisioning options an HPE Morpheus credential can reach |
create_hetzner_cluster | mcp:write | No | Create and provision a Kubernetes cluster on Hetzner Cloud |
create_ovh_cluster | mcp:write | No | Create and provision a Kubernetes cluster on OVHcloud |
create_upcloud_cluster | mcp:write | No | Create and provision a Kubernetes cluster on UpCloud |
create_digitalocean_cluster | mcp:write | No | Create and provision a Kubernetes cluster on DigitalOcean |
create_aws_cluster | mcp:write | No | Create and provision a self-managed Kubernetes cluster on AWS EC2, in a VPC Ankra creates or one you adopt - runs the create preflight first |
create_proxmox_cluster | mcp:write | No | Create and provision a Kubernetes cluster on Proxmox VE |
create_morpheus_cluster | mcp:write | No | Create and provision a Kubernetes cluster on HPE Morpheus |
list_cluster_nodes | mcp:read | No | The provisioned VM nodes of a cluster, with live provider status and each machine’s availability zone and where it was read (availability_zone, availability_zone_source); deleted servers are left out unless include_deleted is set |
get_cluster_machine_inventory | mcp:read | No | Compare a cluster’s server and bastion records with its provider and its Kubernetes nodes: each record reads consistent, phantom (the machine is gone), gone_kept (a stopped server whose machine is gone), no_node or unknown. Hetzner, UpCloud, DigitalOcean, AWS and Ankra Cloud |
retire_gone_machine_rows | mcp:write | No | Remove up to 20 server records whose machine the provider confirms is gone; any other answer leaves the record and says why. Never removes a running control plane or bastion |
restart_node | mcp:write | No | Restart one provisioned node - control plane, worker, or bastion |
ssh_diagnose_node | mcp:read | No | Diagnose a node at the OS level over SSH via the bastion |
ssh_repair_node | mcp:write | No | Repair a node’s Kubernetes service unit through the node-recovery engine |
list_kubernetes_versions | mcp:read | No | The Kubernetes versions the platform knows per engine (kubeadm and k3s), with the default install version and supported channels |
list_upcloud_options | mcp:read | No | The live UpCloud zones and server plans a credential can reach, with prices and GPU details |
create_scaleway_cluster | mcp:write | No | Create and provision a self-hosted Kubernetes cluster on Scaleway Instances |
create_ankracloud_cluster | mcp:write | No | Create and provision a self-managed k3s or kubeadm cluster on Ankra Cloud (Closed Beta) servers in one zone behind a bastion, IPv6-only unless public IPv4 is asked for; it runs a preflight first and writes nothing on a refusal. Only for organisations with Ankra Cloud enabled |
import_cluster | mcp:write | No | Import an existing Kubernetes cluster from any distribution or provider into Ankra, without provisioning new infrastructure |
get_provider_quotas | mcp:read | No | What a cloud-provider credential may still create, with per-dimension limits and usage |
request_provider_quota_increase | mcp:write | No | Raise a cloud-provider limit for a credential (Azure), or produce the exact request to submit by hand for other providers |
get_ankracloud_quotas | mcp:read | No | The limits of the organisation’s Ankra Cloud account and what it holds: servers, cores, memory, storage, floating IPs, private networks and routers, with what is left of each. Storage is shared by server disks and the volumes the Ankra Cloud CSI provisions |
list_ankracloud_quota_requests | mcp:read | No | The organisation’s requests for higher Ankra Cloud limits, newest first, each pending, approved, declined with what staff said, or withdrawn |
request_ankracloud_quota | mcp:write | No | Ask Ankra Cloud staff for higher account limits: each limit named with the total wanted, a limit left out stays, one pending request at a time, and no limit changes until staff approve (credentials.write for the whole organisation) |
withdraw_ankracloud_quota_request | mcp:write | No | Withdraw a pending request for higher limits so a corrected one can be filed; a request already decided or withdrawn is refused, and no limit changes (credentials.write for the whole organisation) |
get_bastion_health | mcp:read | Yes | The bastion health verdict the platform last recorded for an Ankra-provisioned cluster |
get_provider_incidents | mcp:read | Yes | The open incidents the cluster’s cloud provider lists on its own status page for the cluster’s region and zones (OVHcloud, UpCloud, DigitalOcean, Scaleway). A page that cannot be read, or does not list the cluster’s places, reads unknown, never “nothing reported” |
diagnose_bastion | mcp:read | Yes | Inspect an Ankra-provisioned cluster’s SSH bastion host, including sshd configuration, failed logins, disk and pending security updates |
get_os_patch_status | mcp:read | No | The rolling OS patch policy, the newest run host by host, the last dry run and the security-lag verdict of an Ankra-provisioned cluster (OS security patching) |
plan_os_patches | mcp:read | No | Dry-run the pending OS security updates on every host of an Ankra-provisioned cluster, with the order a run would take and the hosts it would skip |
run_os_patches | mcp:write | No | Patch an Ankra-provisioned cluster’s hosts one at a time, each drained and returned to service before the next. A run starts only inside the cluster’s maintenance window unless outside_window is true. Over MCP it runs at once on mcp:write |
set_os_patch_policy | mcp:write | No | Change a cluster’s OS updates mode (automatic, advisory, or default to let the cluster’s environment decide; node_group_modes sets it per node group), maintenance window, cadence, stateful nodes and security-lag threshold. Only the fields passed change. Over MCP it runs at once on mcp:write |
apply_node_os_policy | mcp:write | No | Write, or with revert remove, Ankra’s node OS update policy on an Ankra-provisioned cluster’s nodes and bastion over SSH: automatic security updates stay on except for the packages that restart networking, the init system, udev, the container runtime or the packet filter in place, and automatic reboots are off. Restarts nothing. Applying is refused unless the cluster’s OS updates are automatic (set_os_patch_policy mode automatic, or default on a cluster whose environment makes it automatic); revert is always allowed; at most 100 nodes per run |
harden_bastion | mcp:write | No | Apply a curated, revertable sshd hardening action set to an Ankra-provisioned cluster’s SSH bastion |
get_node_cloud_init_log | mcp:read | No | The cloud-init status and output log tail of one node of an Ankra-provisioned cluster, read over SSH |
get_etcd_members | mcp:read | No | The etcd membership, member health, alarms and quorum of an Ankra-provisioned cluster, read over SSH |
remove_etcd_member | mcp:write | No | Remove a dead control-plane node’s stale member from an Ankra-provisioned cluster’s etcd, run on a healthy peer over SSH |
ssh_kubectl_read | mcp:read | No | Run one allowlisted read-only kubectl command on a control-plane node over SSH, only when the cluster’s agent is not answering |
ssh_kubectl_recover | mcp:write | No | Run one allowlisted state-changing kubectl command on a control-plane node over SSH to recover a cluster whose agent is offline |
credential_id names a stored Ankra Cloud credential. They are offered only to organisations with Ankra Cloud quota management on, the same gate as the API’s quota routes. Read the account quota and request higher limits walks through a request.
Cluster Lifecycle & Node Groups
Day-2 operations for Ankra-provisioned clusters on every self-managed provider (Hetzner, OVHcloud, UpCloud, DigitalOcean, Scaleway, AWS EC2, Proxmox VE, HPE Morpheus). These tools acceptcluster_name or cluster_id directly, so they work from any conversation.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_node_groups | mcp:read | No | Node groups, control plane topology, and worker counts for one cluster |
scale_workers | mcp:write | No | Scale the default worker pool, or one named node group |
add_node_group | mcp:write | No | Add a node group with instance type, count, and optional labels, taints, and autoscaling |
update_node_group | mcp:write | No | Change a node group’s autoscaling bounds, labels and taints in one call, or its instance type on its own (that replaces every node). Scales nodes, not pods |
delete_node_group | mcp:write | No | Delete a node group and its nodes |
change_control_plane | mcp:write | No | Change the control plane’s node count or instance type. Growing the count and resizing three or more controllers run live; reducing the count runs on a stopped cluster. Resizing the only controller of a running Hetzner cluster takes the Kubernetes API down for a few minutes and needs accept_api_downtime: true |
stop_cluster | mcp:write | No | Stop a cluster and keep its configuration: on Hetzner, OVHcloud, UpCloud, DigitalOcean, Proxmox VE and HPE Morpheus the virtual machines are deleted after an etcd snapshot (a Hetzner, UpCloud or DigitalOcean k3s cluster can pause instead and keep them powered off); AWS EC2, Scaleway and Ankra Cloud power the servers off and keep them |
start_cluster | mcp:write | No | Start (re-provision) a stopped cluster, optionally control plane only |
upgrade_preflight | mcp:read | No | Check a Kubernetes version hop without changing anything: the hop plan per node, running operations, PodDisruptionBudgets, CloudNativePG settings, control-plane memory, restore points, control-plane reachability, the k3s address pins and the kubeadm etcd upgrade path, each answered pass, warn, block or skipped |
upgrade_cluster | mcp:write | No | Upgrade the cluster’s Kubernetes version. Runs the same preflight first and refuses on a block; never forces past a PodDisruptionBudget |
delete_cluster | mcp:write | No | Deletes nothing over MCP: answers approval_url, the page in the Ankra portal where a person deletes the cluster after the review it shows. See Deleting a cluster needs a person |
disconnect_cluster | mcp:write | No | Disconnect an imported cluster: removes it from Ankra and revokes its agent, changes nothing inside the cluster, and works while the agent is offline; requires re-typing the cluster name to confirm |
update_cluster | mcp:write | No | Change a cluster’s settings, today only its environment label |
set_cluster_agent_auto_upgrade | mcp:write | No | Turn automatic upgrades of the Ankra agent on a cluster on or off |
get_cluster_gateway_api | mcp:read | No | Where the Kubernetes Gateway API stands on a cluster Ankra built: whether it can be served, the recorded option, the phase from off to enabled, the platform’s reading of the CRDs, and what the Traefik and cert-manager values would gain or contradict; a phase other than enabled is not a broken cluster |
enable_cluster_gateway_api | mcp:write | No | Turn the Kubernetes Gateway API on for a cluster Ankra built: the CRDs are added, then the Gateway API keys are written into the Traefik and cert-manager values without overwriting a value the owner set (a conflicting key is refused and named); every Ingress keeps working, and it cannot turn the option off (clusters.write) |
move_cluster_to_organisation | mcp:write | No | Move a cluster into another existing organisation (administrator of both organisations only) |
list_power_schedules | mcp:read | No | A cluster’s scheduled one-off or repeating stop and start actions, with their next run and last outcome |
create_power_schedule | mcp:write | No | Schedule a stop or start of an Ankra-provisioned cluster once or on a cron expression in a time zone. An enabled scale_to_zero stop is refused unless a person has confirmed the cluster is not production |
update_power_schedule | mcp:write | No | Replace a power schedule’s action, timing and enabled flag, restating every field. An update that results in an enabled scale_to_zero stop is refused unless a person has confirmed the cluster is not production |
delete_power_schedule | mcp:write | No | Delete a power schedule without touching the cluster itself |
propose_off_hours_schedule | mcp:write | No | Propose stopping a cluster’s worker servers outside working hours to save cost (they are deleted at every stop, with anything on their own disks); over MCP it only files the proposal and returns the portal_url where a person with billing.manage approves it. Refused for a cluster not confirmed as non-production, labelled or graded production, active in the stop window over the last 14 days, or whose activity could not be measured |
Managed Kubernetes
Create and operate provider-managed control planes - EKS (AWS), AKS (Azure), GKE (Google Cloud), DOKS (DigitalOcean), UKS (UpCloud), OVHcloud MKS, and Kapsule (Scaleway).| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_managed_k8s_options | mcp:read | No | Regions, versions, and machine sizes a credential can deploy; per-cluster options and available upgrades |
create_managed_cluster | mcp:write | No | Create a managed Kubernetes cluster with one or more node pools; for Ankra Cloud, ankracloud_k8s takes control_plane and dev_cluster. The outcome is on the create operation |
change_managed_cluster_control_plane | mcp:write | No | Move an Ankra Cloud Kubernetes cluster between the production and development control plane in place; a move to development needs confirmation. See Changing the control plane |
list_managed_node_pools | mcp:read | No | Node pools of a managed cluster with counts and autoscaling state |
add_managed_node_pool | mcp:write | No | Add a node pool with size, count, and optional autoscaling |
update_managed_node_pool | mcp:write | No | Update a node pool’s count or autoscaling configuration |
delete_managed_node_pool | mcp:write | No | Delete a node pool |
discover_managed_clusters | mcp:read | No | The managed clusters already running behind a provider credential, marking the ones Ankra has imported |
import_managed_cluster | mcp:write | No | Adopt a managed cluster that already runs at the provider; Ankra fetches the kubeconfig and installs the agent itself |
upgrade_managed_cluster | mcp:write | No | Upgrade a managed cluster’s Kubernetes version |
stop_managed_cluster | mcp:write | No | Stop a managed cluster through provider-native power control when supported (AKS today) |
start_managed_cluster | mcp:write | No | Start a stopped managed cluster through provider-native power control when supported |
CI/CD & Deploy Analysis
Over MCPwatch_pipeline_run waits for the run and returns it; in the Ankra chat it registers a watch instead, and the conversation is woken with the outcome. Every pipeline tool that acts on one connected repository names it with exactly one of repository_id, application_id, or owner and repo; connect_pipeline_repository takes owner and repo.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
cicd_propose_application_pipeline | mcp:read | No | Render the canonical Ankra CI/CD pipeline for a target repository |
cicd_validate_workflow_yaml | mcp:read | No | Validate a GitHub Actions workflow against Ankra’s platform invariants |
cicd_validate_chart_values | mcp:read | No | Validate Helm chart values against Ankra’s Kubernetes security defaults |
deploy_inspect_chart_values | mcp:read | Yes | Probe a chart’s values for the paths the deploy wizard cares about |
deploy_inspect_repo | mcp:read | Yes | Inspect key repository files for the application’s runtime needs |
deploy_finalize_analysis | mcp:read | Yes | Finalise a deploy analysis with the full analysis payload |
cicd_convert_workflow_to_pipeline | mcp:read | No | Convert an existing GitHub Actions, GitLab CI, Bitbucket Pipelines or CircleCI definition into an Ankra pipeline |
cicd_validate_pipeline_yaml | mcp:read | No | Validate an Ankra pipeline definition (.ankra/pipeline.yaml) before proposing or committing it |
get_pipeline_step_logs | mcp:read | No | Read an Ankra Pipelines run and one step’s archived log tail, to explain why a step failed |
watch_pipeline_run | mcp:read | No | Block up to 45 seconds for an Ankra Pipelines run (by head_sha or run_id) to conclude, then return the settled run with each step’s outcome and the first failing step, or timed_out: true with the last observed state; nothing notifies the client later, so call again with the run_id |
list_pipeline_repositories | mcp:read | No | The repositories connected to Ankra Pipelines in the organisation and project, newest first, with the linked application, CI cluster override, merge train settings and what the trigger last decided for each |
get_pipeline_repository | mcp:read | No | One connected repository: its default branch, linked application, CI cluster override, merge train settings, Workspaces-only mode and the trigger’s last decision (why a push did or did not start a run) |
get_pipeline_workspace_profiles | mcp:read | No | The workspace profile kinds a connected pipeline repository defines: the names an Ankra Workspace of that repository can be brought up as; only the kinds are answered, never a profile’s images or environment (workspaces.use or workspaces.manage) |
get_pipeline_report | mcp:read | No | One report about a connected repository’s pipeline, picked by report: a test’s outcomes and flaky rate over recent runs of a branch, mean durations per file or per test of one stage, the quarantine and its candidates, the pipeline caches, each ref with its latest run and run counts, the artifacts a run stored, or the code and container findings at a run’s commit (pipelines.read) |
manage_test_quarantine | mcp:write | No | Change a connected repository’s flaky-test quarantine: action quarantine quarantines one test (test_key and reason) so its failures stop failing runs, action release ends a quarantine (quarantine_id, optional reason), action settings changes the quarantine’s settings naming only the ones to change; the repository is addressed with exactly one of repository_id, application_id, or owner and repo (pipelines.manage) |
get_ci_settings | mcp:read | No | The organisation’s Ankra Pipelines CI configuration: the settings (the CI cluster, the step image policy and retention), the pool of clusters pipelines may run on and the pool’s current capacity, which is what explains a run on an unexpected cluster, a refused step image or runs that queue for capacity |
connect_pipeline_repository | mcp:write | No | Connect a repository to Ankra Pipelines so pushes, pull requests, tags, schedules and the merge train start runs from its committed .ankra/pipeline.yaml; workspaces_only connects it for Ankra Workspaces alone, with no runs |
disconnect_pipeline_repository | mcp:write | No | Stop every trigger starting runs for a repository; its run history is kept and connecting it again revives it. Refused while a run is queued or running |
run_pipeline | mcp:write | No | Start a manual run of a connected repository’s committed pipeline at a branch, tag or commit; it always runs the definition of record, and a dispatch identical to a queued one joins it (already_queued) |
rerun_pipeline_run | mcp:write | No | Re-run a pipeline run at the same commit: failed_only re-runs only the stages that failed, full_run runs every stage regardless of path filters; a run dispatched with its own spec also needs pipelines.manage |
cancel_pipeline_run | mcp:write | No | Cancel a run that has not concluded; a started run with finally stages runs them first, so cancel again with force to stop those too |
get_merge_train | mcp:read | No | A repository’s merge train: its settings (whether it is on, max_cars, auto-admit with its criterion, protected paths and who switched it on, and infrastructure recovery), the queued pull requests, each with its place (1 is the first car) and the run testing it, and the ones that recently left it with the reason |
update_merge_train_settings | mcp:write | No | Switch a repository’s merge train on or off and set max_cars, auto-admit’s mode and infrastructure recovery; a setting the call leaves out keeps its value. Needs pipelines.manage. Ask Ankra always asks you to confirm it, because switching the train off empties it, and a service account or an AI lane acting on its own cannot switch auto-admit on |
add_to_merge_train | mcp:write | No | Put a pull request in its repository’s merge train, which tests it on top of the ones ahead and merges it when green. Answers the place it took. Open to an organisation admin, the author or anyone with push access; refused to a service account and to an AI lane acting on its own |
remove_from_merge_train | mcp:write | No | Take a pull request out of the merge train by entry_id or pull_request_number; an entry being merged, or one that already left, is refused |
list_pipeline_schedules | mcp:read | No | A connected repository’s cron schedules with timezone, ref, dispatch inputs, whether each is enabled, when it fires next and what it last did |
create_pipeline_schedule | mcp:write | No | Create a five-field cron schedule (UTC unless timezone) that starts a repository’s pipeline at a ref with its manual inputs; refused for a repository connected for Workspaces only |
update_pipeline_schedule | mcp:write | No | Change a pipeline schedule: only what you name changes, inputs replaces the whole input set, and enabled false pauses it |
delete_pipeline_schedule | mcp:write | No | Delete a pipeline schedule; runs it already started are kept. To pause one instead, use update_pipeline_schedule |
get_deploy_provenance | mcp:read | No | The organisation’s deploy provenance mode (off, warn or enforce; enforce refuses a deploy unless every image has valid provenance) and its signing keys, public keys only (the twin of ankra org provenance get and keys). One application’s mode is get_application_provenance |
get_host_targets | mcp:read | No | The machines an environment deploys to (status, agent version, OS, last heartbeat) or the deployments rolled out to them with per-host results, picked with report (the twin of ankra targets list and ankra deployments list). A join token is never listed |
Tickets & Collaboration
The AI work board tools (ticket_*, file_ticket, list_agent_tasks, designate_board_worker, provision_board_identity) and get_ai_conditions are available while the organisation has the AI board (AI experience) enabled; otherwise tools/list leaves them out.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
ticket_list | mcp:read | No | List the organisation’s AI work board tickets |
ticket_get | mcp:read | No | One ticket in full: plan, review state, timeline, and links |
file_ticket | mcp:write | No | File a new ticket on the AI work board |
ticket_comment | mcp:write | No | Post a comment on a ticket |
ticket_update_status | mcp:write | No | Move a ticket through its lifecycle |
ticket_draft_plan | mcp:write | No | Write or revise a ticket’s plan document |
ticket_request_review | mcp:write | No | Ask for a review of the ticket’s drafted plan |
ticket_submit_review | mcp:write | No | Deliver a peer-review verdict on a ticket’s plan |
ticket_attach_demo | mcp:write | No | Attach a demo environment to a ticket |
ticket_assign | mcp:write | No | Assign a ticket to an agent, or clear its assignee so the board can staff it again |
list_agent_tasks | mcp:read | No | List the organisation’s AI agents with a can_work_board verdict and, when they cannot, the reason |
designate_board_worker | mcp:write | No | Designate an agent as a board worker, or remove that designation |
list_agent_runs | mcp:read | No | List the organisation’s dispatched AI agent runs, newest first |
get_agent_run | mcp:read | No | One agent run in full, optionally with its session transcript tail |
cancel_agent_run | mcp:write | No | Cancel a live agent run and its session (organisation admins only) |
ticket_decide | mcp:write | No | Answer the choice a blocked ticket is waiting on and resume its agent with that answer |
ticket_set_cluster | mcp:write | No | Set or clear the cluster an existing board ticket targets |
ticket_nest | mcp:write | No | Nest a ticket under the root ticket whose problem explains it, as a symptom, instead of closing it as a duplicate, or detach it again; the root carries the work. Refused for closed tickets, subtasks, loops and work a person holds |
list_ticket_sync_connections | mcp:read | No | The configured Jira, Linear or webhook destinations that AI work board tickets mirror to |
provision_board_identity | mcp:write | No | Provision the organisation’s board service principal that platform-created agents act as on board tickets (organisation admins only) |
get_ai_conditions | mcp:read | No | What Ankra AI keeps seeing and how it acts on it, picked with report: conditions (each recurring problem, its occurrences and tickets filed, whether it is chronic), condition (one condition’s timeline; needs condition_id), playbooks or handoffs (platform alerts passed to engineering). The twin of ankra ai conditions list and get; a caller confined to one project reads only conditions |
Central Support
Cases with Ankra’s team in the central Support system, the conversations shared with support.ankra.app. Use these for new requests, including Ankra Cloud problems. Every tool needs organisation-wide access. Ticket and reply text comes from customers and Ankra staff, and the tools return it as data, not instructions.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
support_list_tickets | mcp:read | No | The organisation’s central Support tickets; follow next_cursor for older ones |
support_get_ticket | mcp:read | No | One central Support ticket with its context and current version |
support_ticket_messages | mcp:read | No | A ticket’s replies, newest first; Ankra staff’s private notes are left out |
support_create_ticket | mcp:write | No | Open a case with Ankra: product, subject and description, with optional priority and diagnostic context, never credentials. After a timeout, list tickets before you retry |
support_reply | mcp:write | No | Reply to Ankra in a ticket’s conversation. After an uncertain write, read the messages before you retry |
support_update_ticket | mcp:write | No | Close or reopen a ticket, passing its current version from support_get_ticket |
Support Tickets
The legacy Platform support desk, the requestsankra support and the portal’s Support page show. For new requests use the Central Support tools. These are requests to Ankra’s support team, distinct from the AI work board’s tickets above. Attachments stay in the portal and CLI because they carry file bytes.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_support_tickets | mcp:read | No | The organisation’s support tickets with status, category, severity and cluster; filter by status, cluster or search text |
get_support_ticket | mcp:read | No | One ticket in full by number or id: description, the conversation with support, and attachment names |
create_support_ticket | mcp:write | No | Raise a support ticket with Ankra’s team on the user’s behalf (source agent); defaults to the session’s cluster in chat |
comment_support_ticket | mcp:write | No | Reply on a ticket as the customer; a ticket waiting on you moves back to in progress |
close_support_ticket | mcp:write | No | Close a ticket from the customer’s side, the same action as ankra support close |
Organisation & AI Posture
The organisation a token is bound to, who has access, what is parked awaiting a human decision, and how the organisation’s AI is configured. Writes that carry a provider key stay in the portal and CLI: setting the organisation’s provider keys, adding an AI endpoint, and changing an endpoint’s address or key.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
get_organisation | mcp:read | No | The bound organisation: id, name, slug, member counts, organisation-wide settings and the current project |
list_organisation_members | mcp:read | No | Who has access: members, pending invites and Ankra’s service principals, with roles |
list_organisation_roles | mcp:read | No | Built-in and custom roles with the permissions each grants |
list_organisation_audit_logs | mcp:read | No | The organisation’s audit trail, newest first: who did what, to what, and whether it worked, with agents, people, service accounts and the platform each as their own actor type (the twin of ankra org audit-logs) |
invite_organisation_member | mcp:write | No | Invite a person by email with an organisation role, or limit them to one project with project_id and project_role_slug; refused for a role carrying a permission you do not hold, a person already invited or a member, and on a single-user plan (members.invite) |
update_organisation_member_role | mcp:write | No | Change a member’s organisation role, or limit them to one project, which retires their organisation-wide assignments; refused for your own role, a member stronger than you, a role carrying a permission you do not hold, and the last owner (members.manage) |
remove_organisation_member | mcp:write | No | Remove a member from the organisation: their role, role assignments and cluster access here stop applying at once, and coming back needs a new invitation. Refused for a member stronger than you and for the last owner (members.manage) |
get_cluster_access_policy | mcp:read | No | The organisation cluster access policy: the role a cluster’s creator receives, the highest role a grant may carry, the longest a grant above view may last and the role from which grants need a reason, plus any pending proposal with its apply_url (kube_access.manage, kube_access.policy or kube_access.elevate) |
propose_cluster_access_policy | mcp:write | No | Record a proposed change to the cluster access policy and return its apply_url: no token changes the policy, an organisation owner or admin applies it signed in to the Ankra web app. A proposal expires after 7 days (kube_access.manage) |
list_cluster_access_grants | mcp:read | No | Who holds Kubernetes access to one cluster through the Ankra cluster gateway: each grant’s member, role, scope, expiry (null is standing), reason, source and whether it is over the access policy (kube_access.manage) |
grant_cluster_access | mcp:write | No | Give a member time-boxed Kubernetes access to one cluster through the cluster gateway, within the access policy’s bounds. The grant must expire (expires_in or expires_at): a standing grant is made in the portal or with the CLI (kube_access.manage) |
revoke_cluster_access | mcp:write | No | Revoke one Kubernetes access grant on a cluster; a grant an organisation role carries is removed by changing the member’s role instead (kube_access.manage) |
elevate_cluster_access | mcp:write | No | Break-glass access for yourself alone: time-boxed Kubernetes access to one cluster, always held to the access policy’s self-elevation bounds on lifetime, reason and role (kube_access.elevate) |
list_organisation_custom_dns_zones | mcp:read | No | The DNS zones the organisation’s clusters serve with their own credentials |
list_limit_requests | mcp:read | No | The latest limit-increase request per kind (billing.read) |
list_pending_actions | mcp:read | No | AI actions parked for a human decision, with risk, cluster, expiry and the bill of materials |
decide_pending_action | mcp:write | No | Approve or reject a parked action on behalf of an organisation admin; approving resumes the session that proposed it. MCP-only: in chat the action’s own card is the decision. It needs a token whose scopes name ai_actions.approve, and Ankra makes tokens with no scope, mcp:read or mcp:write only, so every token is refused: a person decides in the portal or on the approval card in Slack or Teams |
get_ai_settings | mcp:read | No | The active provider, which providers are configured (never the keys or endpoint addresses), the autonomy pause state, and whether members may use their own AI keys |
list_personal_ai_keys | mcp:read | No | The caller’s own AI keys in the order they are tried, with each key’s status and whether the organisation uses them. See Your Own AI Keys |
test_personal_ai_key | mcp:read | No | Check one of the caller’s own AI keys with its provider again |
request_personal_ai_key | mcp:read | No | The link to the profile page where the caller adds an AI key; a key is never passed through a tool |
rename_personal_ai_key | mcp:write | No | Change the label of one of the caller’s own AI keys |
reorder_personal_ai_keys | mcp:write | No | Set the order the caller’s own AI keys are tried in, naming every key once |
delete_personal_ai_key | mcp:write | No | Remove one of the caller’s own AI keys |
set_personal_ai_keys_allowed | mcp:write | No | Turn members’ own AI keys on or off for the organisation (organisation admins only) |
list_ai_models | mcp:read | No | The model catalog the chat picker offers, with tool, thinking and image support |
create_ai_model | mcp:write | No | Add a model to the catalog the chat picker and the AI lanes choose from, optionally served by one of the organisation’s own endpoints through endpoint_id (ai.manage) |
update_ai_model | mcp:write | No | Change a catalog model: only the fields passed change, and disabling a model a lane selected returns that lane to its default (ai.manage) |
delete_ai_model | mcp:write | No | Remove a model from the organisation’s catalog; a lane that selected it falls back to its default (ai.manage) |
list_ai_endpoints | mcp:read | No | The organisation’s OpenAI-compatible AI endpoints with name, provider, base URL and a masked key preview; a key is never returned (ai.manage) |
rename_ai_endpoint | mcp:write | No | Rename one of the organisation’s AI endpoints; its address and stored key stay as they are (ai.manage) |
delete_ai_endpoint | mcp:write | No | Delete an AI endpoint and its stored key, with the catalog models it served; a lane that selected one falls back to its default. The key is gone for good: using the endpoint again means adding it again (ai.manage) |
set_ai_lane_model | mcp:write | No | Choose the model one AI lane runs on, a catalog key or an exact OpenRouter model id; it changes which provider every member’s work on that lane goes to and who pays for it (ai.manage) |
clear_ai_lane_model | mcp:write | No | Return one AI lane to its default model (ai.manage) |
get_ai_spend_cap | mcp:read | No | The organisation’s AI spend cap: its own daily chat cap in US dollars, the plan default, the cap in force and today’s spend, and the daily token soft and hard caps for unattended runs with today’s tokens (billing.read) |
set_ai_spend_cap | mcp:write | No | Change the AI spend cap: only the fields passed change, and null clears one. daily_chat_usd_cap is the daily chat cap in US dollars (null: the plan default applies); daily_token_soft_cap and daily_token_hard_cap are the daily token caps for unattended runs, and the hard cap may not be below the soft cap. Past the token soft cap unattended runs drop to the quick tier for the rest of the UTC day, past the hard cap new ones are refused (billing.manage) |
pause_ai_autonomy | mcp:write | No | Pause autonomous AI actions organisation-wide (ai.manage); chat and diagnosis keep working |
resume_ai_autonomy | mcp:write | No | Restore exactly what the pause turned off (ai.manage). Like decide_pending_action it needs a token whose scopes name ai_actions.approve, so every token is refused: a person resumes it signed in to the portal |
get_remediation_policy | mcp:read | No | The organisation’s AI auto-remediation policy, including autonomy level, tier overrides and the cluster allow list |
get_ai_environment | mcp:read | No | The organisation’s AI environment settings, such as the staging cluster for AI workspaces and PR demos and their TTLs |
update_ai_environment | mcp:write | No | Change the organisation’s AI environment settings, such as the staging cluster that turns on PR previews (organisation admins only) |
request_limit_increase | mcp:write | No | Ask the Ankra team to raise an organisation limit, such as playground memory, the free AI allowance or registry storage |
get_registry_storage | mcp:read | No | The organisation’s image registry storage limit and usage per project, and the retention policy that decides what is kept |
set_registry_retention | mcp:write | No | Change which images the organisation’s registry keeps, organisation-wide or per repository |
run_registry_retention | mcp:write | No | Run the organisation’s registry retention now instead of at its daily time |
set_registry_storage_addon | mcp:write | No | Buy or return paid registry storage blocks, billed monthly |
list_registry_projects | mcp:read | No | The organisation’s projects on the Ankra registry, its own and any extra ones, with each one’s registry path, repository count and how many robots reach it, and how many extra projects it may hold (credentials.read) |
create_registry_project | mcp:write | No | Create an extra private project on the organisation’s Ankra registry, under the same scan, retention and storage policy as its own; a name is 2 to 30 lower-case letters, digits and single hyphens (credentials.write) |
delete_registry_project | mcp:write | No | Delete an extra registry project; one that still holds repositories or that robots still reach is refused, and the organisation’s own project cannot be deleted (credentials.delete) |
list_registry_robots | mcp:read | No | The organisation’s registry robots, the logins that are not people, on the Ankra registry and on registries the organisation runs, with every project each one reaches; secrets are never listed (credentials.read) |
create_registry_robot | mcp:write | No | Create a registry robot with pull or push access to one or more registry projects. Its login is stored as a platform-managed registry credential and the answer names that credential, never the secret (credentials.write, plus credentials.reveal on a registry the organisation runs) |
update_registry_robot_projects | mcp:write | No | Change which projects a registry robot reaches, in place where the registry allows it; otherwise it changes nothing and gives the command a person runs to replace it. Google Artifact Registry robots are refused (credentials.write, plus credentials.reveal for a robot on a registry the organisation runs or with grants past the presets) |
rotate_registry_robot_secret | mcp:write | No | Give a registry robot a new secret, kept in the managed credential that holds its login and never shown; anything outside Ankra that logs in with the old one stops working. Robots Ankra manages are refused (credentials.write) |
delete_registry_robot | mcp:write | No | Delete a registry robot and the credential holding its login; whatever logs in with it stops working. Robots Ankra manages are refused (credentials.delete) |
list_oidc_trust_policies | mcp:read | No | The organisation’s GitHub OIDC trust policies: which repository’s workflow runs may exchange their OIDC token for a short-lived Ankra token, narrowed by ref, environment and job_workflow_ref, and the role, scopes and lifetime that token gets (the twin of ankra org oidc-trust list; members.manage) |
Projects
Every tool acts in one project: an MCP token minted while the organisation has projects is pinned to the project it was created in, and a chat session follows the member’s current project. An MCP token minted before that is not pinned (get_current_project answers pinned: false) and never follows a switch: for an organisation-wide member it acts in the Default project whatever its owner switches to, and a project-only member’s acts in the oldest project they reach. get_organisation reports that project, list results carry each resource’s project_id, and the cost tools below take project_id (a project id, all for the whole organisation, or nothing for the current project; a pinned token refuses all and other projects). The tools in this section are offered only while the organisation has projects on.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_projects | mcp:read | No | The organisation’s projects with id, name, slug, whether each is the reserved default and which is current |
get_current_project | mcp:read | No | The project this token or session acts in, and whether the token is pinned to it |
list_project_members | mcp:read | No | Who reaches one project and how, through their organisation role or an assignment scoped to the project, plus the project-only invitations naming it that are pending or expired |
move_cluster_to_project | mcp:write | No | Move a cluster into another project of the organisation (projects.manage); its DNS zones, incidents, AI tickets and pinned notification routes follow |
move_application_to_project | mcp:write | No | Move an application into another project of the organisation (projects.manage); its connected pipeline repositories follow |
create_project | mcp:write | No | Create an empty project in the organisation (projects.manage); its slug is permanent: lowercase kebab-case, at most 63 characters, not a UUID, and default is reserved |
rename_project | mcp:write | No | Rename a project and optionally change its description (projects.manage); the slug never changes |
delete_project | mcp:write | No | Delete an empty project other than the default one (projects.manage): its scoped role assignments are retired, members whose current project it was move to the default project, and tokens pinned to it stop authenticating. It cannot be undone |
Memory & Miscellaneous
ask_question, todo_write, propose_plan, dispatch_subworker, canvas_present and canvas_patch are not served over MCP: Ask Ankra runs them itself, in the conversation. Nor is publish_canvas, which publishes a page Ankra AI showed in a conversation. To publish your own HTML, SVG or Markdown file, use ankra canvas publish.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
search_memories | mcp:read | No | Search past conversation memories for relevant context |
save_memory | mcp:write | No | Save a fact, decision, or preference to long-term memory |
web_fetch | mcp:read | No | Fetch content from a public HTTPS URL as readable text |
get_portal_url | mcp:read | No | The Ankra portal URL for a page (a cluster, stack, add-on, pod, application, pipeline run, ticket, alert, CVE, settings and more); reads and changes nothing. See Portal URLs |
list_canvas_datasets | mcp:read | No | The datasets a canvas dashboard can bind panels to, with the components each fits, and the clusters they can be bound for; the platform runs the queries |
unpublish_canvas | mcp:write | No | Take a published canvas page down; its URL answers 410 until the same artifact is published again |
Backups & Restore Points
Scheduled stack protection, restore points and the runs behind them. Available while the organisation’s backups feature is enabled.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
get_backup_posture | mcp:read | No | Whether data is protected and if not why, for the organisation, one cluster or one stack |
list_stack_data_assets | mcp:read | No | The persistent volume claims and databases a stack owns, and separately the data in its namespaces the stack does not own |
list_restore_points | mcp:read | No | Restore points newest first, for one stack or the whole organisation, each with what it does not carry |
get_restore_point | mcp:read | No | One restore point in full, including its assets, verification and what it does not carry |
list_data_runs | mcp:read | No | Backup, restore and clone runs newest first |
get_data_run | mcp:read | No | One backup, restore or clone run with every attempt of every step, to explain a failure |
protect_stack | mcp:write | No | Turn on scheduled backup protection for a stack, written through GitOps |
unprotect_stack | mcp:write | No | Turn off scheduled backup protection for a stack while keeping existing restore points |
get_application_backups | mcp:read | No | An application’s Backups section: whether it has a database, whether a deploy arms the database-backup default, and for each deployment its cluster, stack and backup posture (protection state, schedule, last restore point, why it is not protected); each deployment’s keeping is what its backups keep, as the application’s Backups shows it: keeps_days and keeps_everything for the policy, kept_count and oldest_kept_at for what is kept now, and protected_since and last_restore_test. Read keeping.state first (known, no_policy or unknown): with unknown every fact is null, which never means none, and keeping is null until the deployment has a stack. ready_vault_count with ready_vault_known says whether the organisation has a verified backup vault at all, and a deployment’s restore points are read with list_restore_points on its cluster and stack (backups.read) |
set_application_database_backup | mcp:write | No | Turn an application’s database-backup default on or off: whether a deploy of it arms scheduled backups of its database; it changes what the next deploy does, not the protection of a stack already deployed (protect_stack and unprotect_stack do that) (backups.manage) |
create_stack_restore_point | mcp:write | No | Take a restore point of a stack now |
restore_restore_point_in_place | mcp:write | No | Replace a stack’s current data with a restore point’s data, confirmed by typing the stack’s name |
delete_restore_point | mcp:write | No | Delete a restore point and remove its objects from the backup vault |
cancel_data_run | mcp:write | No | Cancel a running backup, restore or clone |
retry_data_run | mcp:write | No | Retry a failed backup, restore or clone from the step that failed |
Cost & Usage
Cloud cost estimates, budgets and the cost autopilot, plus the organisation’s usage of Ankra, its billing standing and its prepaid wallet.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
get_fleet_cloud_cost | mcp:read | No | The cloud cost rollup of the current project (or project_id), split by provider and by project, with the costliest clusters |
get_object_cost | mcp:read | No | What one cluster, namespace, stack, application or cloud credential costs |
estimate_application_cost | mcp:read | No | Estimate what a change to an application would cost per month before making it: change is one of replicas, resources, park, promote, new_environment or database, where the first four change an existing deployment and need its cluster_id and namespace, replicas needs replicas and resources needs cpu_request or memory_request; an answer with priced false names why in unpriced_reason and is not a cost of zero; changes nothing |
get_namespace_cost_history | mcp:read | Yes | How the cluster’s cost was allocated to each namespace over time |
get_cloud_savings | mcp:read | No | The organisation’s cloud savings recommendations, the same model the portal’s Cost page shows |
get_cost_reconciliation | mcp:read | No | What each cloud credential’s provider billed for a month against Ankra’s estimate |
get_cost_settings | mcp:read | No | The organisation’s cost display currency, discount, egress estimate and analysed cluster limit |
update_cost_settings | mcp:write | No | Replace the organisation’s cost pricing settings, restating every value |
get_cost_budgets | mcp:read | No | The organisation’s monthly cost budgets with spend so far and the projected month end |
set_cost_budget | mcp:write | No | Create a monthly cost budget for the organisation, a project, a cluster, an environment or an application, or change one |
delete_cost_budget | mcp:write | No | Delete one of the organisation’s cost budgets (organisation admins only) |
get_cost_autopilot | mcp:read | No | The organisation’s cost autopilot policy, which decides how much Ankra may do about cost unasked |
update_cost_autopilot | mcp:write | No | Change the cost autopilot policy, one project’s defaults, or one cluster’s tier |
list_cost_decisions | mcp:read | No | The cost decisions Ankra’s cost surfaces filed (right-sizes, off-hours schedules, released volumes to clean up) within your reach, newest first, each with its status, plan, plan_hash, expected saving and whether you may decide and run it |
get_cost_decision | mcp:read | No | One cost decision with its plan and plan_hash, evidence, status, the receipt of a run and the measured saving; a security decision is refused here |
approve_cost_decision | mcp:write | No | Approve the plan you read: plan_hash must match, so a plan that changed since is refused. Nothing runs yet: execute_cost_decision runs it, or the cost autopilot does once its run_after passes |
set_aside_cost_decision | mcp:write | No | Set a cost decision aside with your reason, withdrawing an approval before anything ran; approving it again re-opens it |
hold_cost_decision | mcp:write | No | Hold an approved cost decision before it ran; the cost autopilot does not run it until someone releases it |
release_cost_decision | mcp:write | No | Release a held cost decision back to approved; an approval older than the approval window is refused and taken back to proposed |
execute_cost_decision | mcp:write | No | Run an approved cost decision now, on the cluster or cloud account: a right-size, a schedule or deleting released volumes. A delete with no snapshot needs consent; the answer carries the operation_id while it runs and the receipt once settled |
get_usage | mcp:read | No | The organisation’s usage of Ankra per meter and period, such as worker vCPU-hours, hosted logs and AI tokens |
get_billing_standing | mcp:read | No | The organisation’s billing standing as the platform’s gates read it: which limit applies (an overdue invoice, the credit limit, an exhausted prepaid wallet or the free tier’s capacity), whether it is enforced, the remedy and the actions it pauses (billing.read) |
get_wallet_balance | mcp:read | No | The organisation’s prepaid credit wallet: its net position in EUR, its state, the credit lots in the order they are spent with their expiry, and whether top-ups are open; no wallet is the free tier, not an empty one (billing.read) |
get_cost_report | mcp:read | No | The rows behind the cost summaries, picked with report: ledger (cost decisions with expected and measured savings; the twin of ankra cost ledger), trend (the fleet’s monthly run rate per day; the twin of ankra cost trend), waste (open cloud waste findings with their monthly cost) or resolved_waste. Figures are in minor units of the display currency; null means unknown, not zero |
Managed Services
Managed services such as PostgreSQL, Valkey and OpenSearch set up for an application, the same surface asankra services. Setup, retirement, disconnecting one application, and resizing or upgrading a PostgreSQL service are two steps each, a prepared review and a confirmation.
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_service_packages | mcp:read | No | The managed-service packages the organisation may set up, with their package version ids |
get_service_package | mcp:read | No | One managed-service package version’s contract, with its modes, parameters and secret inputs |
create_chart_service_profile | mcp:write | No | Make one Helm chart into a stack profile a managed-service package can be published over and publish its first version, optionally generating a Secret in each service’s namespace whose values Ankra never sees; a published version cannot change (profiles.write) |
get_service_profile_pin | mcp:read | No | The pin a managed-service package needs for one version of a stack profile the organisation owns: the profile id, version id and content digest, and the publisher id (profiles.read) |
publish_service_package | mcp:write | No | Publish a managed-service package version to the organisation’s catalogue from its contract document, so its services can be set up and connected to applications; a published version cannot change, and publishing does not make Ankra operate or qualify it (profiles.write) |
get_service_setup_eligibility | mcp:read | Yes | Which managed services one application environment can set up right now, with the reason and fix when blocked |
get_service_cluster_policy | mcp:read | Yes | A cluster’s managed-service placement policy, with its region and data boundary |
set_service_cluster_policy | mcp:write | Yes | Declare a cluster’s managed-service placement policy (optional; without one, setup uses the default location) |
list_service_consumers | mcp:read | No | One application’s consumer bindings for managed services |
bind_service_consumer | mcp:write | Yes | Bind an application namespace on a cluster as a consumer of managed services |
unbind_service_consumer | mcp:write | No | Remove a consumer binding that no unretired service still uses |
prepare_service_setup | mcp:write | Yes | Prepare the review of a new managed service, returning its plan without deploying anything |
confirm_service_setup | mcp:write | No | Confirm a prepared managed-service review and start its deployment |
list_service_instances | mcp:read | No | The organisation’s managed services with state, readiness, health and consumers |
get_service_instance | mcp:read | No | One managed service with its deployment state, health, readiness evidence, consumers and connection details (never credential values) |
prepare_service_retirement | mcp:write | No | Prepare the retirement of a managed service, listing everything it would remove and keep without removing anything |
confirm_service_retirement | mcp:write | No | Confirm a prepared retirement and delete the managed service and its data, which cannot be undone |
get_service_retirement | mcp:read | No | One retirement of a managed service with its plan, state and outcome |
connect_service_consumer | mcp:write | No | Connect one more application environment to a managed service that already runs. On PostgreSQL the application gets a database role of its own where the service can carry one; credential set to owner gives the shared owner credential instead |
prepare_service_reconfiguration | mcp:write | No | Prepare resizing a running managed PostgreSQL service (instances, tier, storage, CPU or memory), returning every change and what happens to the running database without changing anything |
confirm_service_reconfiguration | mcp:write | No | Confirm a prepared resize by its digest and deploy it. A storage grow cannot be undone |
prepare_service_upgrade | mcp:write | No | Prepare upgrading a running managed PostgreSQL service to a newer version of its package within the same PostgreSQL major, or back from an upgrade whose roll failed, returning the versions, changelog and disruption without changing anything |
confirm_service_upgrade | mcp:write | No | Confirm a prepared upgrade by its digest and roll the new version onto the service’s stack in place |
prepare_service_disconnection | mcp:write | No | Prepare disconnecting one application environment from a managed service that keeps running for its other applications, returning the review without changing anything |
confirm_service_disconnection | mcp:write | No | Confirm a prepared disconnection: the application keeps working until its next deploy, and Ankra removes its connection Secret once no pod reads it. The shared credential is not revoked |
set_service_connection_default | mcp:write | Yes | Choose which managed service gives one application environment a protocol’s conventional connection names, or that none does; when the service that held them is retired while another still serves the environment, deploys are refused until this is chosen. The next deploy delivers the choice (applications.deploy and clusters.operate) |
Cluster Mesh
Cilium cluster meshes that join two or more Ankra clusters into one flat pod network. Available while the organisation’s cluster mesh feature is enabled.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_cluster_meshes | mcp:read | No | The organisation’s cluster meshes with status and every member cluster |
get_cluster_mesh | mcp:read | No | One cluster mesh with its status and each member’s Cilium identity and status |
check_cluster_mesh_readiness | mcp:read | No | Whether the given clusters could form one mesh, with the failing checks per cluster |
create_cluster_mesh | mcp:write | No | Create a new, empty cluster mesh with a name |
join_cluster_to_mesh | mcp:write | Yes | Add one cluster to a mesh, which reconfigures its Cilium networking |
make_cluster_mesh_ready | mcp:write | Yes | Make an existing cluster mesh-capable in place, without rebuilding it |
remove_cluster_from_mesh | mcp:write | Yes | Remove one cluster from a mesh |
delete_cluster_mesh | mcp:write | No | Delete a cluster mesh that has no members left |
DNS
Cloudflare DNS records in the organisation’s own Cloudflare account, and the extra DNS zones a cluster serves with the organisation’s DNS credentials.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_cloudflare_domains | mcp:read | No | The Cloudflare domains the organisation’s Cloudflare credential can reach, with their ids and status |
list_cloudflare_dns_records | mcp:read | No | The DNS records in one Cloudflare domain, each marked as created by Ankra or elsewhere |
create_cloudflare_dns_record | mcp:write | No | Create a DNS record in one of the organisation’s Cloudflare domains |
update_cloudflare_dns_record | mcp:write | No | Change what an existing Cloudflare DNS record points at |
delete_cloudflare_dns_record | mcp:write | No | Delete a DNS record from one of the organisation’s Cloudflare domains, which Ankra cannot restore |
list_cluster_custom_dns_zones | mcp:read | No | The DNS zones one cluster serves with the organisation’s own DNS credentials, including inherited ones |
add_cluster_custom_dns_zone | mcp:write | No | Declare that a cluster also serves a DNS zone with one of the organisation’s DNS credentials |
remove_cluster_custom_dns_zone | mcp:write | No | Withdraw a DNS zone a cluster declared, leaving its existing records in place |
get_cloud_dns_zones | mcp:read | No | The DNS zones held in the organisation’s Ankra Cloud account, or with zone_id who may manage one zone’s records: its mode, roles, project limit and parent zone (the twin of ankra org access-gateway zones and get). Refused for a caller confined to one project |
Object Storage
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_object_storage_buckets | mcp:read | No | The object storage buckets Ankra created on the organisation’s provider credentials (key material never returned) |
get_object_storage_bucket | mcp:read | No | One object storage bucket’s provider, region, endpoint and status (key material never returned) |
create_object_storage_bucket | mcp:write | No | Create an object storage bucket on a Hetzner, Scaleway, DigitalOcean or UpCloud credential |
delete_object_storage_bucket | mcp:write | No | Stop managing an object storage bucket, and optionally empty and delete it at the provider |
Playgrounds
| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
list_playground_plans | mcp:read | No | The orderable playground sizes with prices, availability and the organisation’s memory budget |
get_playground_status | mcp:read | No | A playground’s provisioning phase, expiry, starter app URL, size and price. On Ankra Cloud also its trial: when a free playground is deleted, and trial.keep_url, the page where you save a card to keep it |
create_playground | mcp:write | No | Order a hosted playground Kubernetes namespace at a named size, or the free trial |
resize_playground | mcp:write | No | Resize a paid playground in place to another size |
destroy_playground | mcp:write | No | Destroys nothing over MCP: answers approval_url, the page in the Ankra portal where a person destroys the playground and everything deployed in it |
Agent MCP Tool Servers
External MCP tool servers an organisation registers to give its agent runs extra tools.| Tool | Scope | Cluster-scoped | Description |
|---|---|---|---|
get_mcp_catalog | mcp:read | No | The curated catalog of external MCP integrations an organisation admin can connect |
list_mcp_servers | mcp:read | No | The organisation’s registered MCP tool servers with state, permission tier and grant counts |
register_mcp_server | mcp:write | No | Register an external MCP tool server for the organisation (organisation admins only) |
set_mcp_server_enabled | mcp:write | No | Enable or disable a registered MCP tool server (organisation admins only) |
grant_mcp_tool | mcp:write | No | Grant one of a registered server’s tools to an organisation role so agent runs can call it (organisation admins only) |
Related
- MCP Server - endpoint, tokens, and client setup
- Portal URLs - the page behind each resource, and how to build a link from the IDs and names these tools return
- AI Assistant - the same tools in the product chat
- API Tokens