--- createdAt: 2025-06-07 updatedAt: 2026-11-10 priority: 6 title: "Intlayer MCP Server for AI Assistants" description: "Connect the Intlayer MCP server to Cursor, VS Code or Claude Desktop so your AI assistant can read the docs and help set up Intlayer." keywords: - MCP Server - Server Management - Optimization - Intlayer - Documentation - Setup - Features slugs: - doc - mcp-server history: - version: 9.7.3 date: 2026-11-10 changes: "Add analytics tools and access key authentication on the remote server" - version: 9.3.3 date: 2026-08-21 changes: "Group the platform setup sections into tabs" - version: 5.5.12 date: 2025-07-11 changes: "Add set up of ChatGPT" - version: 5.5.12 date: 2025-07-10 changes: "Add set up of Claude Desktop" - version: 5.5.12 date: 2025-07-10 changes: "Add Streamable HTTP transport and distant server" - version: 5.5.10 date: 2025-06-29 changes: "Init history" author: aymericzip --- # Intlayer MCP Server The **Intlayer MCP (Model Context Protocol) Server** provides AI-powered IDE assistance tailored for the Intlayer ecosystem. ## Where can I use it? - On modern developer environments like **Cursor**, **VS Code**, and any IDE supporting the MCP protocol. - On your favorite AI assistant like **Claude Desktop**, **Gemini**, **ChatGPT**, etc. ## Why Use the Intlayer MCP Server? By enabling the Intlayer MCP Server in your IDE, you unlock: - **Context-Aware Documentation** The MCP server loads and exposes the documentation of Intlayer. To speed up your set up, your migrations, etc. This ensures that code suggestions, command options, and explanations are always up to date and relevant. - **Smart CLI Integration** Access and run Intlayer CLI commands directly from your IDE interface. Using the MCP server, you can let your AI assistant run commands like `intlayer dictionaries build` to update your dictionaries, or `intlayer dictionaries fill` to fill your missing translations. > View the full list of commands and options in the [Intlayer CLI documentation](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/cli/index.md). - **CMS and Analytics Access** With an access key, your AI assistant can manage the dictionaries of your Intlayer CMS project and analyze its audience: traffic per locale and page, content exposure, conversions and A/B tests. ## Local server (stdio) vs Remote server (Streamable HTTP) The MCP server can be used in two ways: - Local server (stdio) - Remote server (Streamable HTTP) ### Local server (stdio) (recommended) Intlayer provides a NPM package that can be installed locally on your machine. It can be installed in your favorite IDE, as VS Code, Cursor, as well as your locale assistant application, as ChatGPT, Claude Desktop, etc. This server is the recommended way to use the MCP server. As it integrates all the features of the MCP server, including the CLI tools. ### Remote server (Streamable HTTP) The MCP server can also be used remotely, using the Streamable HTTP transport method. This server is hosted by Intlayer, and is available at https://mcp.intlayer.org. This server can be accessed publicly, without any authentication, and is free to use. Note that the remote server does not integrate CLI tools, AI autocompletion, etc. Without credentials, it exposes the documentation tools only. Send an access key to also use the CMS and analytics tools, see [Analytics tools](#analytics-tools). > Due to server hosting costs, the availability of the remote server cannot be guaranteed. We limit the number of simultaneous connections. We recommend using the local server (stdio) transport method for the most reliable experience. ## Setup via Intlayer CLI (recommended) Intlayer provides a CLI command to automatically configure the MCP server in your project. ```bash packageManager="npm" npx intlayer init mcp ``` ```bash packageManager="yarn" yarn intlayer init mcp ``` ```bash packageManager="pnpm" pnpm intlayer init mcp ``` ```bash packageManager="bun" bun x intlayer init mcp ``` This command will: 1. Ask you which platform you are using (Cursor, VS Code, Claude Desktop, etc.). 2. Ask you which transport method you want to use (Local server (stdio) or Remote server (Streamable HTTP)). 3. Automatically update your configuration file (e.g., `.cursor/mcp.json`, `.vscode/mcp.json`, or the global Claude Desktop config). ## Setup via Intlayer VS Code extension 1. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P). 2. Type `Intlayer: Setup AI Agent Skills` 3. Pick the platform you use (e.g. `VS Code`, `Cursor`, `Windsurf`, `OpenCode`, `Claude Code`, `GitHub Copilot Workspace`, etc.). 4. Pick the MCP to install (stdio, Streamable HTTP) 5. Press Enter. ## Manual setup ### Setup in Cursor Follow the [official documentation](https://docs.cursor.com/context/mcp) to configure the MCP server in Cursor. In your project root, add the following `.cursor/mcp.json` configuration file: #### Local server (stdio) (recommended) ```json fileName=".cursor/mcp.json" { "mcpServers": { "intlayer": { "command": "npx", "args": ["-y", "@intlayer/mcp"] } } } ``` #### Remote server (Streamable HTTP) For connecting to a remote Intlayer MCP server using Streamable HTTP, you can configure your MCP client to connect to the hosted service. ```json fileName=".cursor/mcp.json" { "mcpServers": { "intlayer-sse": { "command": "npx", "args": ["-y", "mcp-remote@latest", "https://mcp.intlayer.org"] } } } ``` This tells your IDE to launch the Intlayer MCP server using `npx`, ensuring it always uses the latest available version unless you pin it. ### Setup in VS Code Follow the [official documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) to configure the MCP server in VS Code. To use the Intlayer MCP Server with VS Code, you need to configure it in your workspace or user settings. #### Local server (stdio) (recommended) Create a `.vscode/mcp.json` file in your project root: ```json fileName=".vscode/mcp.json" { "servers": { "intlayer": { "type": "stdio", "command": "npx", "args": ["-y", "@intlayer/mcp"] } } } ``` #### Remote server (Streamable HTTP) For connecting to a remote Intlayer MCP server using Streamable HTTP, you can configure your MCP client to connect to the hosted service. ```json fileName=".vscode/mcp.json" { "servers": { "intlayer-sse": { "command": "npx", "args": ["-y", "mcp-remote@latest", "https://mcp.intlayer.org"] } } } ``` ### Set Up in ChatGPT #### Remote server (Streamable HTTP) Follow the [official documentation](https://platform.openai.com/docs/mcp#test-and-connect-your-mcp-server) to configure the MCP server in ChatGPT. 1. Go to the [promt dashboard](https://platform.openai.com/prompts) 2. Click on `+ Create` 3. Click on `Tools (Create or +)` 4. Select `MCP Server` 5. Click on `Add new` 6. Fill the following fields: - URL: `https://mcp.intlayer.org` - Label: `Intlayer MCP Server` - Name: `intlayer-mcp-server` - Authentication: `None` 7. Click on `Save` ### Set Up in Claude Desktop Follow the [official documentation](https://modelcontextprotocol.io/quickstart/user#2-add-the-filesystem-mcp-server) to configure the MCP server in Claude Desktop. Path of the config file: - macOS: `~/Library/Application\ Support/Claude/claude_desktop_config.json` - Windows: `%APPDATA%\Claude\claude_desktop_config.json` #### Local server (stdio) (recommended) ```json fileName="claude_desktop_config.json" { "mcpServers": { "intlayer": { "command": "npx", "args": ["-y", "@intlayer/mcp"] } } } ``` #### Remote server (Streamable HTTP) ```json fileName="claude_desktop_config.json" { "mcpServers": { "intlayer-sse": { "command": "npx", "args": ["-y", "mcp-remote@latest", "https://mcp.intlayer.org"] } } } ``` ### Set Up in Claude Code (CLI) Follow the [official documentation](https://modelcontextprotocol.io/quickstart/user) to configure the MCP server in Claude Code. #### Local server (stdio) (recommended) To connect the Intlayer MCP server to Claude Code using stdio: ```bash claude mcp add intlayer npx -y @intlayer/mcp ``` #### Remote server (Streamable HTTP) To connect the Intlayer MCP server to Claude Code using Streamable HTTP (SSE): ```bash claude mcp add intlayer https://mcp.intlayer.org -t http ``` ## Using the MCP Server via CLI You can also run the Intlayer MCP server directly from the command line for testing, debugging, or integration with other tools. ```bash # Install globally npm install -g @intlayer/mcp # Or use directly with npx (recommended) npx @intlayer/mcp ``` ## Analytics tools The MCP server can answer questions such as "which locales grew this month?", "which pages do French visitors land on?" or "why did conversions drop last week?" using the analytics collected by your Intlayer CMS project. | Tool | Use it for | | ---------------------------------------- | --------------------------------------------------------------------------------------------- | | `intlayer-analytics-get-schema` | List the available dimensions and metrics, data retention, locales and A/B experiments | | `intlayer-analytics-run-report` | Page views, visitors, landing pages, content exposure and conversions by date, locale, page… | | `intlayer-analytics-run-realtime-report` | Activity of the last 60 minutes | | `intlayer-analytics-list-annotations` | Dated events explaining a change: content edits, repository commits, new locales, experiments | | `intlayer-analytics-page-flow` | Navigation paths from a page | | `intlayer-analytics-experiment` | A/B test result with its statistical significance | Reports only contain aggregated, anonymous data. All dates are in UTC. ### Authentication Create an access key in the dashboard of your project (**Project settings > Access keys**) and enable the **ANALYTICS : READ** right. Keep only the rights your assistant needs. Set the credentials as environment variables of the server: ```json fileName=".cursor/mcp.json" { "mcpServers": { "intlayer": { "command": "npx", "args": ["-y", "@intlayer/mcp"], "env": { "INTLAYER_CLIENT_ID": "", "INTLAYER_CLIENT_SECRET": "" } } } } ``` Send the credentials as headers: ```json fileName=".cursor/mcp.json" { "mcpServers": { "intlayer": { "url": "https://mcp.intlayer.org", "headers": { "x-intlayer-client-id": "", "x-intlayer-client-secret": "" } } } } ``` > Avoid pasting your client secret in the chat: it would be stored in the conversation history.