📦
Xcstrings MCP Server
MCP server for manipulating Xcode string catalogs via xcstrings-cli
0 installs
Trust: 37 — Low
Commerce
Ask AI about Xcstrings MCP Server
Powered by Claude · Grounded in docs
I know everything about Xcstrings MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
xcstrings-mcp-server
MCP stdio server for manipulating Xcode string catalogs through xcstrings-cli.
Features
xcstrings_initxcstrings_addxcstrings_removexcstrings_languagesxcstrings_strings
Requirements
- Node.js 20+
Install
npm install @teleprompter/xcstrings-mcp-server
Default catalog resolution
catalogPath resolution order:
- Tool input
catalogPath XCSTRINGS_DEFAULT_PATHenv varTeleprompter/Resources/teleprompter-ios-localization/Localizable.xcstrings
MCP client config (example)
{
"mcpServers": {
"xcstrings": {
"command": "npx",
"args": ["-y", "@teleprompter/xcstrings-mcp-server"],
"env": {
"XCSTRINGS_DEFAULT_PATH": "/absolute/path/to/Localizable.xcstrings"
}
}
}
}
Tool reference
xcstrings_init
Input:
{
"catalogPath": "optional/path/to/Localizable.xcstrings"
}
Output:
{
"catalogPath": "/abs/path/Localizable.xcstrings",
"created": true
}
xcstrings_add
Input:
{
"key": "home.title",
"lang": "en",
"value": "Home",
"catalogPath": "optional/path/to/Localizable.xcstrings"
}
Output:
{
"catalogPath": "/abs/path/Localizable.xcstrings",
"key": "home.title",
"lang": "en",
"value": "Home",
"updated": true
}
xcstrings_remove
Input:
{
"key": "home.title",
"lang": "en",
"catalogPath": "optional/path/to/Localizable.xcstrings"
}
Output:
{
"catalogPath": "/abs/path/Localizable.xcstrings",
"key": "home.title",
"lang": "en",
"updated": true
}
xcstrings_languages
Input:
{}
Output:
{
"languages": ["en", "ja", "fr"]
}
xcstrings_strings
Input:
{
"catalogPath": "optional/path/to/Localizable.xcstrings",
"lang": "optional language code",
"missingLanguages": false
}
Output:
{
"strings": [
{
"key": "home.title",
"localizations": {}
}
]
}
Development
npm install
npm run test
npm run build
Publishing
- Package is published from Git tags matching
v*via GitHub Actions. - Workflow uses
NODE_AUTH_TOKENand supports npm provenance.
