mcp
v0.7.2Syntholoc MCP server — manage AI localization and translation from Codex, Claude Code, and other MCP clients.
The Syntholoc MCP server — manage AI localization and translation straight from Codex, Claude Code, or any MCP client without leaving your editor. Use the hosted Streamable HTTP endpoint when your MCP client supports OAuth. Add this to ~/.codex/config.toml (or project .codex/config.toml in a trusted project):
Summary extracted from the README.
@syntholoc/mcp
The Syntholoc MCP server — manage AI localization and translation straight from Codex, Claude Code, or any MCP client without leaving your editor.
Hosted OAuth
Use the hosted Streamable HTTP endpoint when your MCP client supports OAuth.
Codex
Add this to ~/.codex/config.toml (or project .codex/config.toml in a trusted
project):
[mcp_servers.syntholoc]
url = "https://api.syntholoc.com/mcp/v1"
Then authorize:
codex mcp login syntholoc
Claude Code
claude mcp add --transport http syntholoc https://api.syntholoc.com/mcp/v1
Local stdio
Use Node.js 22.23.4+, 24.22.1+, or 26.12.1+ within the corresponding supported release line, or Bun 1.4.4+. These runtime versions include the October 2026 Brotli security fix; the Node.js versions also include DNS and TLS fixes.
Use local stdio when you want to run the MCP server as a local process with a machine API key.
Codex
Add this to ~/.codex/config.toml (or project .codex/config.toml):
[mcp_servers.syntholoc]
command = "bunx"
args = ["@syntholoc/mcp"]
[mcp_servers.syntholoc.env]
SYNTHOLOC_API_KEY = "<your-api-key>"
SYNTHOLOC_API_URL = "https://api.syntholoc.com/graphql"
Claude Code
claude mcp add --transport stdio syntholoc \
--env SYNTHOLOC_API_KEY=<your-api-key> \
-- bunx @syntholoc/mcp
Get an API key from your Syntholoc dashboard. It is sent as the x-api-key
header; the active organization is resolved from the key server-side and is
never passed as a tool argument.
Environment variables
| Variable | Default | Description |
|---|---|---|
SYNTHOLOC_API_KEY |
– | Machine API key (x-api-key). Required for most tools. |
SYNTHOLOC_API_URL |
https://api.syntholoc.com/graphql |
GraphQL endpoint. Override to target a self-hosted or local instance. |
SYNTHOLOC_TOOL_SETS |
(all) | Comma-separated tool sets to load (projects,keys,translations,qa,glossary,styleguides,tm,git,providers,jobs,analytics,locales,config). Fewer tools = a more focused agent. |
SYNTHOLOC_READ_ONLY |
false |
Set true to expose only read-only tools (list/get) — safe exploration and onboarding. |
SYNTHOLOC_TOOL_FILTER |
(none) | Comma-separated wildcard patterns matched against tool names (e.g. list_*,get_*). |
The remote (HTTP) transport accepts the same controls as request headers:
syntholoc-tool-sets,syntholoc-read-only,syntholoc-tool-filter. The hosted endpoint is versioned at/mcp/v1(the legacy/mcppath still works).
Choosing an organization (hosted / OAuth)
An OAuth token is per-user and may belong to several organizations. By default the
earliest one is used. To pin a specific org, send the syntholoc-org-id header
(verified against your membership). List the ids with the list_organizations tool
or the syntholoc://organizations resource, then add it to your client config, e.g.:
{
"mcpServers": {
"syntholoc": {
"type": "http",
"url": "https://api.syntholoc.com/mcp/v1",
"headers": { "syntholoc-org-id": "<org-id>" }
}
}
}
API-key (stdio) clients don't need this — the key is already scoped to one org.
What you can do
Task-oriented tools across the whole platform: projects, locales, source keys, translation, QA, glossary, style guides, git integration, LLM providers, jobs, and analytics — plus MCP resources and prompts for common workflows.
Typical asks, one sentence each:
- "Translate the untranslated German strings and wait for it to finish."
- "Show project progress and the QA score."
- "Add these glossary terms and re-run QA on French."
- "Export the Spanish locale."
Translation runs asynchronously and returns a job id; a wait_for_job tool
blocks until completion, so you can chain "translate → wait → export" in a
single request.
Contributing: adding a tool
Tools are authored by hand — the curated descriptions, input aliases, and validation are what make an LLM use them well, so they are deliberately not generated one-per-operation. Two mechanisms keep the manual layer honest:
- Generated input shapes.
bun run codegenemits zod schemas for every GraphQL input type intosrc/generated/input-schemas.tsfrom the API's committed SDL. Compose a schema's.shapeinstead of re-typing a mutation's fields, then curate on top — seeconfigure_llm_providerinsrc/tools/providers.ts, which spreadsConfigureProviderInputSchema().shapeand tightens the API's free-formtype: Stringdown to a concrete enum. - Drift guard.
src/operation-coverage.spec.tsfails the build when an operation exported by@syntholoc/sdkis not surfaced by any tool or resource (or explicitly exempted). Add an operation to the SDK and you must either wire up a tool/resource or record why it is MCP-exempt.
Every tool set has contract tests (src/tools/*.spec.ts) that pin both the
GraphQL operation + variables a tool emits and the JSON it returns, via an
in-memory MCP client against a mock GraphQL client (src/spec-helpers.ts).
License
MIT
The ota tool set lists and manages distributions, releases, channels and delivery keys.
Builds return a jobId for wait_for_job; publishing always requires a concrete release ID
and the observed generation. The existing read-only filter hides every OTA mutation.
Key creation is explicit and returns a plaintext credential once. See OTA operations.