Skip to main content
Glama
hteek

Serverless MCP

by hteek
oauthAuthorizationServerFunction.ts679 B
import { Construct } from 'constructs'; import { BaseNodejsFunction } from '../lambda.js'; import { IUserPool } from 'aws-cdk-lib/aws-cognito'; export interface OauthAuthorizationServerFunctionProps { readonly domainName: string; readonly userPool: IUserPool; } export class OauthAuthorizationServerFunction extends BaseNodejsFunction { constructor(scope: Construct, opts: OauthAuthorizationServerFunctionProps) { const { domainName, userPool } = opts; super(scope, 'OauthAuthorizationServer', { nodejsFunctionProps: { environment: { DOMAIN_NAME: domainName, USER_POOL_ID: userPool.userPoolId, }, }, }); } }

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/hteek/serverless-mcp'

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