UNPKG

@digitalsamba/embedded-api-mcp-server

Version:

Digital Samba Embedded API MCP Server - Model Context Protocol server for Digital Samba's Embedded API

20 lines 734 B
/** * Authentication utilities for Digital Samba MCP Server * * In MCP stdio mode, we use environment variables for developer key configuration * since there's no HTTP request context. */ import { AsyncLocalStorage } from "async_hooks"; declare const apiKeyContext: AsyncLocalStorage<string>; /** * Get developer key from environment or request * In stdio mode, we use the environment variable */ export declare function getApiKeyFromRequest(_request: any): string | null; /** * Extract developer key from various sources * For MCP stdio mode, this will always use environment variables */ export declare function extractApiKey(_source?: any): string | null; export default apiKeyContext; //# sourceMappingURL=auth.d.ts.map