How to Use the Copernicus Data Space MCP in Mastra AI
Build complex satellite analysis workflows in Mastra AI using the Copernicus Data Space MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Copernicus Data Space MCP to Mastra AI
Create your Vinkius account to connect Copernicus Data Space to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Conditional satellite workflows in Mastra AI
Mastra AI agents can execute `search_by_orbit_number` to trigger specific analysis steps based on repeat-pass data. If the data is missing, the agent moves to a secondary collection search automatically. Define your logic branches to handle data gaps gracefully. Your agent evaluates the results from `list_latest_products` to decide whether to continue the pipeline or alert you to a data outage.
Automated metadata retrieval for Mastra AI agents
Use `get_product` to fetch granular attributes after a search. Your agent parses the footprint geometry and sensing time to make informed decisions about whether to process a file. This keeps your agent loops tight and focused on relevant data. It filters out irrelevant products before you spend resources on downloads.
Reliable data monitoring for Mastra AI
Monitor system connectivity via `check_copernicus_status` inside your agent startup routine. If the service is unreachable, your Mastra AI workflow halts before wasting cycles on failed API requests. It handles retries for you. You configure the backoff, and the agent keeps trying until it grabs the product metadata it needs.
Set up Copernicus Data Space MCP in Mastra AI
Prerequisites
- Node.js 18+ and a TypeScript project
-
@mastra/mcp+@mastra/corepackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install @mastra/mcp @mastra/coreplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Configure the MCPClient
Create an
MCPClientwith your Vinkius endpoint as aURLobject. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and inject tools
Call
mcpClient.listTools()and spread the result into your agent'stoolsobject. All Copernicus Data Space tools become native Mastra tools. - 4
Run with any model
Swap
openai("gpt-4o")for any AI SDK-compatible provider. Callagent.generate()and the agent routes tool calls through MCP automatically.
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";
const mcpClient = new MCPClient({
id: "copernicus-data-space-mcp-client",
servers: {
"copernicus-data-space-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "Copernicus Data Space Agent",
model: openai("gpt-4o"),
instructions: "You have access to Copernicus Data Space tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent Copernicus Data Space transactions"
);
console.log(result.text); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Copernicus Data Space. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Copernicus Data Space MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Copernicus Data Space MCP today
We host it, we monitor it, we maintain it. You just paste one token.