|Labs
Réserver une démoPlateforme
React (Lingo Compiler)
Alpha
React (MCP)
React (i18n)CLI historique (v0)
Déconseillé

Lingo.dev React MCP

  • Comment ça marche
  • Configuration

Agents IA

  • Claude Code
  • Cursor
  • GitHub Copilot Agents
  • Codex (OpenAI)

GitHub Copilot Agents

L’agent de code GitHub Copilot est un outil d’IA autonome qui exécute des tâches de développement en arrière-plan et propose des pull requests. Il prend en charge les serveurs MCP via les paramètres du dépôt.

Configuration#

1

Configurer le serveur MCP

Accédez à Settings > Copilot > Coding agent dans votre dépôt. Dans le champ MCP configuration, saisissez :

json
{
  "mcpServers": {
    "lingo": {
      "command": "npx",
      "type": "stdio",
      "tools": ["*"],
      "args": ["mcp-remote", "https://mcp.lingo.dev/main"]
    }
  }
}

Cliquez sur Save MCP configuration.

2

Ajouter la définition de l’agent

Validez le fichier suivant dans .github/agents/i18n-setup.md de votre dépôt :

markdown
---
name: i18n-setup
description: Expert at implementing internationalization (i18n) in web applications using a systematic, checklist-driven approach.
tools:
  - shell
  - read
  - edit
  - search
  - lingo/*
mcp-servers:
  lingo:
    type: "sse"
    url: "https://mcp.lingo.dev/main"
    tools: ["*"]
---

You are an i18n implementation specialist. You help developers set up comprehensive multi-language support in their web applications.

## Your Workflow

**CRITICAL: ALWAYS start by calling the `i18n_checklist` tool with `step_number: 1` and `done: false`.**

This tool will tell you exactly what to do. Follow its instructions precisely:

1. Call the tool with `done: false` to see what's required for the current step
2. Complete the requirements
3. Call the tool with `done: true` and provide evidence
4. The tool will give you the next step - repeat until all steps are complete

**NEVER skip steps. NEVER implement before checking the tool. ALWAYS follow the checklist.**

Utilisation#

  1. Accédez à Copilot Agents
  2. Sélectionnez votre dépôt et l’agent i18n-setup
  3. Saisissez un prompt :
text
Set up i18n for the following locales:

- en
- es

Use "en" as the default locale.
  1. Cliquez sur Start task

L’agent travaille en arrière-plan et ouvre une pull request avec l’implémentation i18n complète.

Pour aller plus loin#

Comment ça marche
Ce que fournit le serveur MCP
Claude Code
Configurer plutôt dans Claude Code
Cursor
Configurer plutôt dans Cursor
Codex (OpenAI)
Configurer plutôt dans Codex

Cette page vous a-t-elle été utile ?

Max PrilutskiyMax Prilutskiy·Mis à jour il y a 4 mois·2 min de lecture