Athena Agent
Athena Agent — fuente de terremotos en vivo
Un agente de IA Athena respaldado por un servidor MCP. Obtiene lecturas sísmicas reales de la fuente pública de USGS y las muestra en un widget interactivo dentro del chat.
Ejecútalo
npm install
npm start # http://localhost:8787/mcpVerifica antes de tocar Athena:
npx @modelcontextprotocol/inspector@latest --server-url http://localhost:8787/mcp --transport httpDeberías ver una herramienta, get_recent_earthquakes, y un recurso, ui://widget/quakes.html, con mimeType text/html+skybridge.
Related MCP server: Comprehensive Earthquake Monitoring MCP Server
Exponer a través de HTTPS
Athena requiere HTTPS. Para desarrollo:
ngrok http 8787Registra el agente en https://athenachat.bot/chatbot/mybots/create y establece la URL de MCP en https://<your-subdomain>.ngrok.app/mcp — la ruta /mcp es obligatoria.
Para una URL que sobreviva más allá de la demo, haz push de este repositorio y despliégalo en Render o Railway. Comando de compilación npm install, comando de inicio npm start. Ambos inyectan PORT, que el servidor lee.
Indicaciones que activan la herramienta
"Muéstrame los terremotos recientes"
"¿Ha habido actividad sísmica hoy?"
"¿Ha habido grandes terremotos en la última semana?"
Qué hace que el widget sea interactivo
Control | Comportamiento |
Deslizador de magnitud | Filtra al instante en el navegador, sin llamada al servidor |
Clic en una fila | Expande profundidad, coordenadas, indicador de tsunami |
Botones de ventana de tiempo | Vuelve a llamar a |
El estado sobrevive al re-renderizado mediante window.openai.setWidgetState.
Adaptar esto a otra fuente de datos
Dos lugares cambian, ambos marcados en el código.
server.js— la funciónfetchData. Devuelve{ items: [...], meta: {...} }. Actualiza también el nombre de la herramienta, la descripción yinputSchemapara que coincidan con el nuevo dominio.public/widget.html— la funciónrendery los dos manejadores de los controles.
Todo lo demás (transporte, registro de recursos, CORS, metadatos) es independiente del dominio.
Cosas que te harán perder el tiempo
window.openaies undefined → el mimeType del recurso no es exactamentetext/html+skybridge.callToolno hace nada → a la herramienta le falta_meta["openai/widgetAccessible"]: true.El widget no puede obtener datos de una API directamente → el CSP del iframe lo bloquea. Obtén los datos desde el servidor.
Athena sigue mostrando herramientas antiguas → Configuración → Conectores → Actualizar.
La documentación de Athena importa
@modelcontextprotocol/sdk/server/streamable-http.js. Esa ruta no existe. La correcta esstreamableHttp.js.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides access to the USGS Quakes API within Claude Desktop, enabling users to retrieve earthquake data and details through natural language queries.32871MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates multiple earthquake data sources (IRIS, USGS, GNSS) for comprehensive seismic monitoring, analysis, and risk assessment via natural language queries.1MIT
- AlicenseNot gradedqualityCmaintenanceProvides access to the USGS Earthquake Catalog for querying earthquake events via the FDSNWS API, enabling natural language questions about earthquake data.11MIT
- AlicenseAqualityCmaintenanceMCP server wrapping the USGS Earthquake Hazards API, enabling AI assistants to search the global earthquake catalog, look up event details, count quakes, find 'Did You Feel It' reports, and read realtime feeds.5MIT
Related MCP Connectors
Search USGS and EMSC seismic data — real-time feeds, event queries, and earthquake counts.
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
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/kankush7776-del/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server