Skip to main content
Glama

Civo MCP Server

sizes.ts598 B
import { CIVO_API_KEY, CIVO_API_URL } from './civo.js'; export interface Size { name: string; description: string; cpu_cores: number; ram_mb: number; disk_gb: number; selectable: boolean; type: string; } export async function listSizes(): Promise<Size[]> { const url = `${CIVO_API_URL}/sizes`; const response = await fetch(url, { headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${CIVO_API_KEY}`, }, }); if (!response.ok) { throw new Error(`Failed to list sizes: ${response.statusText}`); } return await response.json(); }

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/tao12345666333/civo-mcp'

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