Skip to main content
Glama

Memory Bank MCP Server

by yywdandan
applyGlobalOption.js724 B
'use strict'; const utils = require('../../utils'); function applyGlobalMaxTimeMS(options, model) { applyGlobalOption(options, model, 'maxTimeMS'); } function applyGlobalDiskUse(options, model) { applyGlobalOption(options, model, 'allowDiskUse'); } module.exports = { applyGlobalMaxTimeMS, applyGlobalDiskUse }; function applyGlobalOption(options, model, optionName) { if (utils.hasUserDefinedProperty(options, optionName)) { return; } if (utils.hasUserDefinedProperty(model.db.options, optionName)) { options[optionName] = model.db.options[optionName]; } else if (utils.hasUserDefinedProperty(model.base.options, optionName)) { options[optionName] = model.base.options[optionName]; } }

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/yywdandan/memory-bank-mcp-server'

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