Skip to main content
Glama

Basic Math MCP Server

by bahfahh
mod.js218 B
'use strict'; var $floor = require('./floor'); /** @type {import('./mod')} */ module.exports = function mod(number, modulo) { var remain = number % modulo; return $floor(remain >= 0 ? remain : remain + modulo); };

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/bahfahh/mcptest'

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