developer-toolsapi_key

Mastra

Mastra provides Platform management and regional hosted observability APIs for AI agent projects, deployments, feedback, and metrics.

Integration

Vendor
Mastra
Category
developer-tools
Auth
API_KEY
Tools
35
Composio slug
mastra

Tools

  • Add Server Domain

    Add a custom domain to a hosted Mastra Server project and return its required DNS records.

  • Analyze Feedback

    Calculate an aggregate, grouped breakdown, time series, or percentile series over numeric Mastra feedback without creating data.

  • Analyze Metrics

    Calculate an aggregate, grouped breakdown, time series, or percentile series over hosted Mastra metrics without creating data.

  • Cancel Server Deployment

    Cancel a queued or in-progress Mastra hosted Server deployment.

  • Confirm Deploy Upload

    Confirm 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 separ

  • Create API Token

    Create 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

    Create 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

  • Create Server Project

    Create a hosted Mastra Server project. This provisions hosted infrastructure and may trigger usage-metered compute charges.

  • Create Studio Project

    Create a Mastra Studio project.

  • Delete Project
    destructive

    Permanently delete a Mastra Studio project and all its deployments, or a hosted Server project and its provisioned resources.

  • Discover Metrics

    Discover metric names, labels, and shared observability dimensions without creating data.

  • Get Authentication Context

    Return the user, organization, role, and authentication type associated with the connected Mastra API key.

  • Get Deployment

    Get the status and details of one Mastra Studio or hosted Server deployment.

  • Get Deployment Logs

    Get logs for one Mastra Studio or hosted Server deployment; Studio calls may limit the number of recent lines.

  • Get Project

    Get one Mastra Studio or hosted Server project and its deployment history.

  • Get Server Environment Variables

    SENSITIVE: 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

    Get current runtime log records for a hosted Mastra Server project.

  • Invite Organization Member

    Send 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

    List metadata for Mastra organization API tokens. Returned token values are obfuscated identification previews, not usable secrets.

  • List Feedback

    List hosted Mastra feedback records with page or durable delta continuation.

  • List Metrics

    List raw hosted Mastra metric records with page or durable delta continuation.

  • List Organization Invitations

    List all pending invitations for the connected Mastra organization.

  • List Organization Members

    List members of the connected Mastra organization, including their roles and membership status.

  • List Organizations

    List Mastra organizations available to the connected API-key bearer credential.

  • List Projects

    List Mastra Studio or hosted Server projects in the connected organization.

  • List Server Domains

    List custom domains configured for a hosted Mastra Server project.

  • Redeploy Server Project

    Trigger a new deployment for a hosted Mastra Server project. Redeployment starts deployment work and may trigger usage-metered compute charges.

  • Remove Organization Member
    destructive

    Remove a member from the connected Mastra organization. This destructive operation requires an organization admin role.

  • Revoke API Token
    destructive

    Revoke a Mastra organization API token so it can no longer authenticate. This destructive operation cannot reveal or restore the revoked secret.

  • Revoke Organization Invitation
    destructive

    Revoke a pending invitation to the connected Mastra organization. The connected account must have an admin role.

  • Set Server Environment Variables

    SENSITIVE SECRET MUTATION: Replace environment variables for a hosted Mastra Server project. Values are secrets; never log, persist, or expose them. This route does not restart the running service.

  • Set Server Environment Variables and Restart

    SENSITIVE, IRREVERSIBLE RUNTIME OPERATION: Replace secret environment variables for a hosted Mastra Server project and immediately restart its running service. Never log, persist, or expose the secret values.

  • Stop Server Deployment

    Stop a Mastra hosted Server deployment.

  • Update Organization Member Role

    Change an existing member's role in the connected Mastra organization. The connected account must have an admin role.

  • Verify Project Ingest Access

    Verify that the connected Mastra organization API key can ingest telemetry for one project without changing provider state.

Setup

  1. Create or open a Switchy Project.
  2. Open Integrations and connect Mastra.
  3. Authorise through api_key. Switchy stores the connection against your org.
  4. Everyone in the Project can now @-mention the Mastra tools in chat.

What teammates see: by default, memories from Mastra are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Projects have used this MCP together with a given model.

How Switchy teams use it

Not enough Projects yet to publish anonymised usage stats (we require ≥ 50 Projects per week).

Starter prompts

Starter prompts for this model will land here soon.

More developer tools MCPs

See all developer tools MCPs →

Data last verified 12 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.