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