@extenshi/mcp
Version:
Extenshi MCP server — bring the extension catalog (search, security, market research) and pre-publish scanning into your AI tools
24 lines • 949 B
TypeScript
/**
* Publish-access preflight for the MCP `publish_extension` tool.
*
* Mirrors the CLI preflight (tools/extenshi-cli/src/publish-access.ts): one call
* to the catalog BFF evaluates the `publish-access` PostHog flag and gates the
* in-testing publish beta to specific developers / extensions. Publishing is
* otherwise fully local.
*
* Fail-OPEN: any transport error resolves to `{ allowed: true }` so an Extenshi
* outage never blocks a release; only a definitive server `allowed:false` blocks.
*/
export interface PublishAccessRequest {
bffUrl: string;
apiKey: string | null;
storeIds: Partial<Record<'chrome' | 'firefox' | 'edge', string>>;
extensionId?: number;
timeoutMs?: number;
}
export interface PublishAccessResult {
allowed: boolean;
message?: string;
}
export declare function checkPublishAccess(req: PublishAccessRequest): Promise<PublishAccessResult>;
//# sourceMappingURL=publish-access.d.ts.map