mcp-server-custom

emilianooferreyra/mcp-server-custom

3.1

If you are the rightful owner of mcp-server-custom and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a structured summary of a minimal MCP server implemented in TypeScript, designed to query weather information using Open-Meteo.

Tools
1
Resources
0
Prompts
0

mpc-start

Servidor MCP mínimo en TypeScript con una herramienta de ejemplo para consultar el clima usando Open‑Meteo.

Instalación

pnpm install

Ejecutar

npx -y tsx main.ts

El servidor MCP se comunica por stdio y espera a que un cliente MCP se conecte.

¿Qué hace este servidor?

  • Crea un McpServer con el nombre "Demo".
  • Expone la herramienta fetch-weather que:
    • Busca coordenadas de una ciudad con la API de geocodificación de Open‑Meteo.
    • Consulta condiciones/forecast y devuelve el JSON.