Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

937 B
Raw Blame
import { FastifyPluginAsyncZod } from 'fastify-type-provider-zod'
import { mcpOAuthRegisterController } from './client/mcp-oauth-register.controller'
import { mcpOAuthAuthorizeController } from './code/mcp-oauth-authorize.controller'
import { mcpOAuthMetadataController } from './metadata/mcp-oauth-metadata.controller'
import { mcpOAuthUserInfoController } from './oidc/mcp-oauth-userinfo.controller'
import { mcpOAuthRevokeController } from './token/mcp-oauth-revoke.controller'
import { mcpOAuthTokenController } from './token/mcp-oauth-token.controller'

export const mcpOAuthRootModule: FastifyPluginAsyncZod = async (app) => {
    await app.register(mcpOAuthMetadataController)
    await app.register(mcpOAuthRegisterController)
    await app.register(mcpOAuthAuthorizeController)
    await app.register(mcpOAuthTokenController)
    await app.register(mcpOAuthRevokeController)
    await app.register(mcpOAuthUserInfoController)
}