Tools

All nine MCP tools, their parameters, and the API-key resource each one demands.

Tools

Every tool runs against the same scope, rate limits and plan gate as the REST API, and every value-returning call is audited.

Read tools#

ToolWhat it doesResource
envpilot_list_projectsList every project in the key's scopeprojects
envpilot_get_variablesVariables for a project + environment, with optional keys / prefix / metadata_onlyvariables
envpilot_get_variableOne variable by exact keyvariables
envpilot_list_accountsShared accounts for a project, optionally filtered by environmentaccounts
envpilot_list_filesSecret-file metadata for a project: path, size, mode, checksum. Never contentsfiles
envpilot_get_fileThe decrypted contents of one secret file, base64-encodedfiles
envpilot_searchSearch project names/slugs and variable keys — never values. Bounded to 20 projects / 100 matchesprojects (plus variables for key matches)

Write-adjacent tools#

The only mutation a machine credential can perform is filing a request. Available only when the key carries requests:

ToolWhat it doesResource
envpilot_request_variableFile a request with a required justification. A human approves it and supplies the valuerequests
envpilot_get_request_statusPoll a filed request — pending, approved, rejected (with the reviewer's reason), or canceledrequests

Secret file tools in detail#

envpilot_list_files

ParameterRequiredNotes
projectYesProject slug
environmentNoOmit to return files across every in-scope environment

Metadata only: destination path, size, mode, checksum, environments. Nothing is decrypted and no download is recorded, so an agent can safely explore what a build needs.

envpilot_get_file

ParameterRequiredNotes
projectYesProject slug
pathYesExact destination path from envpilot_list_files
environmentWhen the path exists in several environmentsOtherwise the call fails rather than guessing

Returns real secret material. The tool description tells the agent as much: fetch only the file the task needs, never speculatively, never echo the contents back to the user, and write straight to the recorded path.

If the path exists in more than one environment and no environment was given, the call fails with a message naming the count. Guessing which one a build wanted would be worse than asking.

Cost of each call#

ToolBucketAudited
list_projects, search, list_files, metadata reads120/min metadataNo
get_variables, get_variable, list_accounts30/min value pullsYes
get_filefile reads: refill 60/min, burst 1000Yes
request_variable5/hour per key, burst 2Yes

Limits#

  • A tool whose resource is missing from the key is denied with a message naming the resource — scopes are immutable, so the fix is a replacement key.
  • A project outside scope behaves exactly as if it does not exist.
  • envpilot_search never returns values, only names and keys.
  • There is no tool that writes a variable, uploads a file, or approves a request. There is no plan on which one appears.

Next#