Skip to main content
Glama
hteek

Serverless MCP

by hteek
oauthProtectedResourceFunction.ts533 B
import { Construct } from 'constructs'; import { BaseNodejsFunction } from '../lambda.js'; export interface OauthProtectedResourceFunctionProps { readonly domainName: string; } export class OauthProtectedResourceFunction extends BaseNodejsFunction { constructor(scope: Construct, props: OauthProtectedResourceFunctionProps) { const { domainName } = props; super(scope, 'OauthProtectedResource', { nodejsFunctionProps: { environment: { DOMAIN_NAME: domainName, }, }, }); } }

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