2,500+ MCP servers ready to use
Vinkius

Planet Labs MCP Server for Mastra AI 12 tools — connect in under 2 minutes

Built by Vinkius GDPR 12 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Planet Labs through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "planet-labs": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "Planet Labs Agent",
    instructions:
      "You help users interact with Planet Labs " +
      "using 12 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with Planet Labs?"
  );
  console.log(result.text);
}

main();
Planet Labs
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Planet Labs MCP Server

Connect your Planet Labs API to any AI agent and take full control of daily satellite imagery search, discovery, automated delivery, and imagery analysis through natural conversation.

Mastra's agent abstraction provides a clean separation between LLM logic and Planet Labs tool infrastructure. Connect 12 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Quick Search — Search for satellite imagery with geometry, date range, cloud cover, and sun elevation filters
  • Saved Searches — Create and manage saved searches for recurring imagery monitoring workflows
  • Search Results — Execute saved searches with pagination and sorting to retrieve imagery results
  • Search Statistics — Get histograms of imagery availability by time interval for planning analysis
  • Item Details — View detailed metadata for specific imagery items including acquisition conditions
  • Asset Discovery — List all available asset types (visual, analytic, UDM2) for each imagery item
  • Item Types — Browse all available satellite imagery types (PSScene, SkySat, RapidEye, Landsat, Sentinel-2)
  • Asset Types — Understand available data products (true-color, surface reflectance, uncertainty masks)
  • Cloud Coverage — Estimate clear area percentage before downloading imagery for quality assessment
  • Subscriptions — List and create automated subscriptions for continuous cloud delivery of imagery
  • Multi-Satellite Access — Search across PlanetScope (3-5m), SkySat (sub-meter), RapidEye (5m), Landsat (30m), and Sentinel-2 (10m)
  • Global Daily Coverage — Access daily imagery of Earth landmass with 200+ PlanetScope satellites

The Planet Labs MCP Server exposes 12 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Planet Labs to Mastra AI via MCP

Follow these steps to integrate the Planet Labs MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 12 tools from Planet Labs via MCP

Why Use Mastra AI with the Planet Labs MCP Server

Mastra AI provides unique advantages when paired with Planet Labs through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Planet Labs without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Planet Labs tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

Planet Labs + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Planet Labs MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query Planet Labs, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Planet Labs as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Planet Labs on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using Planet Labs tools alongside other MCP servers

Planet Labs MCP Tools for Mastra AI (12)

These 12 tools become available when you connect Planet Labs to Mastra AI via MCP:

01

create_saved_search

Accepts the same filter parameters as quick_search including geometry, date range, cloud cover, and item types. Returns a search ID that can be used with get_search_results to execute the search on demand. Essential for automated monitoring, change detection workflows, and recurring imagery retrieval. AI agents should use this when users ask "set up a search for new imagery over my field every week", "create a saved search for cloud-free images", or need to establish recurring imagery monitoring for a specific area. Create a saved search for continuous imagery monitoring

02

create_subscription

Accepts geometry, date range, cloud cover filters, item types, and delivery destination (cloud storage or webhook). Returns the created subscription with ID and status. Essential for setting up automated monitoring, establishing continuous data feeds for change detection, and ensuring regular imagery delivery for operational workflows. AI agents should use this when users ask "set up daily imagery delivery for my farm", "create a subscription for cloud-free images over this area", or need to establish automated imagery delivery for monitoring applications. Create a new subscription for continuous automated imagery delivery

03

get_cloud_coverage

Returns clear percentage, cloud percentage, and status information. Essential for quality assessment before downloading imagery, filtering cloudy images from analysis workflows, and ensuring usable imagery for visual interpretation. AI agents should use this when users ask "how cloudy is this image", "what percentage of this scene is clear", or need to assess imagery quality before committing to download. Estimate cloud coverage and clear area percentage for a specific imagery item

04

get_item_assets

Each asset includes download URLs, file sizes, and permissions. Essential for selecting the appropriate data product for analysis, downloading imagery for GIS processing, and understanding available data products. AI agents should use this when users ask "what assets are available for this image", "get download URLs for analytic imagery", or need to select specific asset types (visual for display, analytic for analysis) for download. List all available asset types (visual, analytic, UDM) for a specific imagery item

