About Practice
Practice is an MCP server published by abrahamgalue in the AI category: repositorio para practicar con MCP.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/abrahamgalue/mcp-practiceThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Practice
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- !License declaredNo license file. Legally you have no right to use it in a product.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
🔌 TypeScript: MCP (Model Context Protocol)
Pequeño servidor MCP de práctica con una herramienta para consultar el clima.


🚀 Descripción
Este repositorio contiene un servidor de ejemplo construido con @modelcontextprotocol/sdk en TypeScript. Expone una herramienta (fetch-weather) que consulta el clima actual usando Open‑Meteo, valida la entrada con Zod y se comunica por stdio para integrarse con clientes compatibles con MCP.
- Archivo principal:
main.ts - Herramienta incluida:
fetch-weather(parámetro:citycomostring) - Salida: información del clima en formato JSON (día actual y temperatura, entre otros).
⚡ Comenzar
Prerrequisitos
- Git
- Node.js 20 o superior
- Un gestor de paquetes (pnpm o npm)
- (Opcional) Un cliente MCP compatible para conectarse por
stdio(p. ej., Claude Desktop u otro cliente MCP)
🔧 Instalación
-
Clona el repositorio:
git clone https://github.com/abrahamgalue/mcp-practice.git cd mcp-practice -
Instala las dependencias (elige tu gestor):
# con pnpm pnpm install # o con npm npm install
▶️ Ejecución
Este servidor se comunica por stdio. La forma recomendada para probarlo localmente es usar el MCP Inspector:
npx -y @modelcontextprotocol/inspector npx -y tsx main.ts
- Con esto podrás inspeccionar y ejecutar la herramienta
fetch-weatherde forma interactiva. - Para integrarlo con un cliente MCP, configura el cliente para ejecutar el mismo comando en este directorio.
🧰 Herramientas disponibles
- fetch-weather
- Descripción: Obtiene el clima de una ciudad.
- Parámetros:
{ city: string } - Respuesta: bloque de texto con JSON de Open‑Meteo (pronóstico del día actual).
Notas:
- Si la ciudad no se encuentra, retorna un mensaje indicando que no hubo resultados.
- Usa la API de geo-codificación y pronóstico de Open‑Meteo (no requiere API key).
🎭 Tecnologías
- @modelcontextprotocol/sdk para implementar el servidor MCP
- Zod para validación de esquemas
- Node.js y TypeScript para el runtime/desarrollo
README fetched from the repository 5 days ago. The original is authoritative.