/** * @name resources/current/sap-current-config * @description MCP resource exposing current active configuration to agents * @module resources/current/sap-current-config */ /** * SAP MCP Current Config Resource * * Exposes the current active configuration via MCP resources. * Agents can read this to understand their operating context. * * @module resources/current/sap-current-config */ import { Server } from '@modelcontextprotocol/sdk/server/index.js'; import type { SapMcpContext } from '../../../core/src/types.js'; /** * Registers the current config resource template. * * Provides agents with read-only access to the active configuration, * including profile, connection, security settings, and feature flags. * Wallet paths and all sensitive data (private keys, seeds, secret bytes, API keys) * are intentionally excluded from MCP context. * * @param server - MCP server instance * @param context - SAP MCP execution context * * @example * ```typescript * // Agent reads current config * const result = await mcp.readResource('sap://config/current'); * // Returns: SanitizedConfig or ConfigError * ``` */ export declare function sapCurrentConfigResource(server: Server, context: SapMcpContext): void; //# sourceMappingURL=sap-current-config.resource.d.ts.map