mcp
v0.6.0Local/self-hosted MCP server for AIRCTRL records, projects, gateways and usage workflows.
Local/self-hosted Model Context Protocol server for AIRCTRL records, projects, gateways and usage workflows. @airctrl/mcp runs locally on your machine or in infrastructure you control. It uses @airctrl/sdk for AIRCTRL operations. MCP does not inherit airctrl login. Configure its identity explicitly so an agent cannot silently reuse a terminal session. See Combine AIRCTRL tools for workflows that use both tools.
Summary extracted from the README.
@airctrl/mcp
Local/self-hosted Model Context Protocol server for AIRCTRL records, projects, gateways and usage workflows.
Documentation · AIRCTRL · Support
This README is generated from AIRCTRL's verified public documentation. The HTTP API is the capability source of truth; SDK, CLI and MCP are thin bindings over that contract.
Install
npx --yes @airctrl/mcp
Requires Node.js 22.x.
Current release
Coordinated package version: 0.6.0
SDK
- Added the canonical typed MCP Gateway client for gateway, catalog, server, tool, client-key, policy-as-code and call-evidence operations.
- Added progressive/eager tool-discovery configuration and connector-backed
stdiocatalog server inputs.
CLI
- Added the
airctrl mcp-gatewaycommand family as a thin binding over the SDK. - Added
--discovery-moderuntime configuration and--connectorfor local catalog servers.
MCP
- Added MCP Gateway discovery, provisioning, policy-preview and scoped client-key tools backed by the same SDK owner.
- Added progressive discovery controls; gateway clients can search ranked schemas before invoking one selected tool.
Release engineering
- Coordinated SDK, CLI, MCP, Web, and Authenticator package references at
0.6.0. - Added production-image, tarball, installed-consumer, generated README, and public-contract verification for the MCP Gateway release.
MCP setup
@airctrl/mcp runs locally on your machine or in infrastructure you control. It uses @airctrl/sdk for AIRCTRL operations.
MCP does not inherit airctrl login. Configure its identity explicitly so an agent cannot silently reuse a terminal session. See Combine AIRCTRL tools for workflows that use both tools.
Requirements
- Node.js 22.x available to the MCP client.
- A human PAT or one complete active Service Account credential.
- The AIRCTRL API URL.
- A vault passphrase only in human mode when the agent is allowed to decrypt or change record values.
Environment variables
| Variable | Required | Purpose |
|---|---|---|
AIRCTRL_MCP_API_URL |
Always for a Service Account | API URL. Human mode defaults to http://localhost:15430. |
AIRCTRL_MCP_API_TOKEN |
Yes for AIRCTRL calls | Human PAT or Service Account bearer. |
AIRCTRL_MCP_VAULT_PASSWORD |
Only for record cryptography | Unlocks human cryptographic material locally. |
AIRCTRL_MCP_SA_CREDENTIAL_ID |
Service Account mode | credentialId from the active credential bundle. |
AIRCTRL_MCP_SA_CAP_PRIVATE_KEY_B64 |
Service Account mode | Capability private key from the same bundle. It stays local. |
AIRCTRL_MCP_SA_SERVICE_ACCOUNT_ID |
Optional | Service Account ID from the same bundle, used for diagnostics. |
AIRCTRL_MCP_KEY_* |
Only when adding or rotating a provider credential | Provider values read by variable name. |
Never place a PAT, passphrase, provider key or decrypted record in a prompt.
Choose one identity
Human
Create a PAT in Settings > Access tokens. Set AIRCTRL_MCP_VAULT_PASSWORD only when the agent may decrypt or change record values as you.
Service Account
Create the Service Account, assign its custom roles and project access, and provision an active credential in the dashboard. Map these values from that same bundle:
AIRCTRL_MCP_API_URL = bundle.baseUrl
AIRCTRL_MCP_API_TOKEN = bundle.bearer
AIRCTRL_MCP_SA_CREDENTIAL_ID = bundle.credentialId
AIRCTRL_MCP_SA_CAP_PRIVATE_KEY_B64 = bundle.capPrivateKeyB64
AIRCTRL_MCP_SA_SERVICE_ACCOUNT_ID = bundle.serviceAccountId # optional
Do not set AIRCTRL_MCP_VAULT_PASSWORD for a Service Account. MCP rejects partial bundles and mixed human/Service Account unlock material before connecting.
Run a private server connector
The default npx @airctrl/mcp command exposes AIRCTRL tools to an MCP-compatible AI client. The
connector subcommand has a different purpose: it lets an AIRCTRL MCP Gateway reach approved
stdio servers that run inside your machine or private network.
Create a connector from MCP Gateways → Connectors. AIRCTRL shows its token and complete environment block once. Save them before closing the dialog.
| Variable | Required | Purpose |
|---|---|---|
AIRCTRL_MCP_CONNECTOR_ID |
Yes | Identifies the project connector created in AIRCTRL. |
AIRCTRL_MCP_CONNECTOR_URL |
Yes | Outbound WebSocket channel. Production connections require wss:. |
AIRCTRL_MCP_CONNECTOR_TOKEN |
Yes | One-time connector credential. Keep it outside source control. |
AIRCTRL_MCP_CONNECTOR_SERVERS_FILE |
Yes | Absolute or working-directory-relative path to the local server allowlist. |
The servers file defines commands that the connector is allowed to start. Its env entries contain
environment variable names, never credential values:
{
"servers": [
{
"ref": "internal-tools",
"command": "path-to-mcp-server",
"args": [],
"env": ["MCP_SERVER_API_KEY"]
}
]
}
Start the outbound connector beside those private servers:
npx -y @airctrl/mcp connector
The connector opens the connection to AIRCTRL; it does not require an inbound firewall rule. AIRCTRL
can request only a ref declared in the local file. Command arguments, environment values, tool inputs
and tool results are not written to connector logs. Revoking the connector in the app closes the channel
and prevents reconnection.
Choose your MCP client
AIRCTRL runs as a local stdio MCP server. Choose the guide for the AI client you use:
Each guide shows the file or interface that client uses, a read-only connection check, a natural request, common failures, and how to remove AIRCTRL again. AIRCTRL does not currently publish the desktop extension package required for a first-class Claude Desktop setup.
Generic local server shape
Use the MCP client's normal server configuration shape:
{
"mcpServers": {
"airctrl": {
"command": "npx",
"args": ["-y", "@airctrl/mcp"],
"env": {
"AIRCTRL_MCP_API_URL": "https://api.airctrl.dev",
"AIRCTRL_MCP_API_TOKEN": "${AIRCTRL_TOKEN}",
"AIRCTRL_MCP_VAULT_PASSWORD": "${AIRCTRL_VAULT_PASSPHRASE}"
}
}
}
}
Your MCP client decides whether ${...} values are expanded. If it does not support expansion, use its documented secret or environment configuration instead of committing credentials to the file.
Service Account example:
{
"mcpServers": {
"airctrl-machine": {
"command": "npx",
"args": ["-y", "@airctrl/mcp"],
"env": {
"AIRCTRL_MCP_API_URL": "https://api.airctrl.dev",
"AIRCTRL_MCP_API_TOKEN": "${AIRCTRL_SA_BEARER}",
"AIRCTRL_MCP_SA_CREDENTIAL_ID": "${AIRCTRL_SA_CREDENTIAL_ID}",
"AIRCTRL_MCP_SA_CAP_PRIVATE_KEY_B64": "${AIRCTRL_SA_CAP_PRIVATE_KEY_B64}",
"AIRCTRL_MCP_SA_SERVICE_ACCOUNT_ID": "${AIRCTRL_SERVICE_ACCOUNT_ID}"
}
}
}
}
Provider credentials
Add provider values to the MCP server environment with an AIRCTRL_MCP_KEY_* name. Then tell the agent only the name.
{
"AIRCTRL_MCP_KEY_OPENAI_PRODUCTION": "${OPENAI_API_KEY}"
}
Example request:
Add an OpenAI provider credential named "Production OpenAI". Read the key from
AIRCTRL_MCP_KEY_OPENAI_PRODUCTION.
The tool validates the variable name and reads the value inside the local MCP process.
Verify the connection
Ask:
Show AIRCTRL MCP status. Do not call any record tool.
The airctrl_status tool reports the API URL, the selected identity type and whether its credential is configured. It does not reveal credential values.
In human mode, then ask:
List my AIRCTRL accounts.
The server calls list_accounts.
In Service Account mode, list_accounts is intentionally unavailable. Verify a real assigned scope instead:
List AIRCTRL record metadata for project
<project-id>. Do not decrypt values.
The server calls list_records and the API returns only records the Service Account may access.
Agent safety
- Approve the smallest action needed.
- Give explicit account, project and resource IDs.
- Review write parameters before execution.
- Do not call
get_secretorget_allunless the model may receive the plaintext. - Keep Service Account credential lifecycle in the dashboard. MCP does not expose it.
See the complete MCP tools list.
MCP tools
AIRCTRL MCP tools use @airctrl/sdk. Tool results contain structured JSON. Errors return safe codes and messages without exposing stored credentials.
Use MCP prompt cookbook for one prompt per tool. Use MCP workflows for prompts that coordinate several tools safely.
Identity availability
A human PAT can use every API-backed tool on this page when RBAC permits it. Local helpers do not require API authorization. A Service Account sees only the tools that its API identity can actually use:
| Service Account tool | Purpose |
|---|---|
airctrl_status |
Confirm that MCP selected Service Account mode without revealing credentials. |
list_records |
List record metadata granted through its custom role or direct record access. |
get_secret |
Decrypt one accessible record locally. |
read_record |
Read permitted sections of one accessible record. |
get_all |
Decrypt accessible records in one project. |
list_secret_types |
List record formats locally. |
generate_secret |
Generate secret material locally without storing it. |
list_providers |
List enabled AI providers. |
get_connection_config |
Read connection details for one accessible gateway. |
list_gateway_tokens |
List safe token metadata for one accessible gateway. |
read_usage |
List request metadata for one accessible gateway. |
read_gateway_log |
Read one accessible gateway log. |
read_gateway_key_access |
Read provider-key access events for one accessible gateway. |
list_mcp_gateways |
List accessible MCP gateways in a project. |
get_mcp_gateway |
Read one accessible MCP gateway. |
list_mcp_server_catalog |
List curated MCP server recipes. |
list_mcp_servers |
List connected servers. |
get_mcp_server_health |
Read server and connector health. |
list_mcp_tools |
List synchronized tools. |
list_mcp_clients |
List client identities. |
list_mcp_client_keys |
List safe client-key metadata. |
list_mcp_policies |
List tool policies. |
list_mcp_grants |
List principal grants. |
list_mcp_calls |
List bounded call evidence. |
get_mcp_call_metrics |
Read call totals and latency. |
export_mcp_calls_csv |
Export bounded call metadata. |
All other tools are human-only and are not registered in Service Account mode. RBAC can still deny any listed operation when the Service Account lacks the required custom-role permission or project access.
Status and context
| Tool | Inputs | Purpose |
|---|---|---|
airctrl_status |
None | Show API URL and whether authentication is configured. |
list_accounts |
None | List accounts available to the configured human PAT. |
list_projects |
accountId; optional includeArchived |
List accessible projects in one account. |
get_project |
accountId, projectId |
Read one project. |
create_project |
accountId, name; optional description |
Create a project and make the caller Project Administrator. |
update_project |
accountId, projectId, name, description, isActive |
Replace project name, description and active state. |
set_project_archive |
accountId, projectId, archived |
Archive or restore one project. |
Groups and access material
These tools are human-only. Team+ and RBAC apply; Service Accounts cannot manage or join human groups. Read Groups and effective access before changing membership.
| Tool | Inputs | Purpose |
|---|---|---|
list_groups |
accountId, projectId |
List groups in the project context and their current grants. |
list_record_group_grants |
accountId, recordId |
Read group sharing options and caller capabilities. |
create_group |
accountId, projectId, name; optional description |
Create a reusable account group without granting a project role. |
update_group |
accountId, groupId, name; optional description |
Replace name and description; omission clears description. |
delete_group |
accountId, groupId |
Delete the group while preserving independent access paths. |
list_group_members |
accountId, groupId |
List current members, not candidate users. |
add_group_member |
accountId, groupId, userId |
Add membership across existing group grants. |
remove_group_member |
accountId, groupId, userId |
Remove only this membership and reconcile effective access. |
grant_project_group |
accountId, projectId, groupId, roleId |
Grant an existing delegable project role. |
revoke_project_group |
accountId, projectId, groupId, roleId |
Revoke only this project/group/role assignment. |
reconcile_group_access |
accountId; optional projectIds |
Attempt pending material repair with the configured local vault. |
Membership, deletion and grant results are server snapshots, including changed, wrapper-deletion counts and per-resource changes. Check pending material and remaining paths; success is not proof that every recipient can decrypt. Reconciliation returns attempts in attemptedProjectIds, never a permission grant. Optional project IDs limit project repair, not pending direct group-record shares in the account. Missing holder material can remain pending. Never put a passphrase in a prompt; use the existing local MCP vault configuration.
Service Account metadata
| Tool | Inputs | Purpose |
|---|---|---|
list_service_accounts |
accountId |
List safe Service Account metadata in one account. |
get_service_account |
accountId, serviceAccountId |
Find one Service Account by ID. |
These metadata tools are human-only. Service Account creation, state changes, credential lifecycle and identity rotation are not MCP tools.
Record reading and creation
| Tool | Inputs | Purpose |
|---|---|---|
list_records |
Optional projectId, accountId, tab, includeArchived, limit, offset |
List accessible record metadata. |
get_secret |
recordId; optional environment |
Decrypt one General or selected Environment value locally. |
read_record |
recordId; optional scope, environment |
Read selected record sections and only the selected secret value. fields returns its complete decrypted field map. |
get_all |
projectId; optional environment |
Decrypt accessible General or selected Environment values in one project. |
list_secret_types |
None | List supported record formats and field definitions. |
generate_secret |
format; optional options |
Generate supported secret material locally without storing it. |
create_record |
projectId, name, secretFormat; optional fields, generate, options, environment, tags, secretDueAt, rotationIntervalDays, idempotencyKey |
Encrypt and create a General record, or one Environment record with its selected value. |
set_secret |
fields; either recordId or projectId, name, secretFormat; optional environment, changedFields, tags, secretDueAt, rotationIntervalDays, idempotencyKey |
Update one selected value by ID or create/upsert by project and name. Human-only. |
Record lifecycle and sharing
| Tool | Inputs | Purpose |
|---|---|---|
update_record_metadata |
recordId; at least one of name, tags, secretDueAt, rotationIntervalDays; optional environment |
Change safe record metadata. Select an Environment when changing its due date or rotation interval. |
set_record_archive |
recordId, archived |
Archive or restore a record. |
transfer_record_ownership |
recordId, newOwnerUserId |
Transfer record ownership to an eligible user. |
list_record_versions |
recordId |
List record version history. |
rollback_record |
recordId, targetVersionId |
Open an earlier version locally and append a new current version under the current data key. Human mode and local vault unlock required. |
rotate_record |
recordId |
Rotate the record key and encrypted value locally. |
share_record_user |
recordId, userId; optional permission |
Share a record with one user. |
share_record_service_account |
accountId, recordId, serviceAccountId |
Share a record with one Service Account. |
share_record_group |
recordId, groupId |
Share a record with a group. |
revoke_record_user |
recordId, userId |
Remove the direct user grant; preserve independent access paths. |
revoke_record_service_account |
recordId, serviceAccountId |
Remove one Service Account's record access. |
revoke_record_group |
recordId, groupId |
Remove the group grant; preserve independent access paths. |
Record audit
| Tool | Inputs | Purpose |
|---|---|---|
read_record_audit |
recordId; optional limit |
Read audit events for one record. |
list_record_audit |
recordId; optional cursor, action, actor, from, to, limit, legacy offset |
Read a stable filtered audit-event page. |
list_record_anomalies |
Optional accountId, scopeType, scopeId |
List unusual record events. |
list_record_activity |
day; optional accountId, scopeType, scopeId |
Read one UTC day's record activity. |
list_record_alerts |
Optional accountId, scopeType, scopeId, cursor, limit, legacy offset |
Read the record alert feed. |
list_record_access |
Optional accountId, scopeType, scopeId, cursor, limit, legacy offset, actions |
Read the record access feed. |
Ask an agent for a bounded page and keep the returned cursor opaque:
List the first 25 record.update audit events for record
00000000-0000-4000-8000-000000000020 where the actor contains "david".
Return pagination.next_cursor without decoding it.
MCP tool used: list_record_audit
Providers and gateway setup
| Tool | Inputs | Purpose |
|---|---|---|
list_providers |
None | List enabled AI providers. |
list_provider_credentials |
accountId |
List safe provider credential metadata. |
add_provider_key |
accountId, providerId, apiKeyEnv; optional label, baseUrlOverride, credentialKind |
Read a provider value from an allowed environment variable and store it. credentialKind accepts api_key, oauth, aws_sigv4, or gcp_sa. |
list_provider_models |
accountId, credentialId |
List models available through a provider credential, including official numeric rates, displayText, and context-tiered rateCard data. |
rotate_provider_key |
accountId, credentialId, apiKeyEnv |
Replace a provider credential using an AIRCTRL_MCP_KEY_* environment variable; the raw key never enters the tool call. |
rename_provider_credential |
accountId, credentialId, label |
Change a provider credential label. |
revoke_provider_credential |
accountId, credentialId |
Revoke a provider credential. |
list_gateways |
projectId |
List gateways in one project. |
create_gateway |
accountId, projectId, name; optional slug, credentialBindings |
Create a gateway, optionally with explicit credential/model bindings. |
setup_gateway |
projectId, provider, apiKeyEnv, models; optional name, tokenName, baseUrlOverride |
Add or reuse a provider credential, validate and bind every live-catalog model, create a gateway, mint a token and return connection data. |
get_connection_config |
gatewayId |
Return compatibility and native OpenAI, Anthropic, Gemini, Mistral, OpenRouter, HiTheo, Groq, Novita AI, Atlas Cloud, and xAI URLs, plus supported realtime WebSocket URLs. |
set_routing |
accountId, gatewayId; optional name, isActive, attachCredentialId, modelIds |
Update gateway metadata and optionally attach one credential to several live-catalog models. attachCredentialId and modelIds are provided together. |
set_gateway_settings |
accountId, gatewayId; at least one optional settings field |
Update limits, logging, guardrails or allowed models. |
detach_gateway_credential |
accountId, gatewayId, credentialId; optional modelId |
With modelId, remove one exact model binding. Without it, detach every model for the credential. The credential is not revoked. |
delete_gateway |
accountId, gatewayId |
Disable a gateway and revoke its tokens. |
MCP Gateway control plane
The local AIRCTRL MCP server exposes MCP Gateway tools through the same typed SDK owner used by the CLI and Web. Read tools cover gateways, the curated server catalog, connected servers, synchronized tools, clients, policies, grants and call evidence.
Human-only write tools create and update gateways, servers, clients, scoped keys and policies. Destructive operations require an explicit confirm: true. Policy YAML supports a non-mutating preview and a separate confirmed apply.
Client-key plaintext is returned once by create_mcp_client_key. It is never included by list tools or call evidence.
update_mcp_runtime accepts toolDiscoveryMode: "progressive" | "eager". Progressive mode keeps upstream schemas out of the initial tools/list; the gateway exposes airctrl__search_tools and airctrl__call_tool so the model retrieves at most five ranked schemas for each focused task step. Search ranking uses the provider, tool name, description and argument metadata while preserving the client's server scope.
create_mcp_server accepts authSecretEnv, the name of an AIRCTRL_MCP_KEY_* variable. It never accepts the hosted access token directly in the prompt. update_mcp_runtime changes only server-bounded runtime values.
| MCP Gateway tool | Purpose |
|---|---|
list_mcp_gateways |
List project gateways. |
create_mcp_gateway |
Create a gateway. |
list_mcp_server_catalog |
List curated servers. |
get_mcp_gateway |
Read one gateway. |
update_mcp_gateway |
Update one gateway. |
delete_mcp_gateway |
Delete with confirmation. |
update_mcp_runtime |
Update bounded runtime settings. |
list_mcp_servers |
List connected servers. |
create_mcp_server |
Connect a server. |
list_mcp_tools |
List synchronized tools. |
delete_mcp_server |
Remove with confirmation. |
update_mcp_server |
Update one server. |
sync_mcp_server |
Synchronize tools. |
get_mcp_server_health |
Read server health. |
list_mcp_clients |
List clients. |
create_mcp_client |
Register a client. |
revoke_mcp_client |
Revoke with confirmation. |
update_mcp_client |
Rename a client. |
list_mcp_client_keys |
List safe key metadata. |
create_mcp_client_key |
Return one scoped key once. |
revoke_mcp_client_key |
Revoke with confirmation. |
list_mcp_policies |
List policies. |
create_mcp_policy |
Create a policy. |
delete_mcp_policy |
Delete with confirmation. |
list_mcp_grants |
List grants. |
create_mcp_grant |
Create a grant. |
revoke_mcp_grant |
Revoke with confirmation. |
export_mcp_policy |
Export YAML. |
preview_mcp_policy |
Preview YAML without mutation. |
apply_mcp_policy |
Apply YAML with confirmation. |
list_mcp_calls |
List call evidence. |
get_mcp_call_metrics |
Read metrics. |
get_mcp_call_payload |
Read one retained payload. |
export_mcp_calls_csv |
Export metadata CSV. |
Gateway tokens
| Tool | Inputs | Purpose |
|---|---|---|
list_gateway_tokens |
gatewayId |
List safe gateway token metadata. |
create_gateway_token |
accountId, gatewayId, name; optional scopes, expiresInDays, principal, allowedModels, spendLimit, spendWindow, rateLimitPerMin |
Create a constrained gateway token and return its value once. |
rename_gateway_token |
accountId, gatewayId, tokenId, name |
Change a gateway token label. |
revoke_gateway_token |
accountId, gatewayId, tokenId |
Stop a gateway token from authenticating. |
delete_gateway_token |
accountId, gatewayId, tokenId |
Delete gateway token metadata. |
Logs, usage and OpenTelemetry
| Tool | Inputs | Purpose |
|---|---|---|
read_usage |
gatewayId; optional since, until, provider, model, status, statusClass, search, cursor, limit, legacy offset |
Read filtered request metadata for one gateway and search stored bodies when authorized. |
read_gateway_log |
gatewayId, logId |
Read stored request and response bodies for one gateway log. |
read_gateway_key_access |
gatewayId; optional outcome, since, until, limit, offset |
List provider credential access outcomes. |
list_usage_logs |
projectId; optional since, until, provider, model, status, gatewayId, cursor, limit, legacy offset |
List usage across a project. |
read_usage_log |
projectId, logId |
Read one project's stored request and response bodies. |
read_usage_spend |
projectId; optional gatewayId |
Compare spend with effective project or gateway limits. |
read_usage_metrics |
projectId; optional since, until, bucket, gatewayId, provider, model, statusClass, search |
Read filterable project or gateway metrics. |
get_otel_export |
accountId, gatewayId |
Read safe OpenTelemetry export settings. |
set_otel_export |
accountId, gatewayId; optional export fields |
Update OpenTelemetry export settings. |
Input rules
- IDs are UUID strings. Copy them from AIRCTRL instead of asking an agent to guess them.
- Dates and timestamps use ISO 8601.
dayusesYYYY-MM-DD;sinceis inclusive anduntilis exclusive. read_record.scopeaccepts sections only:fields,meta,owner,access, orfull. It does not select individual field names.- Omit
environmentto select General, or usedevelopment,staging, orproductionto select exactly that record value. The PAT or Service Account token must permit the selected scope; an absent value never falls back to General or another Environment. get_secret,read_recordwithfields, andget_allreturn plaintext to the local MCP client. The model or agent can receive that plaintext; use these tools only when that exposure is approved.- Log pagination starts without a cursor. Continue with
pagination.next_cursor, the same scope and the exact same filters. Cursors cannot be combined with legacyoffset. Keeplimitsmall when an agent only needs a summary. accountIdselects the account. It does not grant access to it.projectId,recordId,gatewayId,credentialIdandtokenIdselect resources. AIRCTRL still checks RBAC and resource access.- Optional booleans must be real JSON booleans such as
true, not strings such as"true". - Tools that create credentials or tokens can return a value only once. Save it immediately in an approved destination.
For write or destructive operations, ask the agent to repeat the target IDs and intended change before it calls the tool. This makes accidental changes easier to catch.
Complete workflow examples
Inspect a project without decrypting records
list_records returns safe metadata. It does not decrypt secret fields.
Show the first 25 active records in project
"00000000-0000-4000-8000-000000000010". Return only record names,
formats, tags and IDs. Do not decrypt any values.
MCP tool used: list_records
Read one secret locally
The MCP server obtains encrypted data through the SDK and decrypts it on the machine where MCP is running. The agent can still receive the plaintext result, so only use this tool in a trusted agent session.
Read record "00000000-0000-4000-8000-000000000020" locally. Use its value
only for this task. Do not print it, log it or include it in your final response.
MCP tool used: get_secret
Read one Environment value locally
For a By Environment record, request one value explicitly:
Read only the Staging value of record
"00000000-0000-4000-8000-000000000020". Do not read General, Development
or Production. Use the value only for this approved task; do not repeat it
in your response.
MCP tool used: get_secret with environment: 'staging'
Create a generated password record
create_record encrypts the generated fields locally before sending the record to AIRCTRL.
Create a password record named "Production database password" in project
"00000000-0000-4000-8000-000000000010". Set the service name to "Database"
and username to "app_user", then generate a 32-character password locally.
Before creating it, confirm the project ID, name, format and non-secret fields.
Never print the generated password.
MCP tool used: create_record
Create a generated Environment record
The same tool can create a single Staging value without inventing another record or exposing generated material in the prompt:
Create an SSH record named "Deployment key" in project
"00000000-0000-4000-8000-000000000010" for Staging only. Generate the key
locally with host "stage.example.invalid" and username "deploy". Show
the project, name, format and Environment before asking for my confirmation.
Do not print the generated private key.
MCP tool used: create_record with environment: 'staging' and generate: true
Set up a gateway from an environment variable
The MCP process reads AIRCTRL_MCP_KEY_OPENAI_PRODUCTION; the model does not need the provider key in the prompt. The returned gateway token is shown only once.
Set up an OpenAI gateway named "Production gateway" in project
"00000000-0000-4000-8000-000000000010". Read the provider key from
"AIRCTRL_MCP_KEY_OPENAI_PRODUCTION", use "gpt-5" by default, and name the
first gateway token "Local development". Show the proposed details and wait
for my confirmation. Never print the environment variable value.
MCP tool used: setup_gateway
Review usage before changing limits
This separates a read-only review from the later write.
Review current spend and request rates for project
"00000000-0000-4000-8000-000000000010". Propose exact new limits, but do not
change any gateway setting until I approve those values.
MCP tools used: read_usage_spend, read_usage_metrics, set_gateway_settings
Revoke a gateway token
Revocation takes effect immediately. Listing a token never returns its secret value.
List tokens for gateway 00000000-0000-4000-8000-000000000030.
Find the token named "Old laptop". Show its ID and status, then wait for confirmation.
After confirmation, revoke only that token and report its final status.
MCP tools used: list_gateway_tokens, revoke_gateway_token
OAuth partner Apps
The MCP server has no OAuth App credential mode, authorization-code flow, or installation/protection lifecycle tools. Do not place OAuth client secrets, authorization codes, access tokens, or refresh tokens in MCP configuration or an agent conversation. Neither is a confidential partner token store, and a hosted MCP would violate the partner-backend boundary.
Implement OAuth partner flows through direct HTTP/OpenAPI or OAuthPartnerClient in the partner's
confidential backend. See OAuth partner integrations,
OAuth protocol, and
OAuth protection API. MCP may manage ordinary gateways with a
separately authorized human PAT; those tools do not act as an OAuth installation.
Tool results
API-backed tools return structured JSON from @airctrl/sdk. Read tools return the requested resource, list tools return arrays or paginated data, and write tools return the new or updated resource. One-time credentials are the exception: their plaintext is present only in the successful creation result.
Local helpers behave differently:
| Tool | Result |
|---|---|
airctrl_status |
Selected API URL, identity mode and configuration status; never credentials. |
list_secret_types |
Supported secret formats and their field definitions. |
generate_secret |
Generated secret fields in memory; nothing is stored until another tool creates or updates a record. |
Tool failures
An MCP failure includes a safe AIRCTRL code and explanation. The tool does not return a successful result when the API denied the operation.
| Failure | Meaning | Next action |
|---|---|---|
| Invalid input | A required ID or field is missing or malformed. | Correct the tool arguments. |
service_account_not_supported |
The selected Service Account identity cannot use this tool. | Use a human PAT for an approved human-only operation. |
not_authorized or insufficient_permission |
The identity lacks the required role or resource access. | Change access in the AIRCTRL web app; do not retry unchanged. |
| Resource not found | The ID is wrong, unavailable or hidden from the identity. | Recheck the ID and account or project context. |
rate_limited |
Too many requests were made. | Wait and retry with a bounded backoff. |
Never ask an agent to work around an authorization failure by trying unrelated accounts, projects or IDs.
Short agent requests
List the projects in account 00000000-0000-4000-8000-000000000001.
Do not create or update anything.
Create a gateway in project 00000000-0000-4000-8000-000000000010.
Use the OpenAI key stored in AIRCTRL_MCP_KEY_OPENAI_PRODUCTION.
Before executing, show me the project ID, provider, gateway name and requested token limits.
Show record metadata for project 00000000-0000-4000-8000-000000000010.
Do not decrypt record values.
MCP prompt catalog
These prompts describe what you want in everyday language. Replace the sample IDs with IDs you obtained from AIRCTRL. For write operations, the prompt asks the agent to show the final input before execution. The tool names appear below each prompt only as a technical reference.
How to use this catalog
- Ask AIRCTRL to check its configuration when identity mode is uncertain.
- Replace every sample ID with an ID returned by AIRCTRL; do not ask the agent to invent one.
- Keep discovery and mutation as separate steps.
- Require a preview before a write or destructive tool.
- Tell the agent whether plaintext may enter its context.
- Stop on
403instead of asking the agent to search for broader access. Each heading lets you find the matching MCP capability. You do not need to include that heading or any tool name in your request. MCP workflows combines these prompts into complete tasks with explicit review points.
Status and projects
Check AIRCTRL configuration
Use this first when you are unsure which profile MCP loaded.
Check how AIRCTRL is currently configured. Tell me which API environment and identity type are active. Do not reveal tokens, private keys or local file paths.
MCP tool used: airctrl_status
List accessible accounts
This tool requires a human PAT.
Show me every AIRCTRL account I can access, including each name and ID. Do not change anything.
MCP tool used: list_accounts
List projects
Show the active projects in account "00000000-0000-4000-8000-000000000001". Include each project name, ID and current state. Leave archived projects out.
MCP tool used: list_projects
View a project
Show me project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Summarize it without changing anything.
MCP tool used: get_project
Create a project
The result includes the new project ID.
Create a project named "Payments" in account "00000000-0000-4000-8000-000000000001" with the description "Credentials used by the payments service". Show me the exact details and wait for my confirmation before creating it.
MCP tool used: create_project
Update a project
Update project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Its name should be "Payments production", its description "Production credentials", and it should remain active. Show every resulting value and wait for my confirmation.
MCP tool used: update_project
Archive or restore a project
Use archived: false to restore it.
Archive project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Show me its name and ID, then wait for my confirmation.
MCP tool used: set_project_archive
Service Account metadata
List Service Accounts
Show me the Service Accounts in account "00000000-0000-4000-8000-000000000001". Return only their names, IDs, providers and states.
MCP tool used: list_service_accounts
View a Service Account
Both metadata tools require a human PAT.
Show me Service Account "00000000-0000-4000-8000-000000000040" in account "00000000-0000-4000-8000-000000000001". Only return safe metadata; do not change its state or credentials.
MCP tool used: get_service_account
Record reading and local generation
List record metadata
Show the first 25 active records in project "00000000-0000-4000-8000-000000000010". Return only names, formats, tags and IDs. Do not decrypt any values.
MCP tool used: list_records
Read a complete record
Read record "00000000-0000-4000-8000-000000000020" locally. Use its decrypted fields only for this task. Do not print, log or repeat them in your response.
MCP tool used: get_secret
Read the record fields section
From record "00000000-0000-4000-8000-000000000020", read the fields section locally. This gives the local MCP client and agent the complete decrypted field map. Use the values only for the approved task, and do not print, log or repeat them.
MCP tool used: read_record
Load all project records
This can expose many records to the agent. Prefer read_record when one record is enough.
Load every accessible record from project "00000000-0000-4000-8000-000000000010" for this task. Use decrypted values only as environment input and never include them in chat output.
MCP tool used: get_all
View supported record formats
This helper is local and does not call the API.
Show me the record formats AIRCTRL supports, their required fields and which ones AIRCTRL can generate. Do not create anything.
MCP tool used: list_secret_types
Generate a secret locally
This helper generates values locally and stores nothing.
Generate a 32-character password locally. Do not store or print its value. Tell me only whether generation succeeded.
MCP tool used: generate_secret
Create an encrypted record
Create a password record named "Generated database password" in project "00000000-0000-4000-8000-000000000010" and generate a 32-character value locally. Show the non-secret details and wait for my confirmation. Never print the generated value.
MCP tool used: create_record
Replace record fields
When no recordId is used, supply projectId, name and secretFormat to create or update by name.
Replace the "password" field in record "00000000-0000-4000-8000-000000000020" using the value from the trusted local environment. Confirm the record ID and field name, but never display the value.
MCP tool used: set_secret
Record lifecycle
Update record details
Update record "00000000-0000-4000-8000-000000000020" with the tags "payments" and "production", a due date of "2026-12-01T00:00:00Z", and a 90-day rotation interval. Show the changes and wait for my confirmation.
MCP tool used: update_record_metadata
Archive or restore a record
Archive record "00000000-0000-4000-8000-000000000020". Show me its name and ID, then wait for my confirmation.
MCP tool used: set_record_archive
Transfer record ownership
Transfer ownership of record "00000000-0000-4000-8000-000000000020" to user "00000000-0000-4000-8000-000000000050". Show the current and new owner, then wait for my explicit confirmation.
MCP tool used: transfer_record_ownership
View record version history
Show the version history for record "00000000-0000-4000-8000-000000000020", including version IDs, creation times and which version is current. Do not change anything.
MCP tool used: list_record_versions
Restore a previous record version
Restore record "00000000-0000-4000-8000-000000000020" from version "00000000-0000-4000-8000-000000000021". Explain what the rollback creates, then wait for my confirmation.
MCP tool used: rollback_record
Rotate a record
Rotate record "00000000-0000-4000-8000-000000000020". Confirm its name and explain what will change, without exposing its value, then wait for my confirmation.
MCP tool used: rotate_record
Record sharing
Share a record with a user
Give user "00000000-0000-4000-8000-000000000050" read access to record "00000000-0000-4000-8000-000000000020". Verify that the user is eligible and wait for my confirmation.
MCP tool used: share_record_user
Share a record with a Service Account
Give Service Account "00000000-0000-4000-8000-000000000040" access to record "00000000-0000-4000-8000-000000000020" in account "00000000-0000-4000-8000-000000000001". Show the target names and IDs, then wait for my confirmation.
MCP tool used: share_record_service_account
Share a record with a group
Share record "00000000-0000-4000-8000-000000000020" with group "00000000-0000-4000-8000-000000000060". Verify that both belong to the same account, then wait for my confirmation. Do not grant project access.
MCP tool used: share_record_group
Remove a user's record access
Remove user "00000000-0000-4000-8000-000000000050" from record "00000000-0000-4000-8000-000000000020". Explain that access ends immediately, then wait for my confirmation.
MCP tool used: revoke_record_user
Remove a Service Account's record access
Remove Service Account "00000000-0000-4000-8000-000000000040" from record "00000000-0000-4000-8000-000000000020". Confirm that grants for other Service Accounts will remain unchanged, then wait for my approval.
MCP tool used: revoke_record_service_account
Remove a group's record access
Remove group "00000000-0000-4000-8000-000000000060" from record "00000000-0000-4000-8000-000000000020". Show the target names and IDs, then wait for my confirmation.
MCP tool used: revoke_record_group
Groups
These prompts require a human PAT, Team+ and appropriate RBAC permissions. Replace all example IDs with verified IDs. A successful membership or role write can leave encrypted material pending; read the access model.
List context groups
List groups associated with project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Show their IDs and current project grants. Do not change anything.
MCP tool used: list_groups
Read a record's group grants
Show group sharing options and current grants for record "00000000-0000-4000-8000-000000000020" in account "00000000-0000-4000-8000-000000000001". Do not expose its secret.
MCP tool used: list_record_group_grants
Create a group
Create a group named "Payments team" with description "Payments operators" through project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Do not grant it a project role. Show the inputs and wait for my confirmation.
MCP tool used: create_group
Rename a group
Rename group "00000000-0000-4000-8000-000000000060" in account "00000000-0000-4000-8000-000000000001" to "Payments operators" and replace its description with "Payments access". Show both replacement values and wait for my confirmation.
MCP tool used: update_group
Delete a group
Delete group "00000000-0000-4000-8000-000000000060" in account "00000000-0000-4000-8000-000000000001". Show its members and explain that independent access paths remain. Wait for my confirmation, then report the server's access changes and pending material without claiming every recipient is finished.
MCP tool used: delete_group
List group members
List current members of group "00000000-0000-4000-8000-000000000060" in account "00000000-0000-4000-8000-000000000001". Include their IDs and onboarding state. Do not change anything.
MCP tool used: list_group_members
Add a group member
Add user "00000000-0000-4000-8000-000000000050" to group "00000000-0000-4000-8000-000000000060" in account "00000000-0000-4000-8000-000000000001". Explain that existing group grants apply. Wait for my confirmation, then report pending material from the result.
MCP tool used: add_group_member
Remove a group member
Remove user "00000000-0000-4000-8000-000000000050" from group "00000000-0000-4000-8000-000000000060" in account "00000000-0000-4000-8000-000000000001". Preserve independent access paths. Wait for my confirmation, then report remaining paths and any pending re-keying from the result.
MCP tool used: remove_group_member
Grant a project role to a group
Assign role "00000000-0000-4000-8000-000000000070" to group "00000000-0000-4000-8000-000000000060" for project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Use exactly these verified IDs. Show the assignment and wait for my confirmation. Report pending encrypted material separately from authorization.
MCP tool used: grant_project_group
Revoke one project role from a group
Revoke only role "00000000-0000-4000-8000-000000000070" assigned to group "00000000-0000-4000-8000-000000000060" for project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Do not revoke independent paths. Show the assignment and wait for my confirmation.
MCP tool used: revoke_project_group
Complete pending encrypted access
Using the already configured local vault, attempt encrypted-material repair for project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001", including pending direct group-record shares in the account. Do not grant permissions or ask me to put a passphrase in this chat. Report attempted projects and errors; do not call attempts completed recipient access.
MCP tool used: reconcile_group_access
Record audit
Review one record's audit history
Show the 25 most recent audit events for record "00000000-0000-4000-8000-000000000020". Summarize actions, actors and timestamps without exposing secret fields.
MCP tool used: read_record_audit
Page and filter one record's audit history
List the first 25 record.update audit events for record "00000000-0000-4000-8000-000000000020" where the actor contains "david". Return pagination.next_cursor without decoding it so I can request the next page with the same filters.
MCP tool used: list_record_audit
Find unusual record activity
Show unusual record activity in project "00000000-0000-4000-8000-000000000010" under account "00000000-0000-4000-8000-000000000001". Group the results by severity.
MCP tool used: list_record_anomalies
Review daily record activity
Summarize record activity for project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001" on the UTC day "2026-09-10".
MCP tool used: list_record_activity
Review record alerts
Show the first 25 record alerts for project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Do not take corrective action.
MCP tool used: list_record_alerts
Review secret access events
Show the first 25 secret-access events for records in project "00000000-0000-4000-8000-000000000010" under account "00000000-0000-4000-8000-000000000001".
MCP tool used: list_record_access
Providers and credentials
List supported AI providers
Show the AI providers AIRCTRL supports, including their names, IDs and available configuration. Do not add any credentials.
MCP tool used: list_providers
List provider credentials
Show the provider credentials in account "00000000-0000-4000-8000-000000000001". Return labels, IDs, providers and validation status, but never request secret values.
MCP tool used: list_provider_credentials
Add a provider credential
Add a provider credential named "Production OpenAI" to account "00000000-0000-4000-8000-000000000001" for provider "00000000-0000-4000-8000-000000000070". Read the key from environment variable "AIRCTRL_MCP_KEY_OPENAI_PRODUCTION". Confirm only the variable name, never its value, then wait for my approval.
MCP tool used: add_provider_key
List models for a credential
Show the model IDs available through provider credential "00000000-0000-4000-8000-000000000071" in account "00000000-0000-4000-8000-000000000001".
MCP tool used: list_provider_models
Replace a provider key
Replace provider credential "00000000-0000-4000-8000-000000000071" in account "00000000-0000-4000-8000-000000000001" using the replacement stored in `AIRCTRL_MCP_KEY_OPENAI_ROTATION`. Never request or echo the key. Wait for my confirmation before changing it.
MCP tool used: rotate_provider_key
Rename a provider credential
Rename provider credential "00000000-0000-4000-8000-000000000071" in account "00000000-0000-4000-8000-000000000001" to "Primary OpenAI". Show the current and new labels, then wait for my confirmation.
MCP tool used: rename_provider_credential
Revoke a provider credential
Revoke provider credential "00000000-0000-4000-8000-000000000071" in account "00000000-0000-4000-8000-000000000001". First show every gateway that depends on it, then wait for my explicit confirmation.
MCP tool used: revoke_provider_credential
Gateway setup and routing
List gateways
Show the gateways in project "00000000-0000-4000-8000-000000000010", including each name, ID, provider and active state.
MCP tool used: list_gateways
Create a gateway
Create a bare gateway named "Payments AI" in project "00000000-0000-4000-8000-000000000010" under account "00000000-0000-4000-8000-000000000001". Do not attach a provider key yet. Show the details and wait for my confirmation.
MCP tool used: create_gateway
Set up a complete gateway
This workflow can add a provider credential, create a gateway and create a one-time gateway token.
Set up an OpenAI gateway named "Payments AI" in project "00000000-0000-4000-8000-000000000010". Read the provider key from "AIRCTRL_MCP_KEY_OPENAI_PRODUCTION", bind models "gpt-5" and "gpt-5-mini", and name the first gateway token "Local development". Explain every resource that will be created and wait for my confirmation.
MCP tool used: setup_gateway
View gateway connection settings
Show me how to connect to gateway "00000000-0000-4000-8000-000000000030", including compatible base URLs and required header names. Do not create a new token.
MCP tool used: get_connection_config
Change gateway routing
Attach provider credential "00000000-0000-4000-8000-000000000200" to models "gpt-5" and "gpt-5-mini" on gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Show the current and proposed bindings, then wait for my confirmation.
MCP tool used: set_routing
Change gateway limits and behavior
For gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001", set a monthly spend limit of 100, a rate limit of 120 requests per minute, metadata logging without bodies, and guardrails in flag mode. Show every proposed change and wait for my confirmation.
MCP tool used: set_gateway_settings
Detach a provider credential
Remove model "gpt-5" from provider credential "00000000-0000-4000-8000-000000000071" on gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Keep the credential and its other models attached. Show the resulting bindings, then wait for my approval.
Detach provider credential "00000000-0000-4000-8000-000000000071" from gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Confirm that another route will remain usable, then wait for my approval.
MCP tool used: detach_gateway_credential
Delete a gateway
Delete gateway "00000000-0000-4000-8000-000000000030" from account "00000000-0000-4000-8000-000000000001". Explain which gateway tokens will stop working, then wait for my explicit confirmation.
MCP tool used: delete_gateway
Gateway tokens
List gateway tokens
Show the tokens for gateway "00000000-0000-4000-8000-000000000030", including IDs, labels, status and expiration. Never request their secret values.
MCP tool used: list_gateway_tokens
Create a gateway token
Create a token named "Local development" for gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". It should expire in 30 days. Wait for my confirmation and send the one-time value only to the approved storage step.
MCP tool used: create_gateway_token
Rename a gateway token
Rename token "00000000-0000-4000-8000-000000000031" on gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001" to "CI production". Show the current and new names, then wait for my confirmation.
MCP tool used: rename_gateway_token
Revoke a gateway token
Revoke token "00000000-0000-4000-8000-000000000031" on gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Explain that authentication will stop immediately, then wait for my confirmation.
MCP tool used: revoke_gateway_token
Delete a gateway token
Permanently delete token "00000000-0000-4000-8000-000000000031" from gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Confirm that it is already revoked, then wait for my approval.
MCP tool used: delete_gateway_token
Logs, usage and OpenTelemetry
Review gateway requests
Summarize up to 50 requests handled by gateway "00000000-0000-4000-8000-000000000030" since "2026-09-01T00:00:00Z". Do not read request or response bodies.
MCP tool used: read_usage
Inspect one gateway request
Inspect log "00000000-0000-4000-8000-000000000080" from gateway "00000000-0000-4000-8000-000000000030". Read stored bodies only to diagnose this request and do not repeat sensitive content.
MCP tool used: read_gateway_log
Review provider-key access
Show up to 50 denied provider-key access events for gateway "00000000-0000-4000-8000-000000000030" since "2026-09-01T00:00:00Z". Group the denials by reason.
MCP tool used: read_gateway_key_access
Review project usage logs
Show up to 50 usage logs for gateway "00000000-0000-4000-8000-000000000030" in project "00000000-0000-4000-8000-000000000010" since "2026-09-01T00:00:00Z". Return metadata only.
MCP tool used: list_usage_logs
Inspect one project usage log
Inspect usage log "00000000-0000-4000-8000-000000000080" in project "00000000-0000-4000-8000-000000000010". Do not quote request or response bodies in the final answer.
MCP tool used: read_usage_log
Review project spend
Compare current spend in project "00000000-0000-4000-8000-000000000010" with its effective limit. Do not change any settings.
MCP tool used: read_usage_spend
Review project usage metrics
Summarize daily requests, errors, tokens, latency and spend for project "00000000-0000-4000-8000-000000000010" since "2026-09-01T00:00:00Z".
MCP tool used: read_usage_metrics
View OpenTelemetry settings
Show the OpenTelemetry export settings for gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Return only safe settings and never request stored header values.
MCP tool used: get_otel_export
Change OpenTelemetry settings
Enable OpenTelemetry metrics and traces for gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". Request events are automatic while export is enabled. Include request/response bodies only if gateway Log bodies is enabled. Send them to the base endpoint "https://otel.example.com" and read headers from "OTEL_EXPORT_HEADERS". Show the destination and enabled data, then wait for my confirmation.
MCP tool used: set_otel_export
MCP Gateway prompts
List project MCP gateways
List MCP gateways in project "00000000-0000-4000-8000-000000000010".
MCP tool used: list_mcp_gateways
Create an MCP gateway
Create an MCP gateway named "Engineering" in project "00000000-0000-4000-8000-000000000010".
MCP tool used: create_mcp_gateway
Review the server catalog
Show the curated MCP server catalog and official documentation links.
MCP tool used: list_mcp_server_catalog
Read gateway detail
Show safe details for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: get_mcp_gateway
Rename the gateway
Rename MCP gateway "00000000-0000-4000-8000-000000000020" to "Engineering tools".
MCP tool used: update_mcp_gateway
Delete the gateway
Delete MCP gateway "00000000-0000-4000-8000-000000000020". Show the impact and wait for confirmation.
MCP tool used: delete_mcp_gateway
Configure runtime limits
Set the request timeout to 30 seconds for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: update_mcp_runtime
List connected servers
List servers connected to MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_servers
Connect a catalog server
Connect Linear to MCP gateway "00000000-0000-4000-8000-000000000020" and read its token from environment variable "AIRCTRL_MCP_KEY_LINEAR".
MCP tool used: create_mcp_server
List synchronized tools
List synchronized tools for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_tools
Remove a server
Remove server "00000000-0000-4000-8000-000000000030" from its MCP gateway. Show the impact and wait for confirmation.
MCP tool used: delete_mcp_server
Update a server
Enable server "00000000-0000-4000-8000-000000000030" on MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: update_mcp_server
Synchronize a server
Synchronize the tool inventory for server "00000000-0000-4000-8000-000000000030".
MCP tool used: sync_mcp_server
Check server health
Show health and connector state for server "00000000-0000-4000-8000-000000000030".
MCP tool used: get_mcp_server_health
List clients
List clients registered to MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_clients
Register a client
Register a client named "Cursor" on MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: create_mcp_client
Revoke a client
Revoke client "00000000-0000-4000-8000-000000000040" and its keys. Show the impact and wait for confirmation.
MCP tool used: revoke_mcp_client
Rename a client
Rename client "00000000-0000-4000-8000-000000000040" to "Cursor CI".
MCP tool used: update_mcp_client
List client keys
List safe key metadata for client "00000000-0000-4000-8000-000000000040".
MCP tool used: list_mcp_client_keys
Create a scoped key
Create a connect-and-call key for client "00000000-0000-4000-8000-000000000040" and show it once.
MCP tool used: create_mcp_client_key
Revoke a client key
Revoke client key "00000000-0000-4000-8000-000000000050". Wait for confirmation.
MCP tool used: revoke_mcp_client_key
List tool policies
List policies on MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_policies
Create a read-only policy
Create a read-only allow policy for every tool on MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: create_mcp_policy
Delete a policy
Delete policy "00000000-0000-4000-8000-000000000060". Wait for confirmation.
MCP tool used: delete_mcp_policy
List access grants
List access grants on MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_grants
Grant group access
Give group "00000000-0000-4000-8000-000000000070" read-only access to MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: create_mcp_grant
Revoke a grant
Revoke grant "00000000-0000-4000-8000-000000000080". Wait for confirmation.
MCP tool used: revoke_mcp_grant
Export policy YAML
Export the current policy document for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: export_mcp_policy
Preview policy YAML
Validate this policy document and show its diff without applying it.
MCP tool used: preview_mcp_policy
Apply policy YAML
Apply the reviewed policy document without pruning. Show the diff and wait for confirmation.
MCP tool used: apply_mcp_policy
List call evidence
List blocked tool calls for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: list_mcp_calls
Read call metrics
Show call totals, outcomes and average latency for MCP gateway "00000000-0000-4000-8000-000000000020".
MCP tool used: get_mcp_call_metrics
Read retained payload
Read the retained payload for call "00000000-0000-4000-8000-000000000090" only if I am authorized.
MCP tool used: get_mcp_call_payload
Export call evidence
Export bounded call metadata for MCP gateway "00000000-0000-4000-8000-000000000020" as CSV.
MCP tool used: export_mcp_calls_csv
When a prompt fails
If a tool returns validation, permission or not-found errors, stop and explain the exact code. Do not try neighboring IDs or broader scopes. Retry only temporary rate_limited, internal_error or service_unavailable failures, with a short bounded backoff.
MCP workflow prompts
These prompts combine tools without giving the agent unlimited freedom. Each one separates discovery, review and mutation. Replace the sample IDs before use.
Inspect a project without decrypting secrets
Use this for inventory and planning. It keeps plaintext outside the agent context.
Review project "00000000-0000-4000-8000-000000000010" in account "00000000-0000-4000-8000-000000000001". Summarize its status and the first 50 active records, including names, formats, tags and due dates. Do not decrypt any values or change anything.
MCP tools used: get_project, list_records
Read the smallest useful record scope
Prefer this over get_all when one record is enough. Requesting fields still gives the local MCP client and agent that record's complete decrypted field map.
Find the record named "Payments environment" in project "00000000-0000-4000-8000-000000000010" and show only its safe metadata and ID. Wait for my confirmation. Then read its fields section locally. This gives the local MCP client and agent the complete decrypted field map. Use it only for the active task, and never print or summarize the values.
MCP tools used: list_records, read_record
Create and verify a generated record
Verify that AIRCTRL can generate passwords, then prepare a 32-character password record named "Payments database password" in project "00000000-0000-4000-8000-000000000010". Show only the non-secret details and wait for my confirmation. After creating it, confirm its name, format and ID without printing the generated value. Do not decrypt it unless I approve that separately.
MCP tools used: list_secret_types, create_record, list_records
Share a record with a Service Account
Sharing creates record access; it does not broaden the Service Account's RBAC permissions.
Give Service Account "00000000-0000-4000-8000-000000000040" access to record "00000000-0000-4000-8000-000000000020" in project "00000000-0000-4000-8000-000000000010" under account "00000000-0000-4000-8000-000000000001". First confirm that the Service Account is active and the record exists. Show both names and IDs and wait for my confirmation. Change only this record grant; do not alter roles, project assignments or credentials.
MCP tools used: get_service_account, list_records, share_record_service_account
Remove one Service Account grant
Remove Service Account "00000000-0000-4000-8000-000000000040" from record "00000000-0000-4000-8000-000000000020". First confirm both resources and explain that only this record grant will be removed. Wait for my explicit confirmation. Do not pause, revoke or otherwise modify the Service Account.
MCP tools used: get_service_account, list_records, revoke_record_service_account
Create a gateway from an environment-backed provider key
Set up an OpenAI gateway named "Payments AI" in project "00000000-0000-4000-8000-000000000010". Use the key stored in "AIRCTRL_MCP_KEY_OPENAI_PRODUCTION", model "gpt-5", and name the first gateway token "Local development". Confirm that OpenAI is enabled, explain every resource that may be created, show only the environment variable name, and wait for my approval. Send the one-time token only to the approved storage step, then return the new gateway's compatible base URLs.
MCP tools used: list_providers, setup_gateway, get_connection_config
Replace a gateway token safely
Never revoke the old token before the replacement has been stored and deployed.
Replace the active token named "CI production" on gateway "00000000-0000-4000-8000-000000000030" with a token named "CI production replacement" that expires in 30 days. Show the old token's ID and expiration, then wait for my confirmation. Send the new one-time value only to the approved storage step and stop until I confirm the workload uses it. Only then revoke the old token and report both final states.
MCP tools used: list_gateway_tokens, create_gateway_token, revoke_gateway_token
Diagnose gateway failures without changing configuration
Diagnose gateway "00000000-0000-4000-8000-000000000030" in project "00000000-0000-4000-8000-000000000010" since "2026-09-01T00:00:00Z". Review daily metrics, up to 25 requests with status 500, and up to 25 denied provider-key access events. Summarize timing, provider, model, status and denial reasons. Do not read bodies or change routing, credentials, limits or tokens.
MCP tools used: read_usage_metrics, list_usage_logs, read_gateway_key_access
Inspect one failed request deeply
Find log "00000000-0000-4000-8000-000000000080" among the 25 most recent requests for gateway "00000000-0000-4000-8000-000000000030". Show its safe metadata and ask before reading stored bodies. After I approve, diagnose the failure without quoting credentials, authorization headers or sensitive body fields.
MCP tools used: read_usage, read_gateway_log
Review spend before changing limits
Review current spend, the effective limit, request rate and error rate for project "00000000-0000-4000-8000-000000000010". Propose a specific spend limit, time window and per-minute request limit for gateway "00000000-0000-4000-8000-000000000030", but do not change anything yet. After my explicit approval, apply only the approved values and confirm the resulting effective limit.
MCP tools used: read_usage_spend, read_usage_metrics, set_gateway_settings
Rotate a provider key with dependency checks
Replace provider credential "00000000-0000-4000-8000-000000000071" in account "00000000-0000-4000-8000-000000000001". First show its label and provider and verify that it currently returns models. Never request or display the current secret. Use the replacement stored in `AIRCTRL_MCP_KEY_OPENAI_ROTATION`, wait for my confirmation, never echo the new value, and verify afterward that models remain available.
MCP tools used: list_provider_credentials, list_provider_models, rotate_provider_key
Configure OpenTelemetry and verify safe state
For gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001", show the current OpenTelemetry state, endpoint and export flags without requesting header values. Prepare to enable metrics and traces to the base endpoint "https://otel.example.com" using headers from "OTEL_EXPORT_HEADERS"; request events are automatic while export is enabled. Include bodies only when gateway Log bodies is enabled. Wait for my confirmation, apply the change, and report only the final safe settings.
MCP tools used: get_otel_export, set_otel_export
Decommission a gateway
Decommission gateway "00000000-0000-4000-8000-000000000030" in account "00000000-0000-4000-8000-000000000001". First review its connection settings, active tokens and 25 most recent requests. List every token that will stop working and wait for my explicit confirmation. Delete only the gateway; do not revoke provider credentials because other gateways may use them.
MCP tools used: get_connection_config, list_gateway_tokens, read_usage, delete_gateway
Stop conditions
Stop the workflow instead of improvising when an ID is ambiguous or a resource belongs to another account. Also stop when a Service Account is inactive, a provider key is unavailable, or the API returns an authorization error. Ask for the missing decision rather than trying broader access.
Connect Claude Code
Claude Code starts AIRCTRL as a local MCP process. Read MCP setup first to choose the right identity and keep its sensitive configuration outside your project.
Add AIRCTRL to one project
Create .mcp.json in the project root and add the local server command:
{
"mcpServers": {
"airctrl": {
"command": "npx",
"args": ["-y", "@airctrl/mcp"]
}
}
}
On Windows, Claude Code requires cmd /c npx for an npx server. Set command to cmd and use ['/c', 'npx', '-y', '@airctrl/mcp'] as its arguments.
Add the selected human or Service Account identity through your local secure configuration, following MCP setup. Do not mix the two identity modes.
Verify the connection
Run this command from the project after saving the configuration:
claude mcp get airctrl
Then ask Claude Code:
Check the AIRCTRL connection. Tell me which API URL and identity type are configured. Do not read or reveal any record values.
Claude Code should show the AIRCTRL MCP server and call the safe status tool. If you use a Service Account, ask it to list metadata from one assigned project instead of asking for accounts.
Use it safely
State the account, project, and resource you intend to use. Ask for a read before any write. Review the proposed operation before approving it. Never include a token, passphrase, provider key, or decrypted value in chat.
Troubleshoot or remove it
Use claude mcp list to confirm the configured name. If the server does not start, verify Node.js is available and review the local secure configuration. A 403 response means the selected identity lacks permission; changing an ID cannot grant it.
Remove the server with claude mcp remove airctrl, or delete its airctrl entry from .mcp.json. See the Claude Code MCP documentation for client-specific options.
Connect Codex
Codex starts AIRCTRL as a local MCP process. The Codex desktop app, CLI, and IDE extension share the same MCP configuration. Read MCP setup first to choose the right identity and keep its sensitive configuration outside your project.
Add AIRCTRL to one project
For a project you trust, create .codex/config.toml and add the local server command:
[mcp_servers.airctrl]
command = "npx"
args = ["-y", "@airctrl/mcp"]
Use your user config.toml when you want the integration in all of your projects. Add the selected human or Service Account identity through Codex's local secure configuration, following MCP setup. Do not mix the two identity modes.
You can also add a local server in the Codex desktop app through Settings > MCP Servers. Choose STDIO and enter the same command and arguments.
Verify the connection
In a Codex chat, send this request:
Check the AIRCTRL connection. Tell me which API URL and identity type are configured. Do not read or reveal any record values.
Codex should call the safe AIRCTRL status tool. If you use a Service Account, ask it to list metadata from one assigned project instead of asking for accounts.
Use it safely
Keep the configuration in a trusted project. State the account, project, and resource you intend to use. Ask for a read before any write, and review the proposed operation before approving it. Never include a token, passphrase, provider key, or decrypted value in chat.
Troubleshoot or remove it
Open the MCP server list in Codex to confirm that AIRCTRL is enabled. If it cannot start, verify Node.js and the local secure configuration. A 403 response means the selected identity lacks permission; changing an ID cannot grant it.
Delete the airctrl entry from the relevant config.toml, or remove the server in Settings > MCP Servers. See the Codex MCP documentation for client-specific options.
Connect Cursor
Cursor starts AIRCTRL as a local MCP process. Read MCP setup first to choose the right identity and keep its sensitive configuration outside your project.
Add AIRCTRL to one project
Create .cursor/mcp.json in the project root and add the local server command:
{
"mcpServers": {
"airctrl": {
"command": "npx",
"args": ["-y", "@airctrl/mcp"]
}
}
}
Use Cursor's user configuration when you want AIRCTRL available across your projects. Add the selected human or Service Account identity through Cursor's local secure configuration, following MCP setup. Do not mix the two identity modes.
Verify the connection
Open Cursor's MCP server settings and confirm that AIRCTRL is enabled. Then ask the agent:
Check the AIRCTRL connection. Tell me which API URL and identity type are configured. Do not read or reveal any record values.
Cursor should call the safe AIRCTRL status tool. If you use a Service Account, ask it to list metadata from one assigned project instead of asking for accounts.
Use it safely
State the account, project, and resource you intend to use. Ask for a read before any write. Review the proposed operation before approving it. Never include a token, passphrase, provider key, or decrypted value in chat.
Troubleshoot or remove it
Use Cursor's MCP settings to review the server status and logs. If the server does not start, verify Node.js and the local secure configuration. A 403 response means the selected identity lacks permission; changing an ID cannot grant it.
Remove the airctrl entry from .cursor/mcp.json, or remove it in the MCP settings. See the Cursor MCP documentation for client-specific options.
Connect VS Code
Visual Studio Code starts AIRCTRL as a local MCP process. Read MCP setup first to choose the right identity and keep its sensitive configuration outside your project.
Add AIRCTRL to one workspace
Create .vscode/mcp.json in the workspace and add the local server command:
{
"servers": {
"airctrl": {
"command": "npx",
"args": ["-y", "@airctrl/mcp"]
}
}
}
You can also use MCP: Add Server from the Command Palette and select the workspace or your user profile. Add the selected human or Service Account identity through VS Code's local secure configuration, following MCP setup. Do not mix the two identity modes.
Verify the connection
Open MCP: List Servers from the Command Palette. Review the command, trust AIRCTRL, and confirm that it starts. Then ask the agent:
Check the AIRCTRL connection. Tell me which API URL and identity type are configured. Do not read or reveal any record values.
VS Code should call the safe AIRCTRL status tool. If you use a Service Account, ask it to list metadata from one assigned project instead of asking for accounts.
Use it safely
Review a workspace configuration before trusting it. State the account, project, and resource you intend to use. Ask for a read before any write, and review the proposed operation before approving it. Never include a token, passphrase, provider key, or decrypted value in chat.
Troubleshoot or remove it
Use MCP: List Servers to review AIRCTRL's status. If it cannot start, verify Node.js and the local secure configuration. A 403 response means the selected identity lacks permission; changing an ID cannot grant it.
Remove the airctrl entry from .vscode/mcp.json, or remove it through the MCP commands. See the VS Code MCP documentation for client-specific options.
Connect Warp
Warp starts AIRCTRL as a local MCP process. Read MCP setup first to choose the right identity and keep its sensitive configuration outside your project.
Add AIRCTRL in Warp
Open Settings > Agents > MCP servers in Warp, then add a local server. Set the command to npx and pass -y @airctrl/mcp as its arguments.
Add the selected human or Service Account identity through Warp's local secret configuration, following MCP setup. Do not mix the two identity modes. Warp can sync a server configuration between your machines, but it does not sync its sensitive configuration. Configure that separately on every machine that runs AIRCTRL.
Verify the connection
Open the AIRCTRL MCP server in Warp and confirm that it is enabled. Then ask the agent:
Check the AIRCTRL connection. Tell me which API URL and identity type are configured. Do not read or reveal any record values.
Warp should call the safe AIRCTRL status tool. If you use a Service Account, ask it to list metadata from one assigned project instead of asking for accounts.
Use it safely
State the account, project, and resource you intend to use. Ask for a read before any write. Review the proposed operation before approving it. Never include a token, passphrase, provider key, or decrypted value in chat.
Troubleshoot or remove it
Open Settings > Agents > MCP servers and verify the AIRCTRL command. If it cannot start, verify Node.js and the local secure configuration. A 403 response means the selected identity lacks permission; changing an ID cannot grant it.
Disable or remove AIRCTRL from the same settings page when you no longer need it. See the Warp MCP documentation for client-specific options.
License
Proprietary software. All rights reserved.