Skip to main content
Glama

Notion MCP Server

by SAhmadUmass
utils.js844 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObject = exports.pick = exports.assertNever = void 0; /** * Utility for enforcing exhaustiveness checks in the type system. * * @see https://basarat.gitbook.io/typescript/type-system/discriminated-unions#throw-in-exhaustive-checks * * @param value The variable with no remaining values */ function assertNever(value) { throw new Error(`Unexpected value should never occur: ${value}`); } exports.assertNever = assertNever; function pick(base, keys) { const entries = keys.map(key => [key, base === null || base === void 0 ? void 0 : base[key]]); return Object.fromEntries(entries); } exports.pick = pick; function isObject(o) { return typeof o === "object" && o !== null; } exports.isObject = isObject; //# sourceMappingURL=utils.js.map

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/SAhmadUmass/notion-mcp-server'

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