Skip to main content
Glama
signing-key-module.ts585 B
import { FastifyPluginAsyncTypebox } from '@fastify/type-provider-typebox' import { platformMustBeOwnedByCurrentUser, platformMustHaveFeatureEnabled } from '../authentication/ee-authorization' import { signingKeyController } from './signing-key-controller' export const signingKeyModule: FastifyPluginAsyncTypebox = async (app) => { app.addHook('preHandler', platformMustBeOwnedByCurrentUser) app.addHook('preHandler', platformMustHaveFeatureEnabled((platform) => platform.plan.embeddingEnabled)) await app.register(signingKeyController, { prefix: '/v1/signing-keys' }) }

Latest Blog Posts

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/activepieces/activepieces'

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