2,500+ MCP servers ready to use
Vinkius

Farmonaut 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 Farmonaut 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: {
      "farmonaut": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

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

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

main();
Farmonaut
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 Farmonaut MCP Server

Connect your Farmonaut Satellite API to any AI agent and take full control of satellite-based crop monitoring, vegetation index analysis, weather tracking, AI crop advisory, and deforestation detection through natural conversation.

Mastra's agent abstraction provides a clean separation between LLM logic and Farmonaut 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

  • Field Management — List and register agricultural fields with boundaries, crop types, and planting dates
  • NDVI Analysis — Calculate NDVI from Sentinel-2, Landsat, and PlanetScope for crop health monitoring
  • NDWI Water Index — Monitor crop water content and irrigation needs with water index analysis
  • EVI Enhanced Index — Track enhanced vegetation index for high-biomass and dense canopy crops
  • Weather Data — Access historical and current weather data for agricultural decision making
  • Weather Forecast — Get forecasts from 7 days to 3 months for agricultural planning
  • Soil Moisture — Monitor soil moisture at different depths for irrigation scheduling
  • Satellite Imagery — Retrieve true-color, false-color, and NDVI overlay images from multiple satellites
  • AI Crop Advisory — Get AI-powered recommendations for irrigation, fertilizer, pest control, and harvest
  • Deforestation Alerts — Detect land use changes and tree cover loss for conservation compliance
  • SAR Analysis — All-weather monitoring using Synthetic Aperture Radar that penetrates clouds
  • Multi-Satellite Support — Access Sentinel-2, Landsat, PlanetScope, and SAR satellite data

The Farmonaut 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 Farmonaut to Mastra AI via MCP

Follow these steps to integrate the Farmonaut 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 Farmonaut via MCP

Why Use Mastra AI with the Farmonaut MCP Server

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

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Farmonaut 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 Farmonaut 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

Farmonaut + Mastra AI Use Cases

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

01

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

02

SaaS integrations: embed Farmonaut 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 Farmonaut on a cron and store results in your database automatically

04

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

Farmonaut MCP Tools for Mastra AI (12)

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

01

add_field

Accepts field boundary as GeoJSON polygon or coordinates, field name, crop type, and planting date. Returns the created field with ID, calculated area, and monitoring activation status. Essential for onboarding new fields into the monitoring system, expanding farm coverage, and setting up new crop seasons. AI agents should use this when users ask "add a new field for monitoring", "register this field boundary", or need to set up satellite monitoring for a new agricultural area. Register a new agricultural field for satellite monitoring

02

get_crop_advisory

Returns recommendations for irrigation, fertilization, pest control, harvest timing, and field operations. Essential for data-driven farm management, precision agriculture, and optimizing crop inputs. AI agents should use this when users ask "what should I do in my field this week", "get irrigation and fertilizer recommendations", or need AI-powered crop management advice. Get AI-powered crop management advisories and recommendations

03

get_deforestation_alerts

Uses satellite imagery to detect tree cover loss, land clearing, and vegetation changes over time. Essential for conservation compliance, environmental monitoring, carbon credit verification, and land use change detection. AI agents should reference this when users ask "show deforestation alerts in my area", "detect land use changes", or need environmental compliance monitoring. Get deforestation and land change detection alerts

04

get_evi

EVI is more sensitive in high-biomass regions and less affected by atmospheric conditions and soil background than NDVI. Essential for monitoring dense canopies, tropical crops, and areas with high atmospheric interference. Returns EVI values, statistics, satellite source, and acquisition dates. AI agents should use this when users ask "show me EVI trends for this field", "how is the canopy developing in high-biomass areas", or need enhanced vegetation index analysis for dense vegetation. Calculate EVI enhanced vegetation index for high-biomass crop monitoring

05

get_fields

Returns field names, boundaries (GeoJSON polygons), area in hectares/acres, crop type, planting dates, and current monitoring status. Essential for farm management overview, field inventory, and selecting target fields for satellite analysis. AI agents should use this when users ask "show me all my fields", "list monitored fields", or need to identify available fields for vegetation index or weather queries. List all agricultural fields monitored in your Farmonaut account

06

get_ndvi

NDVI measures vegetation health and vigor on a scale of -1 to 1, with higher values indicating healthier vegetation. Returns NDVI values, statistics (mean, min, max, std), satellite source, acquisition date, and cloud cover percentage. Essential for crop health assessment, growth stage monitoring, stress detection, and yield prediction. AI agents should use this when users ask "what is the NDVI for my rice field this month", "calculate vegetation health for field X", or need NDVI-based crop health analysis. Calculate NDVI vegetation index for crop health monitoring

07

get_ndwi

NDWI is sensitive to vegetation water content and soil moisture, making it essential for irrigation scheduling, drought monitoring, and water stress detection. Returns NDWI values, statistics, satellite source, and acquisition dates. AI agents should reference this when users ask "what is the water content in my crops", "do I need to irrigate", or need water stress analysis for irrigation planning. Calculate NDWI water index for crop water stress and irrigation monitoring

08

get_sar_analysis

SAR penetrates clouds and works day/night, making it essential for monitoring in cloudy or rainy conditions. Returns backscatter values, soil moisture estimates, crop structure information, and change detection analysis. Essential for all-weather monitoring, flood detection, soil moisture mapping, and crop structure analysis. AI agents should use this when users ask "get SAR analysis for my field during cloudy season", "monitor crops through cloud cover", or need all-weather satellite analysis. Get Synthetic Aperture Radar (SAR) analysis for all-weather crop monitoring

09

get_satellite_images

Returns true-color and false-color composites, NDVI overlays, and raw spectral bands. Essential for visual crop assessment, change detection, damage assessment, and downloading imagery for further processing. AI agents should reference this when users ask "show me satellite images of my field from last week", "get latest Sentinel-2 imagery", or need satellite imagery for visual assessment. Retrieve satellite imagery for agricultural fields from multiple sources

10

get_soil_moisture

Returns soil moisture levels at different depths (surface, root zone, deep soil), moisture anomalies, and irrigation recommendations. Essential for irrigation scheduling, drought monitoring, water stress detection, and water resource optimization. AI agents should use this when users ask "what is the soil moisture level in my field", "do I need to irrigate", or need soil moisture data for irrigation planning. Get soil moisture data for irrigation scheduling and drought monitoring

11

get_weather

Includes temperature (air, soil), precipitation, humidity, wind speed/direction, solar radiation, evapotranspiration, and growing degree days. Essential for irrigation planning, frost risk assessment, disease/pest pressure modeling, and yield prediction. AI agents should use this when users ask "what was the weather like on my field last month", "get temperature and rainfall data", or need historical weather analysis for crop management decisions. Get historical and current weather data for agricultural fields

12

get_weather_forecast

Includes temperature, precipitation, humidity, wind, and solar radiation forecasts. Essential for planting schedule optimization, harvest timing, irrigation planning, frost protection, and seasonal crop management. AI agents should reference this when users ask "what is the weather forecast for my field next week", "get seasonal precipitation forecast", or need forward-looking weather data for agricultural planning. Get weather forecasts for agricultural planning and irrigation scheduling

Example Prompts for Farmonaut in Mastra AI

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

01

"Show me the NDVI trend for my rice field over the last 3 months."

02

"What is the 7-day weather forecast and current soil moisture for my wheat field?"

03

"Get AI crop advisory recommendations for my cotton field this week."

Troubleshooting Farmonaut MCP Server with Mastra AI

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

01

createMCPClient not exported

Install: npm install @mastra/mcp

Farmonaut + Mastra AI FAQ

Common questions about integrating Farmonaut 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 Farmonaut to Mastra AI

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