Metadata-Version: 2.4
Name: mcp-localization
Version: 2026.12.1.0
Summary: MCP server for AceDataCloud Localization translation API
Project-URL: Homepage, https://github.com/AceDataCloud/LocalizationMCP
Project-URL: Documentation, https://platform.acedata.cloud/documents/localization/translate?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen
Project-URL: Repository, https://github.com/AceDataCloud/LocalizationMCP
Project-URL: Issues, https://github.com/AceDataCloud/LocalizationMCP/issues
Author-email: AceDataCloud <support@acedata.cloud>
Maintainer-email: AceDataCloud <support@acedata.cloud>
License: MIT
License-File: LICENSE
Keywords: acedata,localization,mcp,model-context-protocol,translation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp<2,>=1.28.1
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: all
Requires-Dist: build>=1.2.0; extra == 'all'
Requires-Dist: mypy>=1.10.0; extra == 'all'
Requires-Dist: pre-commit>=3.7.0; extra == 'all'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'all'
Requires-Dist: pytest-cov>=5.0.0; extra == 'all'
Requires-Dist: pytest>=8.0.0; extra == 'all'
Requires-Dist: respx>=0.21.0; extra == 'all'
Requires-Dist: ruff>=0.4.0; extra == 'all'
Requires-Dist: twine>=5.0.0; extra == 'all'
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pre-commit>=3.7.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Provides-Extra: release
Requires-Dist: build>=1.2.0; extra == 'release'
Requires-Dist: twine>=5.0.0; extra == 'release'
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'test'
Requires-Dist: pytest-cov>=5.0.0; extra == 'test'
Requires-Dist: pytest>=8.0.0; extra == 'test'
Requires-Dist: respx>=0.21.0; extra == 'test'
Description-Content-Type: text/markdown

<!-- Generated by scripts/marketing_readmes.py from README.md; do not edit. -->
# Ace Localization MCP

<!-- mcp-name: io.github.AceDataCloud/mcp-localization -->

Translate Markdown and JSON locale strings with the Ace Data Cloud Localization API.

## Connect

Use a [Localization application key](https://platform.acedata.cloud/console/applications?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen) in your MCP client's local environment.

```json
{
  "mcpServers": {
    "ace-localization": {
      "command": "uvx",
      "args": ["mcp-localization"],
      "env": {"ACEDATACLOUD_API_TOKEN": "YOUR_LOCALIZATION_APPLICATION_KEY"}
    }
  }
}
```

## Translate

Call `localization_translate` with `input`, `locale` and `extension`. Use `md` for Markdown and `json` for a JSON object. The tool sends one translation request for the nonblank strings, checks the returned locale and supported placeholders, and returns `data` with the original structure. Numbers, booleans, nulls and blank strings stay in place.

```json
{
  "input": {"titles": ["Welcome, {name}", ""], "enabled": true},
  "locale": "de",
  "extension": "json"
}
```

Translation uses the application key's API credits. `localization_get_usage_guide` and `localization_get_api_info` provide local guidance.

<!-- canonical-documentation -->
[Documentation](https://platform.acedata.cloud/documents/localization/translate?utm_source=pypi&utm_medium=referral&utm_campaign=evergreen)
