Taranis MCP Server for Vercel AI SDK 12 tools — connect in under 2 minutes
The Vercel AI SDK is the TypeScript toolkit for building AI-powered applications. Connect Taranis through Vinkius and every tool is available as a typed function. ready for React Server Components, API routes, or any Node.js backend.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { createMCPClient } from "@ai-sdk/mcp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
async function main() {
const mcpClient = await createMCPClient({
transport: {
type: "http",
// Your Vinkius token. get it at cloud.vinkius.com
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
});
try {
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "Using Taranis, list all available capabilities.",
});
console.log(text);
} finally {
await mcpClient.close();
}
}
main();
* 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 Taranis MCP Server
Connect your Taranis AI Scouting API to any AI agent and take full control of AI-powered crop threat detection, ultra-high-resolution imagery analysis, field scouting recommendations, and precision agriculture decision-making through natural conversation.
The Vercel AI SDK gives every Taranis tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 12 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
What you can do
- Organizations — List all agricultural organizations and farms in your Taranis account
- Field Management — View all monitored fields with crop types, boundaries, and growth stages
- Flight History — Review all drone and aircraft flight missions with imagery acquisition dates
- Flight Imagery — Access ultra-high-resolution orthomosaics, DSMs, and NDVI maps from each flight
- All Detections — Get comprehensive AI-detected threats (weeds, diseases, pests, nutrients) in any field
- Threat Summary — View consolidated threat severity assessments and trend analysis per field
- Scouting Recommendations — Receive AI-powered action plans for targeted field scouting missions
- Multispectral Analysis — Access NDVI, NDRE, and GNDVI vegetation indices for vigor assessment
- Weed Detection — Identify specific weed species with coverage estimates and herbicide recommendations
- Disease Detection — Detect crop diseases with severity levels and fungicide treatment suggestions
- Nutrient Analysis — Identify nutrient deficiencies with variable rate fertilization recommendations
The Taranis MCP Server exposes 12 tools through the Vinkius. Connect it to Vercel AI SDK 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 Taranis to Vercel AI SDK via MCP
Follow these steps to integrate the Taranis MCP Server with Vercel AI SDK.
Install dependencies
Run npm install @ai-sdk/mcp ai @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the script
Save to agent.ts and run with npx tsx agent.ts
Explore tools
The SDK discovers 12 tools from Taranis and passes them to the LLM
Why Use Vercel AI SDK with the Taranis MCP Server
Vercel AI SDK provides unique advantages when paired with Taranis through the Model Context Protocol.
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Taranis integration everywhere
Built-in streaming UI primitives let you display Taranis tool results progressively in React, Svelte, or Vue components
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Taranis + Vercel AI SDK Use Cases
Practical scenarios where Vercel AI SDK combined with the Taranis MCP Server delivers measurable value.
AI-powered web apps: build dashboards that query Taranis in real-time and stream results to the UI with zero loading states
API backends: create serverless endpoints that orchestrate Taranis tools and return structured JSON responses to any frontend
Chatbots with tool use: embed Taranis capabilities into conversational interfaces with streaming responses and tool call visibility
Internal tools: build admin panels where team members interact with Taranis through natural language queries
Taranis MCP Tools for Vercel AI SDK (12)
These 12 tools become available when you connect Taranis to Vercel AI SDK via MCP:
get_detections
Returns detection locations (GPS coordinates), threat types (weeds, diseases, pests, nutrient deficiencies), severity levels, confidence scores, affected area estimates, and recommended actions. Detections are classified by AI models trained on millions of field images for sub-millimeter accuracy. Essential for early threat identification, targeted scouting, and precision treatment planning. AI agents should use this when users ask "show me all detections in my field", "what threats were detected in field X", or need comprehensive threat analysis before planning field operations. Optional threatType filters detections by specific threat category. Get all AI-detected crop threats (weeds, diseases, pests, nutrient deficiencies) in a field
get_disease_detections
Returns disease locations, pathogen identification where possible, severity levels (early, moderate, advanced), affected plant parts, and recommended fungicide treatments. Essential for early disease intervention, fungicide planning, and yield loss prevention. AI agents should reference this when users ask "what diseases are in my soybean field", "show disease progression over time", or need disease-specific analysis for crop protection decisions. Get crop disease detections and severity assessments for a field
get_field_details
Essential for understanding field context before analyzing detections, planning scouting missions, or generating management recommendations. AI agents should reference this when users ask "tell me about this field", "what crop is planted in field X", or need detailed field metadata for context-aware analysis. Get detailed information about a specific agricultural field
get_fields
Returns field names, IDs, boundaries (GeoJSON polygons), area in hectares/acres, crop type, planting dates, and monitoring status. Essential for farm management overview, field inventory, and selecting target fields for threat detection and scouting analysis. AI agents should use this when users ask "show me all fields in my organization", "list monitored fields", or need to identify available fields for detection or flight queries. Optional orgId filters fields by specific organization. List all agricultural fields monitored by Taranis for an organization
get_flight_imagery
Returns orthomosaic mosaics, digital surface models (DSM), digital terrain models (DTM), normalized difference vegetation index (NDVI) maps, and true-color RGB composites. Essential for visual crop assessment, change detection between flights, and downloading high-resolution imagery for GIS analysis. AI agents should reference this when users ask "show me the latest imagery from this flight", "get the NDVI map for flight X", or need specific imagery products for field analysis. Get ultra-high-resolution imagery products from a specific flight mission
get_flights
Returns flight dates, times, aircraft type, imagery resolution, weather conditions during flight, coverage percentage, and processing status. Essential for understanding imagery acquisition history, assessing data quality, and selecting specific flights for detailed analysis. AI agents should use this when users ask "show me all flights over my corn field", "what imagery was captured last week", or need flight metadata before accessing specific imagery products. List all drone or aircraft flights that captured imagery for a specific field
get_multispectral_imagery
Supports indices including NDVI (Normalized Difference Vegetation Index), NDRE (Normalized Difference Red Edge), GNDVI (Green NDVI), and custom band combinations. Returns imagery layers, statistical summaries (mean, min, max, std), and zone classifications. Essential for crop vigor assessment, variable rate application planning, and growth stage monitoring. AI agents should reference this when users ask "show me NDVI map for my field", "get multispectral analysis", or need vegetation index data for precision agriculture planning. Get multispectral imagery and vegetation indices (NDVI, NDRE, GNDVI) for a field
get_nutrient_detections
Returns deficiency locations, severity estimates, affected growth stages, and variable rate fertilization recommendations. Essential for precision nutrient management, yield optimization, and cost-efficient fertilization planning. AI agents should use this when users ask "does my field have nutrient deficiencies", "where do I need to apply nitrogen", or need nutrient-specific analysis for variable rate application planning. Get nutrient deficiency detections and fertilization recommendations for a field
get_organizations
Returns organization names, IDs, contact information, and field counts. Essential for multi-account management, selecting target organizations for field analysis, and understanding the scope of monitored agricultural operations. AI agents should use this when users ask "show me all my organizations", "list farms I have access to", or need to identify available organizations before querying fields or detections. List all organizations available to the user in Taranis platform
get_scouting_recommendations
Returns specific action items including ground truth verification locations, recommended scouting patterns, treatment suggestions, timing recommendations, and priority levels. Essential for field team coordination, targeted scouting missions, and data-driven treatment decisions. AI agents should use this when users ask "what should I scout for in my field this week", "give me scouting recommendations", or need AI-generated action plans based on latest imagery analysis. Get AI-powered scouting recommendations and action plans for a field
get_threats
Returns threat categories, overall severity ratings (low, medium, high, critical), affected area percentages, trend analysis (increasing, stable, decreasing), and priority rankings. Essential for quick field health assessment, prioritizing scouting missions, and making informed treatment decisions. AI agents should reference this when users ask "what is the overall threat level in my field", "summarize field health status", or need a high-level threat overview before diving into individual detections. Get consolidated threat summary and severity assessment for a field
get_weed_detections
Returns weed locations, estimated coverage area, species classification, growth stage, and herbicide resistance indicators. Essential for targeted spot spraying, herbicide selection, and resistance management. AI agents should use this when users ask "where are the weeds in my field", "what weed species were detected", or need weed-specific analysis for precision herbicide application. Get specific weed species detections and infestation maps for a field
Example Prompts for Taranis in Vercel AI SDK
Ready-to-use prompts you can give your Vercel AI SDK agent to start working with Taranis immediately.
"Show me all AI-detected threats in my corn field from the latest flight."
"Generate scouting recommendations for my soybean field this week."
"What is the overall threat level and NDVI trend for my wheat field this season?"
Troubleshooting Taranis MCP Server with Vercel AI SDK
Common issues when connecting Taranis to Vercel AI SDK through the Vinkius, and how to resolve them.
createMCPClient is not a function
npm install @ai-sdk/mcpTaranis + Vercel AI SDK FAQ
Common questions about integrating Taranis MCP Server with Vercel AI SDK.
How does the Vercel AI SDK connect to MCP servers?
createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.Can I use MCP tools in Edge Functions?
Does it support streaming tool results?
useChat and streamText that handle tool calls and display results progressively in the UI.Connect Taranis with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Taranis to Vercel AI SDK
Get your token, paste the configuration, and start using 12 tools in under 2 minutes. No API key management needed.
