Author:
    Creation:2025-06-07Last update:2026-11-10

    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.
    • 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)

    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.

    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.

    Intlayer provides a CLI command to automatically configure the MCP server in your project.

    bash
    npx 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 to configure the MCP server in Cursor.

    In your project root, add the following .cursor/mcp.json configuration file:

    .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.

    .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 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.

    Create a .vscode/mcp.json file in your project root:

    .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.

    .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 to configure the MCP server in ChatGPT.

    1. Go to the promt dashboard
    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 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
    claude_desktop_config.json
    {
      "mcpServers": {
        "intlayer": {
          "command": "npx",
          "args": ["-y", "@intlayer/mcp"]
        }
      }
    }
    

    Remote server (Streamable HTTP)

    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 to configure the MCP server in Claude Code.

    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.

    ToolUse it for
    intlayer-analytics-get-schemaList the available dimensions and metrics, data retention, locales and A/B experiments
    intlayer-analytics-run-reportPage views, visitors, landing pages, content exposure and conversions by date, locale, page…
    intlayer-analytics-run-realtime-reportActivity of the last 60 minutes
    intlayer-analytics-list-annotationsDated events explaining a change: content edits, repository commits, new locales, experiments
    intlayer-analytics-page-flowNavigation paths from a page
    intlayer-analytics-experimentA/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:

    .cursor/mcp.json
    {
      "mcpServers": {
        "intlayer": {
          "command": "npx",
          "args": ["-y", "@intlayer/mcp"],
          "env": {
            "INTLAYER_CLIENT_ID": "<your-client-id>",
            "INTLAYER_CLIENT_SECRET": "<your-client-secret>"
          }
        }
      }
    }
    

    Send the credentials as headers:

    .cursor/mcp.json
    {
      "mcpServers": {
        "intlayer": {
          "url": "https://mcp.intlayer.org",
          "headers": {
            "x-intlayer-client-id": "<your-client-id>",
            "x-intlayer-client-secret": "<your-client-secret>"
          }
        }
      }
    }
    
    Avoid pasting your client secret in the chat: it would be stored in the conversation history.