Skip to main content
Glama

ARC Config MCP Server

by tsviz
cost-estimator.tsβ€’707 B
// CostEstimator: Estimates monthly cost for runner usage export class CostEstimator { static estimateMonthlyCost(cpu: string, memory: string, replicas: number, provider: 'aws' | 'azure' | 'gcp' = 'aws'): number { // Example pricing (per month): AWS: $0.0316 per vCPU/hr, $0.0042 per GB/hr const cpuVal = parseFloat(cpu); const memVal = memory.endsWith('Gi') ? parseFloat(memory) * 1024 : parseFloat(memory); const hours = 24 * 30; let cost = 0; if (provider === 'aws') { cost += cpuVal * 0.0316 * hours * replicas; cost += (memVal / 1024) * 0.0042 * hours * replicas; } // Add logic for other providers as needed return Math.round(cost * 100) / 100; } }

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/tsviz/arc-config-mcp'

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