feat(registry): add official MCP server.json and mcpName configuration

This commit is contained in:
khondokartowsif171
2026-11-03 12:02:02 +06:00
parent 4d98fb33e5
commit a97b5218a2
21 changed files with 694 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
/**
* Adapter registry — the gateway that routes a normalized request to the
* right courier adapter. New couriers register here; callers never touch
* adapters directly, only this registry.
*/
import { type CourierAdapter } from "./base.js";
import type { AppConfig } from "../config.js";
import type { CourierId } from "../types.js";
export declare class CourierRegistry {
private readonly adapters;
constructor(config: AppConfig);
private register;
get(courier: CourierId): CourierAdapter;
/** For the `list_couriers` tool and diagnostics. */
list(): {
id: CourierId;
label: string;
configured: boolean;
}[];
}