Massdriver

v0.2.1
cloud.massdriver/mcp-server Checked 3 hours ago Published 7 days ago

Manage the Massdriver infrastructure platform: projects, environments, deployments, and more.

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

abort_deployment Abort Deployment

Aborts a running deployment.

ParameterTypeDescription
id *stringThe deployment ID to abort.

add_component Add Component

Adds an infrastructure component to a project's blueprint. Each component is a specific instance of a bundle (e.g., a Redis cache or PostgreSQL database).

ParameterTypeDescription
bundle_name *stringName of the bundle to add (e.g., 'aws-aurora-postgres').
id *stringShort identifier for this component, max 20 lowercase alphanumeric characters. Immutable after creation.
name *stringDisplay name for this component (e.g., 'Billing Database').
project_id *stringThe project ID to add the component to.
attributesobjectOptional. Custom attribute tags at the component scope. Must conform to the organization's custom-attribute schema; some may be required.
descriptionstringOptional description of this component's purpose. Max 255 characters.

add_group_service_account Add Group Service Account

Adds a service account to an access control group.

ParameterTypeDescription
group_id *stringThe group ID.
service_account_id *stringThe service account ID to add.

add_group_user Add Group User

Adds a user to an access control group by email. If the user is not yet a member of the organization, an invitation will be sent.

ParameterTypeDescription
email *stringThe email address of the user to add.
group_id *stringThe group ID.

approve_deployment Approve Deployment

Approves a proposed deployment, allowing it to proceed. When the instance's environment has separation of duty enabled, the proposer's own approval is rejected — a second reviewer must approve (the proposer can still withdraw with reject_deployment).

ParameterTypeDescription
id *stringThe deployment ID to approve.

clone_project Clone Project

Clones an existing project into a new project, duplicating its blueprint structure (components and their wiring) without copying any environments. The new project starts with no environments.

ParameterTypeDescription
id *stringUnique identifier for the new project, max 20 lowercase alphanumeric characters. Cannot be changed after creation.
name *stringHuman-readable name for the new project shown in the UI.
source_project_id *stringThe ID of the project to clone from.
attributesobjectOptional. Custom attribute tags at the project scope (e.g., {"team":"eng"}). Must conform to the organization's custom-attribute schema. Use get_organization to discover defined attributes.
descriptionstringOptional description of the new project. Max 255 characters.

compare_deployments Compare Deployments

Compares two deployments' snapshotted configuration: the bundle version on each side plus a flat, leaf-level diff of their params. Use it to audit what a deployment changed or to contrast deployments from different points in time. Runtime state, logs, and produced artifacts are out of scope. The two deployments need not target the same instance, though comparing unrelated instances reports every param as present on one side only.

ParameterTypeDescription
source_id *stringThe source (baseline) deployment ID.
target_id *stringThe target deployment ID to compare against the source.

compare_environments Compare Environments

Compares two environments in the same project, instance-by-instance. Instances are paired by component; for each component the result reports the resolved bundle version on each side and a flat, leaf-level diff of the configured params. When a component is deployed on only one side, the other side's entry is null. Environment-level attributes and default resource wiring are not part of the comparison. Both environments must belong to the same project.

ParameterTypeDescription
source_id *stringThe source (baseline) environment ID.
target_id *stringThe target environment ID to compare against the source. Must be in the same project as the source.

copy_instance Copy Instance

