Skip to main content
Glama

Agricultural AI MCP Server

by BishalJena

🌾 Agricultural AI MCP Server

A production-ready HTTP server providing crop price data and web search capabilities for agricultural AI chatbots. Features creative Docker MCP Gateway integration for intelligent tool routing and management.

šŸš€ Quick Start

# 1. Quick setup (30 seconds) ./scripts/setup/quick-setup.sh # 2. Test intelligent routing curl -X POST http://localhost:8811/tools/call \ -H "Content-Type: application/json" \ -d '{"name": "crop-price", "arguments": {"state": "Punjab"}}'

šŸ“ Project Structure

ā”œā”€ā”€ šŸ“š docs/ # Documentation │ ā”œā”€ā”€ deployment/ # Deployment guides │ ā”œā”€ā”€ integration/ # Integration guides │ └── guides/ # Feature guides ā”œā”€ā”€ šŸ”§ scripts/ # Automation scripts │ ā”œā”€ā”€ setup/ # Setup scripts │ ā”œā”€ā”€ deployment/ # Deployment scripts │ └── testing/ # Testing scripts ā”œā”€ā”€ āš™ļø config/ # Configuration files │ ā”œā”€ā”€ docker/ # Docker configurations │ ā”œā”€ā”€ nginx/ # Nginx configurations │ └── catalogs/ # MCP catalogs ā”œā”€ā”€ šŸ¤– examples/ # Integration examples │ ā”œā”€ā”€ chatbot/ # Chatbot integrations │ └── integration/ # API examples └── šŸ’» src/ # Source code

šŸŽÆ Features

Core Agricultural Intelligence

  • Crop Price Data: Real-time agricultural commodity prices from data.gov.in

  • Web Search: Agricultural news and information via EXA API

  • HTTP API: RESTful endpoints for easy integration

  • Health Checks: Built-in monitoring endpoints

Docker MCP Gateway Integration

  • šŸŽÆ Intelligent Tool Routing: Gateway routes queries to optimal agricultural tools

  • šŸ“‹ Production Catalog Management: Sophisticated server registry with metadata

  • šŸ”„ Dynamic Server Discovery: Runtime tool registration and management

  • 🌐 Dual Protocol Support: Both HTTP REST and MCP protocol endpoints

  • ⚔ Real-time Tool Orchestration: Gateway manages multiple agricultural intelligence servers

šŸ› ļø Setup Options

Option 1: Local Development

./scripts/setup/quick-setup.sh

Option 2: DigitalOcean Deployment

./scripts/deployment/check-digitalocean.sh

Option 3: Creative MCP Gateway

./scripts/testing/creative-gateway-demo.sh

šŸ“š Documentation

šŸ¤– Chatbot Integration

const AgriculturalAI = require('./examples/chatbot/your-chatbot-config.js'); const agriAI = new AgriculturalAI(); // Ready to use! const response = await agriAI.processQuery("What are wheat prices in Punjab?");

šŸŽÆ Live Endpoints

šŸ† Perfect for Hackathons

  • āœ… Creative Docker MCP Gateway Usage - Intelligent agricultural tool orchestration

  • āœ… Production-Ready Architecture - Real catalog management and server routing

  • āœ… Real Agricultural Data - Government crop prices and market intelligence

  • āœ… Easy Integration - Works with any chatbot or AI framework

  • āœ… Live Demo Ready - Judges can test both gateway and direct API access

šŸ“ License

MIT License - Perfect for hackathon projects!

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides real-time crop price data from Indian government sources and agricultural web search capabilities. Enables AI chatbots to access comprehensive agricultural market information and news for farming-related queries.

  1. šŸš€ Quick Start
    1. šŸ“ Project Structure
      1. šŸŽÆ Features
        1. Core Agricultural Intelligence
        2. Docker MCP Gateway Integration
      2. šŸ› ļø Setup Options
        1. Option 1: Local Development
        2. Option 2: DigitalOcean Deployment
        3. Option 3: Creative MCP Gateway
      3. šŸ“š Documentation
        1. šŸ¤– Chatbot Integration
          1. šŸŽÆ Live Endpoints
            1. šŸ† Perfect for Hackathons
              1. šŸ“ License

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/BishalJena/fs-gate'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server