Skip to main content
Glama

MCP Agent TypeScript Port

by waldzellai
percent.js367 B
/* Copyright 2012-2015, Yahoo Inc. Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ 'use strict'; module.exports = function percent(covered, total) { let tmp; if (total > 0) { tmp = (1000 * 100 * covered) / total; return Math.floor(tmp / 10) / 100; } else { return 100.0; } };

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/waldzellai/mcp-agent-ts'

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