Skip to content
better-i18n.com
इस पेज पर

Better i18n provides two main APIs:

  1. MCP Tools - For AI assistants (Claude, Cursor, etc.)
  2. REST API - For direct integrations

MCP Tools #

The MCP (Model Context Protocol) server exposes these tools for AI-powered translation management:

ToolDescription
listProjectsList all projects you have access to
getProjectGet project details including languages and namespaces
addLanguageAdd a new target language to a project
listKeysGet translation keys with search and filters
createKeysCreate new translation keys
updateKeysUpdate translations for existing keys
deleteKeysSoft-delete translation keys
getSyncsList recent sync operations
getSyncGet details of a specific sync

Authentication #

All API calls require an API key. Get yours from the dashboard.

Bash
# For MCP Server
export BETTER_I18N_API_KEY="your-api-key"

# For REST API
curl -H "Authorization: Bearer your-api-key" \
  https://dash.better-i18n.com/api/...

Project Identifier #

Most tools require a project parameter in org/project format:

JSON
{
  "project": "my-org/my-project"
}

You can find this in your project's i18n.ts config file.