Skip to main content
Glama
getEndpointPlugin.jsโ€ข641 B
import { serializerMiddlewareOption } from "@smithy/middleware-serde"; import { endpointMiddleware } from "./endpointMiddleware"; export const endpointMiddlewareOptions = { step: "serialize", tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], name: "endpointV2Middleware", override: true, relation: "before", toMiddleware: serializerMiddlewareOption.name, }; export const getEndpointPlugin = (config, instructions) => ({ applyToStack: (clientStack) => { clientStack.addRelativeTo(endpointMiddleware({ config, instructions, }), endpointMiddlewareOptions); }, });

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/consigcody94/office-whisperer'

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