Claude Code plugin
The easyi18n plugin for Claude Code bundles the MCP server, two skills, a doctor command and a setting for an agent key. It installs the CLI version it was built for, so you do not need Dart or Node.js.
The plugin is published in the easyi18n-com/agents marketplace. To register the server without it, use the Claude Code snippet.
Install
In Claude Code:
/plugin marketplace add easyi18n-com/agents
/plugin install easyi18n
The first session after the install downloads the plugin's CLI version from
its release and verifies
it against the release's SHA256SUMS. If an easyi18n on your PATH, or
dart pub global run easyi18n_cli:easyi18n, reports exactly that version, the
plugin uses it instead. It ignores any other version, including an older one
without mcp.
Log in
Run easyi18n login in a terminal and approve the code it shows in your
browser. The plugin's next call uses that login, for 30 days, and Claude
spends credits, publishes and rolls back as you. The copy the plugin
downloads is not on your PATH: install the CLI with npm or
Dart to have the easyi18n command. Check the connection with /mcp.
Or add an agent key
For an agent whose spending should wait for an approval in the dashboard:
- In the dashboard, open your project's Settings → API keys → New API key, choose the scopes and set Used by to AI agent. See Approvals and the agent key.
- In Claude Code, open
/plugin, select easyi18n, then Configure, and paste the key. Claude Code stores it as a sensitive setting. A key in the setting wins over the login. - Check the connection with
/mcp.
You can install the plugin before either exists. The setup skill runs without a login or a key and tells you what to do.
What it contains
| Part | What it does |
|---|---|
| MCP server | easyi18n mcp, with your login, or the key from the plugin setting as EASYI18N_TOKEN. See MCP server. |
setup skill | Takes the repository from nothing to ready to translate: detects Flutter, Xcode, Angular, web or Android, runs init and doctor, and shows what would be translated. Spends nothing. |
translate skill | Runs the translation loop, with the two dashboard approvals, then pulls the result. |
/easyi18n:doctor | Runs doctor and fixes failing checks until none fail. |
The skills are the server's setup and translate prompts, so the plugin and
other clients follow the same steps. Ask Claude to add easyi18n to the project,
or to translate and publish, and it picks the matching skill.
Claude Code lists the plugin as easyi18n@easyi18n.com, the skills as
easyi18n:setup and easyi18n:translate, and the server as
plugin:easyi18n:cli.
Several projects, one machine
With your login, every project on the machine works without a per-repository
entry: the project comes from its easyi18n.yaml. The plugin setting holds
one key. A team that works on several easyi18n projects with keys can instead
give each repository its own server entry in a
.mcp.json at the project root, reading the key from the environment Claude
Code was started in:
{
"mcpServers": {
"easyi18n": {
"command": "npx",
"args": ["-y", "@easyi18n.com/cli@1.3.0", "mcp"],
"env": { "EASYI18N_TOKEN": "${EASYI18N_TOKEN}" }
}
}
}
The file holds no key, so it can be committed.