Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add Server Domain
MASTRA_ADD_SERVER_DOMAINAdd a custom domain to a hosted Mastra Server project and return its required DNS records.
Analyze Feedback
MASTRA_ANALYZE_FEEDBACKCalculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.
Analyze Metrics
MASTRA_ANALYZE_METRICSCalculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.
Cancel Server Deployment
MASTRA_CANCEL_SERVER_DEPLOYCancel a queued or in-progress Mastra hosted Server deployment.
Confirm Deploy Upload
MASTRA_CONFIRM_DEPLOY_UPLOADConfirm that a deployment ZIP has already been uploaded to the signed URL returned by Create Deployment Upload. This action does not upload the ZIP. It triggers the Studio or Server build-and-deploy pipeline, so call it only after the separate signed-URL PUT succeeds.
Create API Token
MASTRA_CREATE_API_TOKENCreate a Mastra organization API token. The response exposes the usable secret exactly once because that is the purpose of this operation. Store it securely immediately; do not log, share, or commit it.
Create Deployment Upload
MASTRA_CREATE_DEPLOY_UPLOADCreate a legacy Mastra Studio or hosted Server deployment upload reservation. This action does not upload the artifact or start the deploy pipeline. When upload_url is returned, upload the ZIP bytes directly to it with PUT and Content-Type application/zip, then call Confirm Deploy Upload with the returned deployment ID. env_vars may contain secrets, and upload_url is a sensitive, short-lived signed URL granting temporary upload access; do not log, persist, share, or expose either value.
Create Server Project
MASTRA_CREATE_SERVER_PROJECTCreate a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.
Create Studio Project
MASTRA_CREATE_STUDIO_PROJECTCreate a Mastra Studio project.
Delete Project
MASTRA_DELETE_PROJECTPermanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.
Discover Metrics
MASTRA_DISCOVER_METRICSDiscover metric names, labels, and shared observability dimensions without creating data.
Get Authentication Context
MASTRA_GET_AUTH_CONTEXTReturn the user, organization, role, and authentication type associated with the connected Mastra API key.
Get Deployment
MASTRA_GET_DEPLOYGet the status and details of one Mastra Studio or hosted Server deployment.
Get Deployment Logs
MASTRA_GET_DEPLOY_LOGSGet logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.
Get Project
MASTRA_GET_PROJECTGet one Mastra Studio or hosted Server project and its deployment history.
Get Server Environment Variables
MASTRA_GET_SERVER_ENVIRONMENT_VARIABLESSENSITIVE: Get environment variables for a hosted Mastra Server project. This returns plaintext secret values; never log, persist, or expose the response.
Get Server Runtime Logs
MASTRA_GET_SERVER_RUNTIME_LOGSGet current runtime log records for a hosted Mastra Server project.
Invite Organization Member
MASTRA_INVITE_MEMBERSend an invitation to join the connected Mastra organization with a member or admin role. The connected account must have an admin role.
List API Tokens
MASTRA_LIST_API_TOKENSList metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.
List Feedback
MASTRA_LIST_FEEDBACKList hosted Mastra feedback records with page or durable delta continuation.