@extenshi/mcp
Version:
Extenshi MCP server — bring the extension catalog (search, security, market research) and pre-publish scanning into your AI tools
17 lines • 979 B
TypeScript
/**
* Read-only license terms tools (DX report 2026-10-10 §2 row 16).
*
* Without pay.read an agent could not see the "License terms & refunds"
* questionnaire at all; it existed only in the Dojo card. These two tools give
* it the questions and an unsaved draft from its own answers, under project
* read access. They carry no saved answers (the seller's legal name, address
* and registration live there) and no Pay state, which is what keeps them off
* pay.read; saving and publishing stay with the owner in Dojo.
*/
import type { FastMCPSessionAuth, Tool, ToolParameters } from 'fastmcp';
import type { Bff } from './bff.js';
import type { ToolCallContext } from './tools.js';
type AddTool = <P extends ToolParameters>(tool: Tool<FastMCPSessionAuth, P>) => void;
export declare function registerLicenseTermsTools(add: AddTool, bff: (context: ToolCallContext) => Bff, fail: (err: unknown) => never): void;
export {};
//# sourceMappingURL=license-terms-tools.d.ts.map