Skip to main content
Glama
index.ts728 B
/** * db-mcp - Auth Module Public Exports * * OAuth 2.0 authentication and authorization components. */ // Types export type * from './types.js'; export * from './errors.js'; // Scopes export * from './scopes.js'; // Core classes export { OAuthResourceServer, createOAuthResourceServer } from './OAuthResourceServer.js'; export { AuthorizationServerDiscovery, createAuthServerDiscovery } from './AuthorizationServerDiscovery.js'; export { TokenValidator, createTokenValidator } from './TokenValidator.js'; // Middleware export { createAuthMiddleware, extractBearerToken, requireScope, requireAnyScope, requireToolScope, oauthErrorHandler, type AuthMiddlewareConfig } from './middleware.js';

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/neverinfamous/db-mcp'

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