Skip to main content
Glama

MCP API Server

by mcgiverdev
weatherService.ts578 B
/** * Servicio para obtener información del clima */ /** * Interfaz para los datos del clima */ export interface WeatherData { city: string; temperature: string; condition: string; } /** * Obtiene el clima para una ciudad específica * @param city Nombre de la ciudad * @returns Datos del clima */ export async function getWeather(city: string): Promise<WeatherData> { // En un caso real, aquí se haría una llamada a una API de clima // Por ahora, devolvemos datos estáticos return { city, temperature: "25°C", condition: "soleado" }; }

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/mcgiverdev/mcp-api-v1'

If you have feedback or need assistance with the MCP directory API, please join our Discord server