Skip to main content
Glama
hteek

Serverless MCP

by hteek
oauthAuthorizeFunction.ts552 B
import { Construct } from 'constructs'; import { BaseNodejsFunction } from '../lambda.js'; import { IUserPool } from 'aws-cdk-lib/aws-cognito'; export interface OauthAuthorizeFunctionProps { userPool: IUserPool; } export class OauthAuthorizeFunction extends BaseNodejsFunction { constructor(scope: Construct, opts: OauthAuthorizeFunctionProps) { const { userPool } = opts; super(scope, 'OauthAuthorize', { nodejsFunctionProps: { environment: { 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