How to Use the GrainSure MCP in Claude Code
Automate silo telemetry scripts and schedule grain orders from your terminal with Claude Code and this GrainSure MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect GrainSure MCP to Claude Code
Create your Vinkius account to connect GrainSure to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Terminal-Driven Inventory Auditing
The `get_farm_overview` tool aggregates inventory metrics, grain types, and current fill levels across all silos into a single terminal output. Claude Code runs this command to give you an instant snapshot of your farm's total storage status. You can pipe this terminal output directly into local shell scripts or text files. For deeper analysis, the tool `get_usage_history` extracts time-series consumption rates directly to your command line. The terminal agent parses these raw figures to calculate average daily burn rates. This lets you run fast inventory audits without opening a browser.
Scripted Replenishment and Order Tracking
The `create_delivery_order` tool allows you to execute grain purchases directly from a shell prompt. Claude Code formats the payload with your required tonnage and target delivery dates, running the MCP action headlessly. This is ideal for integrating grain logistics into cron jobs or local automation scripts. To verify these transactions, the Claude Code agent calls `get_order_history` to pull recent supplier confirmations and tracking IDs. It prints the status of pending shipments directly to your terminal. Your team gets a fast, text-based way to track your supply chain.
MCP Server Diagnostics and Settings
The `get_sensor_health` tool outputs battery voltage, signal strength, and calibration status for your monitoring hardware. Claude Code uses this diagnostic data to check for offline sensors during routine system scans. You can automate these checks to run daily in the background. If you need to adjust parameters, the agent executes `update_silo_settings` to change thresholds or crop assignments. This updates your hardware configurations directly from the terminal without manual UI navigation. It keeps your monitoring system aligned with your physical storage shifts.
Set up GrainSure MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seegrainsure-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest GrainSure transactions." It will automatically discover and invoke the available GrainSure tools.
claude mcp add --transport http grainsure-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp 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 GrainSure MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the GrainSure MCP today
We host it, we monitor it, we maintain it. You just paste one token.