@iflow-mcp/leetcode-mcp-server
Version:
MCP Server for LeetCode API (supports leetcode.com and leetcode.cn)
19 lines (18 loc) • 890 B
TypeScript
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { LeetCodeBaseService } from "../../leetcode/leetcode-base-service.js";
import { ResourceRegistry } from "./resource-registry.js";
/**
* Solution resource registry class that handles registration of LeetCode solution-related resources.
* This class manages resources for accessing solutions and solution details.
*/
export declare class SolutionResourceRegistry extends ResourceRegistry {
protected registerGlobal(): void;
protected registerChina(): void;
}
/**
* Registers all solution-related resources with the MCP server.
*
* @param server - The MCP server instance to register resources with
* @param leetcodeService - The LeetCode service implementation to use for API calls
*/
export declare function registerSolutionResources(server: McpServer, leetcodeService: LeetCodeBaseService): void;