Xcstrings Mcp

communication MCP Server

MCP server & CLI for iOS/macOS .xcstrings localization — 26 MCP tools + 11 CLI commands for the full lifecycle: create → extract → translate → validate → export

VerifiedInstall Ready
communicationcommunication
7 views3 stars0 forksApache-2.0

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
3
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

cargo install xcstrings-mcp
51
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (51)

Tool

Description

24ms

5ms

60ms

11ms

333ms

62ms

parse_xcstrings

Parse and cache `.xcstrings` file

remove_locale

Remove a locale from all entries

import_strings

Migrate legacy `.strings`/`.stringsdict` files to `.xcstrings`

rename_key

Rename a localization key, preserving all translations

cleanup_stale

Find and remove stale/unused localization keys

Flag

Default

submit_translations

Validate and write translations atomically

get_context

Find related keys by shared prefix

create_xcstrings

Create a new empty .xcstrings file

translate_batch

Step-by-step instructions for batch translation

info

File summary: source language, keys, locales

validate_translations

File-wide validation report

update_glossary

Add or update glossary terms

delete_keys

Delete localization keys and all their translations

fix_validation_errors

Guided workflow to fix all validation issues

export

Export to XLIFF 1.2

get_plurals

Extract keys needing plural translation

search_keys

Search keys by substring (matches key names and source text)

Prompt

Description

Command

Description

File

Parse

list_files

List all cached files with active status

add_keys

Add new localization keys with source text

coverage

Translation coverage per locale

get_stale

Find stale/removed keys

discover_files

Find .xcstrings and legacy .strings/.stringsdict files

full_translate

Complete workflow for translating an entire file

validate

Check format specifiers, plurals, empty values

list_locales

List locales with stats

export_xliff

Export to XLIFF 1.2 for external translation tools

delete_translations

Remove translations for specific keys in a locale, resetting to untranslated

add_language

Add a new locale and translate all strings

import

Import from XLIFF with validation

add_locale

Add new locale with empty translations

import_xliff

Import translations from XLIFF 1.2 file

get_key

Get all translations for a specific key across all locales

extract_strings

Extract hardcoded strings from Swift code into .xcstrings

migrate

Migrate legacy .strings/.stringsdict

update_comments

Update developer comments on localization keys

localization_audit

Full audit: coverage, validation, stale keys, glossary

stale

List stale/removed keys

Validate

RAM

get_coverage

Per-locale coverage statistics

get_glossary

Get translation glossary entries for a locale pair

get_untranslated

Get untranslated strings with batching

get_diff

Compare cached vs on-disk file (added/removed/modified keys)

review_translations

Instructions for quality review of translations