LocalizeMcp (Localize MCP v0.2.0)

Copy Markdown View Source

Top-level entry point for the Localize MCP server.

The interesting code lives in LocalizeMcp.Server (Anubis-MCP server with tool handlers) and the per-tool modules under LocalizeMcp.Tools.*. This module exists primarily as the documented public surface and as a place to hang version / boot helpers.

See README.md for installation instructions and the full tool surface, and plans/mcp_server.md in the localize repo for the design rationale.

Summary

Functions

Returns whether the optional Calendrical package is loaded.

Returns whether the optional localize_sql package is loaded.

Returns whether the optional localize_web package is loaded.

Returns the package version.

Functions

calendrical_loaded?()

@spec calendrical_loaded?() :: boolean()

Returns whether the optional Calendrical package is loaded.

Used by the server to decide whether to expose Calendrical-specific modules in search / browse / atoms results.

localize_sql_loaded?()

@spec localize_sql_loaded?() :: boolean()

Returns whether the optional localize_sql package is loaded.

Used by the server to decide whether to expose Localize.Ecto.* modules in search / browse results. The package is localize_sql; the modules it defines live under the Localize.Ecto namespace.

localize_web_loaded?()

@spec localize_web_loaded?() :: boolean()

Returns whether the optional localize_web package is loaded.

Used by the server to decide whether to expose the Localize.* web modules in search / browse / atoms results.

version()

@spec version() :: String.t()

Returns the package version.

Pulled from the application spec rather than hard-coded so the value stays in sync with mix.exs.