UNPKG

lokalise-mcp

Version:

The Lokalise MCP Server brings Lokalise's localization power to Claude and AI assistants—manage projects, keys, and translations by chat.

16 lines (15 loc) • 580 B
import { LokaliseApi } from "@lokalise/node-api"; /** * Gets or creates the Lokalise API instance. * This is a singleton instance. * Configuration must be loaded before calling this function. * @returns The initialized LokaliseApi instance. * @throws {McpError} if LOKALISE_API_KEY is not configured. */ export declare function getLokaliseApi(): LokaliseApi; /** * Resets the Lokalise API singleton instance. * This forces the API client to be recreated with new configuration * on the next call to getLokaliseApi(). */ export declare function resetLokaliseApi(): void;