Skip to main content
Glama

Basic Math MCP Server

by bahfahh
index.js511 B
'use strict'; var bind = require('function-bind'); var $TypeError = require('es-errors/type'); var $call = require('./functionCall'); var $actualApply = require('./actualApply'); /** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */ module.exports = function callBindBasic(args) { if (args.length < 1 || typeof args[0] !== 'function') { throw new $TypeError('a function is required'); } return $actualApply(bind, $call, args); };

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