Skip to main content
Glama

Travel Agent MCP Server

by nxGnosis
immigrationService.tsâ€ĸ641 B
import { config } from "../lib/config.js"; export const immigrationService = { getImmigrationInfoByCountry: async (countryCode: string): Promise<any> => { const url = `${config.immigrationApi.baseUrl}/immigration/service/country/${countryCode}?per_page=100`; try { const response = await fetch(url, { headers: { "x-api-key": config.immigrationApi.apiKey, }, }); if (!response.ok) { throw new Error(`HTTP error! status: ${response.status}`); } const data = await response.json(); return data; } catch (error) { console.error("Error fetching immigration info:", error); throw error; } }, };

Latest Blog Posts

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/nxGnosis/TravelAgentMCP'

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