Copies a source instance's configuration onto an existing destination instance, overwriting the destination's params. Requires `source_id` and `destination_id` (the destination instance must already exist — this does not create a new instance). Source and destination MUST be instances of the same blueprint component (same manifest) — instances built from the same bundle/OCI repo but different components cannot be copied between. `overrides` is deep-merged onto the source params before writing, useful for destination-specific tweaks. `copy_secrets` and `copy_remote_references` (both default…

ParameterTypeDescription
destination_id *stringThe ID of the existing destination instance to copy configuration onto. Its params will be overwritten.
source_id *stringThe ID of the instance to copy configuration from.
copy_remote_referencesbooleanOptional. When true, copies remote resource references from the source instance to the destination. Default false.
copy_secretsbooleanOptional. When true, copies secret values from the source instance to the destination. Default false.
overridesobjectOptional. Params deep-merged onto the source params before writing to the destination (e.g. environment-specific tweaks).

create_custom_attribute Create Custom Attribute

Creates a custom attribute definition for the organization. Attribute keys are unique across the ENTIRE organization and ALL scopes (case-insensitively) — the same key cannot be declared at two different scopes, so pick per-scope key names up front (e.g. `team` at PROJECT scope blocks `team` at ENVIRONMENT scope). When `required` is true, the attribute becomes MANDATORY org-wide for every resource at its scope — set it deliberately. This tool defaults `required` to false when you omit it.

ParameterTypeDescription
key *stringAttribute key name: 1-64 characters, identifier-like (starts with a letter or underscore; letters, digits, and underscores only). Case-insensitive (TEAM and team are the same key); the md- prefix is r…
scope *stringAttribute scope: PROJECT, ENVIRONMENT, COMPONENT, or REPO.
requirednull | booleanOptional. Whether the attribute is mandatory org-wide at its scope. Defaults to false when omitted. Set true only when you intend to require it on every resource at that scope.
valuesarrayOptional. Allowed values for the attribute.

create_deployment Create Deployment

Creates and starts a deployment for an instance. Use action PROVISION to deploy, DECOMMISSION to tear down, or PLAN to preview changes. Every action (including DECOMMISSION) needs the full parameter set, validated against the instance's params schema (see get_instance.paramsSchema) — `params` is not a partial override. Either pass `params` explicitly, or set `use_latest_params` to true to reuse the instance's current saved configuration (the common case for DECOMMISSION, PLAN of the current config, or redeploy-as-is). To tear down a whole environment, use decommission_environment instead. To…

ParameterTypeDescription
action *stringDeployment action: PROVISION, DECOMMISSION, or PLAN.
instance_id *stringThe instance ID to deploy.
messagestringOptional. Deployment message or reason.
paramsobjectThe full bundle parameter set for this deployment, validated against the instance params schema (get_instance.paramsSchema). Required unless use_latest_params is true; omitting both sends an empty map…
use_latest_paramsbooleanOptional. When true, reuse the instance's saved params — the values from its most recent deployment, even if that deployment failed — instead of passing params. Mutually exclusive with params. Fai…

create_environment Create Environment

Creates a new environment within a project.

ParameterTypeDescription
id *stringUnique identifier for the environment within the project, max 20 lowercase alphanumeric characters. Cannot be changed after creation.
name *stringHuman-readable name shown in the UI.
project_id *stringThe ID of the project to create the environment in.
attributesobjectOptional. Custom attribute tags at the environment scope (e.g., {"env":"prod"}). Must conform to the organization's custom-attribute schema; some may be required.
decommission_protectionbooleanOptional. When true, blocks decommission_environment and per-instance DECOMMISSION deployments until disabled via update_environment. Default false.
descriptionstringOptional description of the environment. Max 255 characters.
separation_of_dutybooleanOptional. When true, deployment proposals in this environment must be approved by someone other than the proposer. Default false.

create_group Create Group

Creates a new access control group in the organization.

ParameterTypeDescription
name *stringThe name of the group.
descriptionstringOptional. A description of the group.

create_oci_repo Create OCI Repo

Creates a new OCI repository.

ParameterTypeDescription
artifact_type *stringArtifact type (e.g., 'BUNDLE').
id *stringRepository name (immutable after creation).
attributesobjectOptional. Custom attributes for the repository.

create_oci_repo_grant Create OCI Repo Grant

Creates a sharing grant on an OCI repository, optionally restricting recipients by attribute conditions.

ParameterTypeDescription
action *stringThe action to grant, e.g. repo:pull.
repo_id *stringThe OCI repository ID to grant access to.
recipient_conditionsobjectOptional. Attribute conditions restricting grant recipients.

create_policy Create Policy

Creates a new ABAC policy on a group. Policies control what actions group members can perform, optionally scoped by attribute conditions.

ParameterTypeDescription
actions *arrayActions the policy applies to (e.g., 'deployment:create'), in entity:verb form. Must be non-empty — an empty list grants nothing, it does NOT mean 'all actions'. Use list_policy_actions to enumerate…
effect *stringPolicy effect: ALLOW or DENY.
group_id *stringThe group ID to attach the policy to.
conditionsobjectOptional. Attribute conditions scoping the policy (map of attribute key to allowed values). Conditions referencing attribute keys not declared in the organization are silently dropped by the server, w…

create_project Create Project

Creates a new project in the Massdriver organization.

ParameterTypeDescription
id *stringUnique identifier for the project, max 20 lowercase alphanumeric characters. Cannot be changed after creation.
name *stringHuman-readable name shown in the UI.
attributesobjectOptional. Custom attribute tags at the project scope (e.g., {"team":"eng"}). Must conform to the organization's custom-attribute schema; some may be required. Use get_organization to discover defined…
descriptionstringOptional description of the project. Max 255 characters.

create_resource Create Resource

Imports (creates) a resource by providing its type and payload data. The payload must conform to the resource type's schema — use get_resource_type to inspect it and its import instructions first.

ParameterTypeDescription
name *stringDisplay name for the resource.
resource_type_id *stringThe resource type ID (e.g., 'aws-iam-role'), optionally pinned to a specific published version with an '@<version>' suffix (e.g., 'aws-iam-role@1.2.3'). Only an exact version is accepted here — rang…
payloadobjectOptional. Resource payload data.

create_resource_grant Create Resource Grant

Creates a sharing grant on a resource, optionally restricting recipients by attribute conditions.

ParameterTypeDescription
action *stringThe action to grant. Currently 'resource:export' is the only grantable action; visibility is inferred from any granted action.
resource_id *stringThe resource ID to grant access to.
recipient_conditionsobjectOptional. Attribute conditions restricting grant recipients.

decommission_environment Decommission Environment

Schedules a teardown of every instance in the environment in reverse dependency order. The environment shell stays in place so it can be redeployed; use delete_environment to remove the empty environment afterwards. Cancels any in-flight environment deployment and enqueues a fresh decommission wave. Returns as soon as the wave is enqueued — the infrastructure changes happen asynchronously. Blocked when the environment has decommission protection enabled; disable it via update_environment first.

ParameterTypeDescription
id *stringThe environment ID to decommission (e.g., 'myproj-staging').

delete_custom_attribute Delete Custom Attribute

Deletes a custom attribute definition from the organization.

ParameterTypeDescription
id *stringThe custom attribute ID to delete.

delete_environment Delete Environment

Deletes an environment. All instances in the environment must be decommissioned before deletion.

ParameterTypeDescription
id *stringThe environment identifier to delete (e.g., 'myproj-staging').

delete_group Delete Group

Deletes an access control group.

ParameterTypeDescription
id *stringThe group ID to delete.

delete_oci_repo Delete OCI Repo

Deletes an OCI repository.

ParameterTypeDescription
id *stringThe OCI repository ID to delete.

delete_oci_repo_grant Delete OCI Repo Grant

Deletes an OCI repository sharing grant by ID.

ParameterTypeDescription
grant_id *stringThe grant ID to delete.

delete_policy Delete Policy

Deletes an ABAC policy.

ParameterTypeDescription
id *stringThe policy ID to delete.

delete_project Delete Project

Deletes a project. All environments in the project must be empty before deletion.

ParameterTypeDescription
id *stringThe project ID to delete.

delete_resource Delete Resource

Deletes a resource by ID.

ParameterTypeDescription
id *stringThe resource ID.

delete_resource_grant Delete Resource Grant

Deletes a sharing grant by ID.

ParameterTypeDescription
grant_id *stringThe grant ID to delete.

delete_service_account Delete Service Account

Deletes a service account.

ParameterTypeDescription
id *stringThe service account ID to delete.

deploy_environment Deploy Environment

Schedules a deployment of every instance in the environment in dependency order. Cancels any in-flight environment deployment and enqueues a fresh provision wave. Returns as soon as the wave is enqueued — the infrastructure changes happen asynchronously.

ParameterTypeDescription
id *stringThe environment ID to deploy (e.g., 'myproj-staging').

evaluate_policies_batch Evaluate Policies Batch

Evaluates multiple permission checks in a single request (up to 10).

ParameterTypeDescription
checks *arrayList of action/entity pairs to check (max 10).

evaluate_policy Evaluate Policy

Evaluates whether the current caller is allowed to perform an action on a specific entity.

ParameterTypeDescription
action *stringThe action to check (e.g., 'deployment:create').
entity_id *stringThe entity ID to check against.

explain_policy Explain Policy

Returns a human-readable explanation of what a policy configuration would permit or deny.

ParameterTypeDescription
actions *arrayActions the policy applies to, in entity:verb form. Must be non-empty — an empty list explains to nothing, it does NOT mean 'all actions'.
effect *stringPolicy effect: ALLOW or DENY.
conditionsobjectOptional. Attribute conditions scoping the policy. Conditions referencing attribute keys not declared in the organization are silently dropped by the explainer (the explanation reads wider than intend…

export_resource Export Resource

Exports a resource with unmasked payload data. This action is audit-logged.

ParameterTypeDescription
id *stringThe resource ID to export.
formatstringOptional. Export format, defaults to 'json'.

fork_environment Fork Environment

Forks a new environment from an existing parent environment within the same project, copying the parent's component configuration into the new environment. Requires `parent_id`, `id`, and `name`. The copy toggles control what carries over from the parent: `copy_secrets` (each component's secret values), `copy_remote_references` (each component's remote resource references), and `copy_environment_defaults` (the parent's default resource connections). All default to false.

ParameterTypeDescription
id *stringUnique identifier for the new environment within the project, max 20 lowercase alphanumeric characters. Cannot be changed after creation.
name *stringHuman-readable name shown in the UI.
parent_id *stringThe ID of the parent environment to fork from.
attributesobjectOptional. Custom attribute tags at the environment scope. Must conform to the organization's custom-attribute schema; some may be required.
copy_environment_defaultsbooleanOptional. When true, copies the parent's default resource connections into the fork. Default false.
copy_remote_referencesbooleanOptional. When true, copies every component's remote resource references from the parent into the fork. Default false.
copy_secretsbooleanOptional. When true, copies every component's secret values from the parent into the fork. Default false.
decommission_protectionbooleanOptional. When true, blocks decommission_environment and per-instance DECOMMISSION deployments on the fork until disabled via update_environment. Default false.
descriptionstringOptional description of the fork's purpose. Max 255 characters.
separation_of_dutybooleanOptional. When true, deployment proposals in the fork must be approved by someone other than the proposer. Default false.

get_audit_log Get Audit Log

Gets a specific audit log entry by ID.

ParameterTypeDescription
id *stringThe audit log entry ID.

get_bundle Get Bundle

Gets a specific bundle by ID. Supports version constraints like 'aws-aurora-postgres@1.2.3', 'aws-aurora-postgres@~1', or 'aws-aurora-postgres@latest'. To discover which bundles exist, use `list_oci_repos` with `artifact_type` set to 'BUNDLE'. To list the available versions of a bundle, use `get_oci_repo` — the published version tags live on the bundle's OCI repository. Returns resources (outputs the bundle produces) and dependencies (inputs it requires), each tagged with a resourceType — components connect when a producer's resource type matches a consumer's dependency type.

ParameterTypeDescription
id *stringThe bundle ID, optionally with a version constraint (e.g., 'aws-aurora-postgres', 'aws-aurora-postgres@latest', 'aws-aurora-postgres@~1.2').

get_component Get Component

Gets a specific component by ID, including its configuration and links. Each link carries `fromVersionConstraint` and `toVersionConstraint` — the tilde version ranges of the components it routes between (`~1` covers 1.x, `~0.4` covers 0.4.x) — which decide the environments the link actually applies in. Use list_environment_links to see which links are in effect for a given environment.

ParameterTypeDescription
id *stringThe component ID.

get_deployment Get Deployment

Gets a specific deployment by ID, including its status, action, elapsed time, and associated instance.

ParameterTypeDescription
id *stringThe deployment ID.

get_deployment_logs Get Deployment Logs

Gets the logs for a specific deployment. By default returns a snapshot of the logs so far. Output is capped to the most recent 40KB — a leading note reports when older content was elided; use `tail_lines` to adjust (-1 for everything). Set follow=true to block until the deployment reaches a terminal status (COMPLETED, FAILED, ABORTED, or REJECTED), then return the final status plus the logs — use this after create_deployment or approve_deployment to deploy and see the result in a single call. If follow times out before the deployment finishes, the response says so; call again with follow=t…

ParameterTypeDescription
id *stringThe deployment ID to fetch logs for.
followbooleanOptional. If true, wait until the deployment finishes and return the final status plus logs. Default false (snapshot of logs so far).
tail_linesintegerOptional. Return only the last N log lines. Omit for the default cap (last 40KB); pass -1 for the complete log.
timeout_secondsintegerOptional. When follow is true, maximum seconds to wait (default 300, max 600).

get_environment Get Environment

Gets a specific environment by its full identifier (e.g., 'myproject-staging'), including its default resource bindings (the `defaults` field — the default resource bound per type for instances in this environment).

ParameterTypeDescription
id *stringThe environment identifier, typically in the format 'project-environment' (e.g., 'myproj-staging').

get_group Get Group

Gets a specific access control group by ID (id, name, description, role, timestamps). Members, service accounts, and policies are not included here — use list_group_members, list_group_service_accounts, list_group_invitations, and list_group_policies for those.

ParameterTypeDescription
id *stringThe group ID.

get_instance Get Instance

Gets a specific instance by ID, including its environment, project, and current bundle release. Returns paramsSchema (the JSON Schema for this instance's deploy params, resolved for its pinned bundle version) and params (values from the most recent deployment — empty until first deployed). Also returns dependencies: the instance's incoming connections — the upstream resources wired into its connection slots.

ParameterTypeDescription
id *stringThe instance ID.

get_oci_repo Get OCI Repo

Gets a specific OCI repository by ID, including its published version tags.

ParameterTypeDescription
id *stringThe OCI repository ID.

get_organization Get Organization

Gets the current organization's details (id, name, subscription status, timestamps). Custom attributes and members are not included here — use list_custom_attributes and list_organization_members for those.

get_organization_settings Get Organization Settings

Gets the organization's behavior settings. `default_bundle_access` is the access new bundle repositories receive at creation: NONE keeps each new repository restricted until a grant is authored; ALL_PROJECTS auto-creates an org-wide repo:pull grant on each new repository. Requires the organization:manageSettings permission — non-admin tokens will get a forbidden error.

get_policy Get Policy

Gets a specific ABAC policy by ID.

ParameterTypeDescription
id *stringThe policy ID.

get_policy_attribute_schema Get Policy Attribute Schema

Gets the JSON Schema describing valid condition attributes for a given policy action.

ParameterTypeDescription
action *stringThe policy action to get the attribute schema for.

get_project Get Project

Gets a specific project by ID, including its environments.

ParameterTypeDescription
id *stringThe project ID (e.g., 'myproj').

get_resource Get Resource

Gets a specific resource by ID. Payload values are masked; use export_resource for unmasked data.

ParameterTypeDescription
id *stringThe resource ID.

get_resource_type Get Resource Type

Gets a resource type — the contract behind Massdriver's connection system — including its full JSON schema, import instructions, and connection orientation (LINK = wired explicitly between instances; ENVIRONMENT_DEFAULT = satisfied automatically by an environment default). The version portion of the ID may be an exact semver ('aws-iam-role@1.2.3'), a range ('aws-iam-role@~1'), a channel ('aws-iam-role@latest'), or omitted entirely (resolves to latest); the returned ID always carries the fully resolved version.

ParameterTypeDescription
id *stringThe resource type ID, optionally versioned (e.g., 'aws-iam-role', 'aws-iam-role@1.2.3', 'aws-iam-role@~1', 'aws-iam-role@latest').

get_server Get Server

Gets server metadata including version information and available authentication methods.

get_service_account Get Service Account

Gets a specific service account by ID.

ParameterTypeDescription
id *stringThe service account ID.

get_url Get URL

Generates a deep link URL into the Massdriver web UI. Supported types: organization, projects, project, environment, instance, bundle, repo_instances.

ParameterTypeDescription
type *stringURL type: organization, projects, project, environment, instance, bundle, or repo_instances.
idstringOptional. Resource ID (required for project, environment, instance, bundle, repo_instances).
versionstringOptional. Version string (required for bundle, repo_instances).

get_viewer Get Viewer

Gets the currently authenticated identity (user account or service account).

list_alarms List Alarms

Lists alarms across instances, one page at a time. PREFER filtering by `project_id`, `environment_id`, `component_id`, `instance_id`, or `oci_repo_name` to keep the result set focused. Returns up to `page_size` alarms (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every alarm.

ParameterTypeDescription
component_idstringOptional. Filter alarms to this component.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
environment_idstringOptional. Filter alarms to this environment.
instance_idstringOptional. Filter alarms to this instance.
oci_repo_namestringOptional. Filter alarms to instances of this bundle.
page_sizeintegerOptional. Page size (1-100, default 25).
project_idstringOptional. Filter alarms to this project.

list_audit_log_event_types List Audit Log Event Types

Lists all available audit log event types that can be used to filter audit logs.

list_audit_logs List Audit Logs

Lists audit log entries for the organization, newest first, one page at a time. STRONGLY PREFER filtering by `type`, `actor_id`, or `actor_search` — audit logs grow unboundedly. Returns up to `page_size` entries (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for the full history.

ParameterTypeDescription
actor_idstringOptional. Filter by actor ID.
actor_searchstringOptional. Search by actor name or email.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).
typestringOptional. Filter by event type (e.g., 'deployment.created').

list_components List Components

Lists all components in a project's blueprint.

ParameterTypeDescription
project_id *stringThe project ID to list components for.

list_custom_attributes List Custom Attributes

Lists the organization's custom attribute definitions, one page at a time. Use this to discover which attribute keys are declared (and their scopes and allowed values) before setting attributes on projects/environments/components or writing policy conditions. Returns up to `page_size` attributes (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_deployments List Deployments

Lists deployments in the organization, newest first, one page at a time. STRONGLY PREFER filtering by `instance_id`, `status`, or `action` — unfiltered lists span the entire org history. Returns up to `page_size` deployments (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every deployment.

ParameterTypeDescription
actionstringOptional. Filter by action: PROVISION, DECOMMISSION, or PLAN.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
instance_idstringOptional. Filter to deployments for this instance ID.
page_sizeintegerOptional. Page size (1-100, default 25).
statusstringOptional. Filter by status: PROPOSED, APPROVED, PENDING, RUNNING, COMPLETED, FAILED, REJECTED, or ABORTED.

list_environment_unfulfilled_dependencies List Environment Unfulfilled Dependencies

Lists required dependency inputs across an environment's instances that nothing fills — no blueprint link, no per-instance remote reference, and no environment default of the matching resource type. Each entry is one input a deploy would block on (optional inputs are never included), so use this to answer "why won't this environment deploy?". To fix an entry: wire a resource into the slot (link_components or set_remote_reference) or bind an environment default of the listed resource type (set_environment_default). Returns the whole list (not paginated), sorted by instance identifier then inp…

ParameterTypeDescription
id *stringThe environment identifier (e.g., 'myproj-staging').

list_environments List Environments

Lists environments in the organization, one page at a time. PREFER filtering by `project_id` — unfiltered lists span every project. Returns up to `page_size` environments (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every environment.

ParameterTypeDescription
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).
project_idstringOptional. Filter to environments belonging to this project ID. Leave empty to list across all projects.

list_group_invitations List Group Invitations

Lists pending email invitations to a group (users invited but not yet joined), one page at a time. Returns up to `page_size` invitations (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
group_id *stringThe group ID whose pending invitations to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_group_members List Group Members

Lists the users who are members of a group, one page at a time. Returns up to `page_size` members (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
group_id *stringThe group ID whose members to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_group_policies List Group Policies

Lists the ABAC policies attached to a group, one page at a time. Returns up to `page_size` policies (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
group_id *stringThe group ID whose attached policies to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_group_service_accounts List Group Service Accounts

Lists the service accounts that are members of a group, one page at a time. Returns up to `page_size` service accounts (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
group_id *stringThe group ID whose service accounts to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_groups List Groups

Lists access control groups in the organization, one page at a time. Returns up to `page_size` groups (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Stop once you have what you need — do NOT paginate to exhaustion unless the user explicitly asked for every group.

ParameterTypeDescription
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_instances List Instances

Lists instances in the organization, one page at a time. STRONGLY PREFER filtering by `project_id`, `environment_id`, `status`, or `attributes` — unfiltered lists can span thousands of instances. Returns up to `page_size` instances (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every instance.

ParameterTypeDescription
attributesarrayOptional. Filter by custom attributes. An instance matches attributes set anywhere on its chain (project, environment, component, instance). Entries are AND'd together.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
environment_idstringOptional. Filter to instances belonging to this environment ID.
page_sizeintegerOptional. Page size (1-100, default 25).
project_idstringOptional. Filter to instances belonging to this project ID.
statusstringOptional. Filter by status: INITIALIZED, PROVISIONED, DECOMMISSIONED, or FAILED.

list_oci_repo_grants List OCI Repo Grants

Lists sharing grants on an OCI repository, one page at a time. Returns up to `page_size` grants (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
repo_id *stringThe OCI repository ID whose grants to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_oci_repos List OCI Repos

Lists OCI repositories in the organization, one page at a time. Filter by `artifact_type` to list repositories of a given type (e.g. 'BUNDLE'). PREFER filtering by `search` or `artifact_type` to focus the catalog. Returns up to `page_size` repositories (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every repository.

ParameterTypeDescription
artifact_typestringOptional. Filter by artifact type (e.g., 'BUNDLE'). Empty matches any (bundles and resource types).
attributesarrayOptional. Filter by repository attributes. Repositories are organization-level, so only attributes set on the repository itself match, plus 'md-repo' and 'md-id' (both resolve to the repository name).…
created_afterstringOptional. Only repositories created at or after this RFC 3339 timestamp (e.g., '2026-01-15T00:00:00Z'). Inclusive.
created_beforestringOptional. Only repositories created at or before this RFC 3339 timestamp. Inclusive.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).
searchstringOptional. Search term to filter repositories.

list_organization_members List Organization Members

Lists the members (user accounts) of the current organization, one page at a time. Returns up to `page_size` members (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Requires the organization:manageProfile permission — non-admin tokens will get a forbidden error.

ParameterTypeDescription
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_policy_actions List Policy Actions

Lists all available policy actions that can be used in ABAC policies.

list_policy_attribute_values List Policy Attribute Values

Lists the permitted values for a custom attribute key at a given scope.

ParameterTypeDescription
key *stringThe attribute key to list values for.
scope *stringAttribute scope: PROJECT, ENVIRONMENT, COMPONENT, or REPO.

list_policy_entities List Policy Entities

Lists all available entity kinds that policies can target.

list_projects List Projects

Lists projects in the Massdriver organization, one page at a time. Returns up to `page_size` projects (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Optionally filter with `search` (free-text over name and description), `name` (exact name match), `name_in` (match any of several exact names), or `created_after`/`created_before` (creation time window). Stop once you have what you need — do NOT paginate to exhaustion unless the user explicitly asked for every project.

ParameterTypeDescription
created_afterstringOptional. Only projects created at or after this RFC 3339 timestamp (e.g., '2026-01-15T00:00:00Z'). Inclusive.
created_beforestringOptional. Only projects created at or before this RFC 3339 timestamp. Inclusive.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
namestringOptional. Filters to projects whose display name exactly equals this value. Use search for partial matching. Mutually exclusive with name_in.
name_inarrayOptional. Filters to projects whose display name is any of these exact values. Mutually exclusive with name.
page_sizeintegerOptional. Page size (1-100, default 25).
searchstringOptional. Free-text search across each project's name and description. Matches whole words anywhere in the text and is forgiving of partial or out-of-order terms. When set, results are ranked by relev…

list_resource_grants List Resource Grants

Lists sharing grants on a resource, one page at a time. Returns up to `page_size` grants (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`.

ParameterTypeDescription
resource_id *stringThe resource ID whose grants to list.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).

list_resource_type_dependents List Resource Type Dependents

Lists the instances in an environment that depend on a resource type, one entry per (instance, dependency field) pair. Use it to see what a resource type is used by before changing or removing a resource of that type. Returns the whole list (not paginated).

ParameterTypeDescription
environment_id *stringThe environment ID to inspect (e.g., 'myproj-staging').
resource_type_id *stringThe resource type ID (e.g., 'aws-vpc'). A version suffix is accepted but matching resolves at the type level.

list_resources List Resources

Lists resources (provisioned or imported), one page at a time. STRONGLY PREFER filtering by `environment_id`, `resource_type`, `origin`, or `search` — unfiltered lists can span thousands of resources across an org. Returns up to `page_size` resources (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Do NOT paginate to exhaustion unless the user explicitly asked for every resource.

ParameterTypeDescription
attributesarrayOptional. Filter by effective attributes. A provisioned resource matches attributes set anywhere on its instance chain (project, environment, component, instance) plus 'md-resource-type' and 'md-id';…
created_afterstringOptional. Only resources created at or after this RFC 3339 timestamp (e.g., '2026-01-15T00:00:00Z'). Inclusive.
created_beforestringOptional. Only resources created at or before this RFC 3339 timestamp. Inclusive.
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
environment_idstringOptional. Filter to resources in this environment.
originstringOptional. Filter by origin: IMPORTED or PROVISIONED.
page_sizeintegerOptional. Page size (1-100, default 25).
resource_typestringOptional. Filter by resource type (e.g., 'aws-iam-role'), optionally pinned to a specific published version with an '@<version>' suffix (e.g., 'aws-iam-role@1.2.3').
searchstringOptional. Search term to filter resources.

list_service_accounts List Service Accounts

Lists service accounts in the organization, one page at a time. Returns up to `page_size` accounts (default 25, max 100) plus a `next_cursor` for the following page. To continue, call again with `cursor` set to the previous `next_cursor`. Use `search` to narrow by name when looking for a specific account. Do NOT paginate to exhaustion unless the user explicitly asked for every account.

ParameterTypeDescription
cursorstringOptional. Opaque cursor from a prior call's next_cursor. Omit for the first page.
page_sizeintegerOptional. Page size (1-100, default 25).
searchstringOptional. Search term to filter service accounts by name.

orphan_instance Orphan Instance

Break-glass operation that resets a permanently-stuck instance to INITIALIZED, clearing all Terraform/OpenTofu state locks. Active RUNNING, PENDING, and APPROVED deployments are bulk-aborted so a late worker callback cannot walk the instance status back to PROVISIONED. Set `delete_state: true` to ALSO remove the remote IaC state files — this is IRREVERSIBLE: the next deployment provisions from scratch and may duplicate any resources the prior state was tracking. Leave `delete_state` false unless the state is known to be unrecoverable. Use only to recover a genuinely stuck instance.

ParameterTypeDescription
instance_id *stringThe instance ID to orphan (reset to INITIALIZED).
delete_statebooleanOptional. When true, also deletes the remote Terraform/OpenTofu state files. IRREVERSIBLE — the next deployment provisions from scratch and may duplicate resources. Default false.

plan_deployment Plan Deployment

Runs a fresh PLAN (dry-run preview) against an existing deployment's parameters. This is a read-only preview: it copies the source deployment's params onto a new PLAN deployment and changes nothing on the source deployment, the instance's saved configuration, or any other deployment. The source deployment can be in any status — use it to preview a proposal before approving, replay a completed deployment, or scope out a rollback against an older snapshot. Returns the new PLAN deployment.

ParameterTypeDescription
id *stringThe ID of the source deployment whose params should be planned.

propose_deployment Propose Deployment

Proposes a deployment for approval. Only supports PROVISION and DECOMMISSION actions. The deployment enters PROPOSED status and must be approved or rejected. Both actions need the full parameter set, validated against the instance's params schema (see get_instance.paramsSchema) — `params` is not a partial override. Either pass `params` explicitly, or set `use_latest_params` to true to reuse the instance's current saved configuration.

ParameterTypeDescription
action *stringDeployment action: PROVISION or DECOMMISSION.
instance_id *stringThe instance ID to deploy.
messagestringOptional. Deployment message or reason.
paramsobjectThe full bundle parameter set for this deployment, validated against the instance params schema (get_instance.paramsSchema). Required unless use_latest_params is true; omitting both sends an empty map…
use_latest_paramsbooleanOptional. When true, reuse the instance's saved params — the values from its most recent deployment, even if that deployment failed — instead of passing params. Mutually exclusive with params. Fai…

reject_deployment Reject Deployment

Rejects a proposed deployment, preventing it from proceeding.

ParameterTypeDescription
id *stringThe deployment ID to reject.

remove_component Remove Component

Removes a component from a project's blueprint.

ParameterTypeDescription
id *stringThe component ID to remove.

remove_environment_default Remove Environment Default

Removes a default resource binding from an environment.

ParameterTypeDescription
id *stringThe environment default ID to remove.

remove_group_service_account Remove Group Service Account

Removes a service account from an access control group.

ParameterTypeDescription
group_id *stringThe group ID.
service_account_id *stringThe service account ID to remove.

remove_group_user Remove Group User

Removes a user from an access control group.

ParameterTypeDescription
email *stringThe email address of the user to remove.
group_id *stringThe group ID.

remove_instance_secret Remove Instance Secret

Removes a secret from an instance.

ParameterTypeDescription
instance_id *stringThe instance ID to remove the secret from.
name *stringSecret name to remove.

remove_remote_reference Remove Remote Reference

Removes the remote-reference override from the named connection slot on an instance. The slot reverts to its blueprint link (if any) or the environment default at the next deploy. `field` is a key in the instance bundle's connectionsSchema. The instance must not be in PROVISIONED or FAILED status.

ParameterTypeDescription
field *stringThe connection slot to clear — a key in the instance bundle's connectionsSchema.
instance_id *stringThe instance ID whose connection-slot override is being removed.

revoke_group_invitation Revoke Group Invitation

Revokes a pending invitation for a user to join an access control group.

ParameterTypeDescription
email *stringThe email address of the invitation to revoke.
group_id *stringThe group ID.

rollback_deployment Rollback Deployment

Proposes a rollback to a past deployment's exact state. The source deployment is the historical run to return to and must be a COMPLETED PROVISION. This creates a new PROPOSED PROVISION deployment that snapshots the source's params, connection wiring, bundle version, and release — it does NOT apply anything on its own. The proposal goes through the normal review flow: preview it with plan_deployment, then approve_deployment to apply (pinning the instance to the source's exact configuration) or reject_deployment to discard.

ParameterTypeDescription
id *stringThe ID of the source deployment (a COMPLETED PROVISION) to roll back to.

set_component_position Set Component Position

Sets a component's pixel position on the project's visual canvas. `x` is the horizontal offset and `y` the vertical offset, both in pixels from the canvas origin. This is a purely cosmetic layout change and does not affect the component's configuration or deployments.

ParameterTypeDescription
id *stringThe component ID to reposition (e.g., 'myproj-database').
x *integerHorizontal position in pixels from the canvas origin.
y *integerVertical position in pixels from the canvas origin.

set_environment_default Set Environment Default

Sets a resource as the default of its type for an environment — new instances bind to it for that dependency type. The resource must first be shared to the environment with create_resource_grant (whose recipient_conditions match the environment, or are omitted for all environments), otherwise this fails with "not granted to this environment". Only one default per resource type.

ParameterTypeDescription
environment_id *stringThe environment ID to set the default on.
resource_id *stringThe resource ID to bind as the default.

set_instance_secret Set Instance Secret

Sets or updates a secret on an instance. Secrets are injected into deployments as environment variables.

ParameterTypeDescription
instance_id *stringThe instance ID to set the secret on.
name *stringSecret name (will be uppercased as an env var).
value *stringSecret value.

set_remote_reference Set Remote Reference

Overrides one of an instance's connection slots with a resource from another project (or an imported resource). `field` names the connection slot to bind — a key in the instance bundle's connectionsSchema. `resource_id` is either a UUID (for imported resources) or "instance.field" (for a resource provisioned by another instance). This override takes priority over any blueprint-level link wired into the same slot, and reverts to that link (or the environment default) when removed with remove_remote_reference. The instance must not be in PROVISIONED or FAILED status.

ParameterTypeDescription
field *stringThe connection slot to bind — a key in the instance bundle's connectionsSchema.
instance_id *stringThe instance ID whose connection slot is being overridden.
resource_id *stringThe resource to bind: a UUID for an imported resource, or "instance.field" for a resource provisioned by another instance.

update_component Update Component

Updates a component's name, description, or configuration attributes.

ParameterTypeDescription
id *stringThe component ID to update.
attributesobjectOptional. Replacement custom attribute tags at the component scope. Omit to leave unchanged; when provided, replaces the full attribute set. Must conform to the organization's custom-attribute schema.
descriptionnull | stringOptional. New description, max 255 characters. Omit to leave unchanged; pass an empty string to clear it.
namenull | stringOptional. New display name. Omit to leave unchanged; cannot be set to an empty string.

update_custom_attribute Update Custom Attribute

Updates a custom attribute definition for the organization.

ParameterTypeDescription
id *stringThe custom attribute ID to update.
requirednull | booleanOptional. Whether the attribute is required.
valuesarrayOptional. Allowed values for the attribute.

update_environment Update Environment

Updates an environment's name, description, custom attributes, decommission protection, or separation of duty. Only the fields you provide are changed.

ParameterTypeDescription
id *stringThe environment identifier (e.g., 'myproj-staging').
attributesobjectOptional. Replacement custom attribute tags at the environment scope. Omit to leave unchanged; when provided, replaces the full attribute set. Must conform to the organization's custom-attribute schem…
decommission_protectionnull | booleanOptional. Toggles the guard that blocks decommission_environment and per-instance DECOMMISSION deployments. Omit to leave unchanged.
descriptionnull | stringOptional. New description, max 255 characters. Omit to leave unchanged; pass an empty string to clear it.
namenull | stringOptional. New human-readable name. Omit to leave unchanged; cannot be set to an empty string.
separation_of_dutynull | booleanOptional. Toggles whether deployment proposals in this environment must be approved by someone other than the proposer. Omit to leave unchanged.

update_group Update Group

Updates an existing access control group's name or description.

ParameterTypeDescription
id *stringThe group ID to update.
descriptionstringOptional. New description for the group.
namestringOptional. New name for the group.

update_instance Update Instance

Updates an instance's version pin.

ParameterTypeDescription
id *stringThe instance ID to update.
version *stringThe version constraint to pin (e.g., '~1.2', '1.2.3').

update_oci_repo Update OCI Repo

Updates an OCI repository's attributes.

ParameterTypeDescription
id *stringThe OCI repository ID to update.
attributesobjectOptional. New attributes for the repository.

update_organization_settings Update Organization Settings

Updates the organization's behavior settings. Setting `default_bundle_access` to ALL_PROJECTS auto-creates an org-wide repo:pull grant on each bundle repository created AFTERWARDS (a normal, revocable grant row); NONE keeps each new repository restricted until a grant is authored. Changing it never affects access to existing repositories. Requires the organization:manageSettings permission — non-admin tokens will get a forbidden error.

ParameterTypeDescription
default_bundle_access *stringThe access new bundle repositories receive at creation: NONE or ALL_PROJECTS.

update_policy Update Policy

Updates an existing ABAC policy's effect, actions, or conditions.

ParameterTypeDescription
effect *stringPolicy effect: ALLOW or DENY.
id *stringThe policy ID to update.
actionsarrayOptional. Actions the policy applies to.
conditionsnull | objectOptional. Attribute conditions scoping the policy. Pass null to leave unchanged.

update_project Update Project

Updates a project's name or description.

ParameterTypeDescription
id *stringThe project ID to update.
attributesobjectOptional. Replacement custom attribute tags at the project scope. Omit to leave unchanged; when provided, replaces the full attribute set. Must conform to the organization's custom-attribute schema.
descriptionnull | stringOptional. New description, max 255 characters. Omit to leave unchanged; pass an empty string to clear it.
namenull | stringOptional. New human-readable name. Omit to leave unchanged; cannot be set to an empty string.

update_resource Update Resource

Updates an existing resource by ID.

ParameterTypeDescription
id *stringThe resource ID.
name *stringDisplay name for the resource.
payloadobjectOptional. Resource payload data.

update_service_account Update Service Account

Updates a service account's name or description.

ParameterTypeDescription
id *stringThe service account ID to update.
descriptionstringOptional. New description for the service account.
namestringOptional. New name for the service account.