docwriter-mcp-server
Version:
A Model Context Protocol (MCP) server for programmatic creation, modification, and compilation of structured LaTeX documents. Enables AI agents and automated workflows to generate reports, articles, and papers from templates, with secure, structured conte
18 lines (17 loc) • 528 B
TypeScript
/**
* @fileoverview Shared types for authentication middleware.
* @module src/mcp-server/transports/authentication/types
*/
import type { AuthInfo as SdkAuthInfo } from "@modelcontextprotocol/sdk/server/auth/types.js";
/**
* Defines the structure for authentication information derived from a token.
* It extends the base SDK type to include common optional claims.
*/
export type AuthInfo = SdkAuthInfo & {
subject?: string;
};
declare module "http" {
interface IncomingMessage {
auth?: AuthInfo;
}
}