05

get_item_details

Essential for evaluating image quality before download, understanding acquisition conditions, and preparing orders for specific imagery. AI agents should reference this when users ask "show me details for this image", "what is the cloud cover and acquisition time for item X", or need to evaluate imagery quality before downloading. Get detailed metadata for a specific satellite imagery item

06

get_search_results

Supports pagination (page, page_size) and sorting (acquired asc/desc, published asc/desc). Returns imagery items with acquisition dates, cloud cover, geometry, and available asset types. Essential for retrieving results from pre-configured monitoring searches and executing recurring imagery queries. AI agents should use this when users ask "run my Weekly Farm Monitoring search", "get results from saved search X", or need to execute a saved search and retrieve the latest imagery results. Execute a saved search and retrieve imagery results

07

get_search_statistics

Essential for understanding imagery availability patterns, planning data collection schedules, and assessing temporal coverage for change detection analysis. AI agents should use this when users ask "how many images are available per month for my area", "show me imagery availability statistics", or need to understand temporal patterns of satellite coverage before setting up monitoring. Get statistical histograms of available imagery for an area and time period

08

list_asset_types

Returns asset type IDs, display names, and descriptions. Essential for selecting the appropriate data product for specific use cases (visual for visualization, analytic for NDVI calculation, UDM for quality filtering). AI agents should reference this when users ask "what asset types can I download", "difference between analytic and visual assets", or need to understand available data products for analysis. List all available asset types (visual, analytic, UDM, etc.) and their properties

09

list_item_types

Returns item type IDs, display names, and supported asset types for each. Essential for understanding available imagery sources, selecting appropriate resolution and coverage for analysis, and planning data acquisition strategies. AI agents should use this when users ask "what satellite imagery types are available", "compare PSScene vs SkySat resolution", or need to understand the full catalog of Planet imagery options. List all available satellite imagery item types and their supported assets

10

list_saved_searches

Returns search names, IDs, filter criteria, item types, and creation dates. Essential for managing monitoring workflows, reviewing existing search configurations, and selecting searches for execution. AI agents should reference this when users ask "show me all my saved searches", "list my monitoring configurations", or need to review existing saved searches before executing them. List all saved searches in your Planet account

11

list_subscriptions

Returns subscription names, IDs, filter criteria, delivery destinations, and status. Essential for monitoring automated imagery delivery, reviewing subscription configurations, and managing continuous data feeds. AI agents should reference this when users ask "show me all my subscriptions", "list automated imagery deliveries", or need to review existing subscription configurations. List all active imagery subscriptions for continuous cloud delivery

12

quick_search

Supports item types including PSScene (PlanetScope, 3-5m resolution, daily global coverage), SkySat (sub-meter resolution, high-detail), RapidEye (5m resolution, historical archive), Landsat 8/9 (30m resolution, USGS), and Sentinel-2 (10m resolution, ESA). Returns imagery items with acquisition dates, cloud cover percentages, sun elevation, instrument mode, geometry, and available asset types. Essential for satellite imagery discovery, change detection analysis, disaster monitoring, and agricultural assessment. AI agents should use this when users ask "find cloud-free imagery over this area from last month", "search for PSScene images of my farm", or need to discover available satellite imagery for a specific location and time period. Geometry must be provided as GeoJSON (Point, Polygon, or MultiPolygon). Date filtering uses the acquired property in ISO 8601 format. Cloud cover and sun elevation are filtered using the filter object with range operators. Search for satellite imagery from Planet Labs with geometry, date, and cloud cover filters

Example Prompts for Planet Labs in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with Planet Labs immediately.

01

"Find cloud-free PSScene imagery over my farm boundary from the last 30 days."

02

"Show me what satellite imagery types are available and their resolutions."

03

"Create a daily subscription for cloud-free imagery over my monitoring area."

Troubleshooting Planet Labs MCP Server with Mastra AI

Common issues when connecting Planet Labs to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Planet Labs + Mastra AI FAQ

Common questions about integrating Planet Labs MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect Planet Labs to Mastra AI

Get your token, paste the configuration, and start using 12 tools in under 2 minutes. No API key management needed.