Time-MCP
tiempo-mcp
Un sistema de inteligencia artificial agente mínimo que responde preguntas generales y relacionadas con el tiempo mediante un proceso de LLM aumentado con herramientas.
Características
API de Flask : proporciona la marca de tiempo actual.
Servidor de agente MCP : agente de razonamiento que detecta la intención del usuario, llama a herramientas (como la API de tiempo), genera indicaciones e interactúa con un LLM a través de OpenRouter (API compatible con OpenAI).
Interfaz de usuario optimizada : interfaz de chat sencilla para hablar con el agente de IA.
Related MCP server: MCP: Multi-Agent Control Point
Configuración
1. Clonar e instalar dependencias
pip install -r requirements.txt2. Variable de entorno
Configure su clave API de OpenRouter (obtenga una en https://openrouter.ai ):
export OPENROUTER_API_KEY=sk-...your-key...3. Ejecutar los servidores
Abra tres terminales (o utilice procesos en segundo plano):
Terminal 1: API de tiempo de Flask
python flask_api.pyTerminal 2: Servidor del agente MCP
python mcp_server.pyTerminal 3: Interfaz de usuario optimizada
streamlit run streamlit_ui.pyLa interfaz de usuario de Streamlit se abrirá en su navegador (predeterminado: http://localhost:8501 )
Uso
Pregúntele cualquier pregunta al agente en la interfaz de usuario de Streamlit.
Si preguntas la hora (por ejemplo, "¿Qué hora es?"), el agente llamará a la API de Flask, obtendrá la hora actual y elaborará una respuesta hermosa y natural utilizando el LLM.
Para otras preguntas, el agente responderá utilizando únicamente el LLM.
Arquitectura
[Streamlit UI] → [MCP Agent Server] → [Tools (e.g., Time API)]
↓
[LLM via OpenRouter]El agente MCP detecta la intención, llama a las herramientas según sea necesario, diseña indicaciones y las envía al LLM.
Fácilmente extensible para agregar más herramientas (solo agréguelo a la clase MCPAgent).
Personalización
Agregar más herramientas : implementar nuevos métodos en
MCPAgenty actualizarself.tools.Mejorar la detección de intenciones : ampliar
detect_intent()enMCPAgent.Cambiar el modelo LLM : actualice el campo
modelencall_llm().
Requisitos
Python 3.7+
Consulte
requirements.txtpara conocer las dependencias.
Créditos
Desarrollado con Flask, Streamlit, OpenRouter y Python.
Inspirado en patrones de diseño LLM de agencia.
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
- AlicenseBqualityDmaintenanceGiving LLMs Time Awareness Capabilities. Empower your LLMs with time awareness capabilities. Access current time, convert between timezones, and get timestamps effortlessly. Enhance your applications with precise time-related functionalities.61,01469MIT
- Flicense-qualityDmaintenanceA server that routes user questions to specialized agents (date, location, weather) or an LLM expert, with a simple Streamlit web interface for easy interaction.
- Alicense-quality-maintenanceProvides AI agents with precise, locale-aware date and time data across multiple timezones through a Model Context Protocol API built with TypeScript/Node.js.1
- AlicenseBqualityDmaintenanceProvides current time information and timezone conversion capabilities using IANA timezone names with automatic system detection. It enables LLMs to fetch local or global times and convert specific timestamps between different regions.22MIT
Related MCP Connectors
Wall-clock awareness for LLM agents. Two tools: elapsed-time-between-turns + day rollover detection.
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
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/suryawanshishantanu6/time-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server