agroclimate-mcp
Allows ChatGPT to interact with the AgroClimate platform to manage company connections, retrieve device and sensor data, weather information, harvest and export details, and more.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agroclimate-mcpShow me today's weather data for my main farm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AgroClimate MCP Server
Servidor MCP (Model Context Protocol) que conecta ChatGPT/Claude con la API REST de AgroClimate, permitiendo a los usuarios consultar información de su empresa mediante lenguaje natural.
Requisitos
Node.js 20+ LTS
npm 10+
Related MCP server: dssat-mcp
Instalación
# Instalar dependencias
npm install
# Copiar variables de entorno
cp .env.example .env
# Generar ENCRYPTION_KEY
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
# Editar .env con la URL de la API y la ENCRYPTION_KEY generadaCompilar
npm run buildEjecutar (desarrollo)
npm run devConfiguración en ChatGPT / Claude Desktop
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"agroclimate": {
"command": "node",
"args": ["C:/Repositorio/MCP/AgroClimate/dist/index.js"],
"env": {
"API_BASE_URL": "https://api.agroclimate.cl",
"ENCRYPTION_KEY": "<tu-key-64-hex>",
"LOG_LEVEL": "info",
"LOG_DIR": "./logs",
"NODE_ENV": "production",
"SESSION_TTL_HOURS": "24",
"SESSION_CLEANUP_INTERVAL_MIN": "60",
"CACHE_TTL_SECONDS": "300",
"CACHE_MAX_ENTRIES": "1000",
"API_TIMEOUT_MS": "30000"
}
}
}
}ChatGPT (Custom GPT con Actions)
Para ChatGPT, se requiere un wrapper HTTP. Consulta la documentación de OpenAI para configurar un GPT Action que apunte al servidor MCP.
Herramientas Disponibles
Tool | Descripción |
| Conecta una empresa validando la API Key |
| Desconecta la empresa y cierra sesión |
| Lista dispositivos/sensores |
| Historial de lecturas |
| Información climática |
| Bins recolectados hoy |
| Información de cosecha |
| Datos de exportación |
| Despachos pendientes/completados |
| Info de empresa conectada |
| Estado del servidor |
Agregar Nuevos Tools
Crear
src/tools/nuevo_tool.tssiguiendo la estructura existenteImportar y agregar al array en
src/tools/index.tsCompilar:
npm run build
No se requiere modificar el servidor principal ni ningún otro módulo.
Arquitectura
Consultar ARCHITECTURE.md para el documento completo de arquitectura.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cogrowersqa/agroclimate-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server