> For the complete documentation index, see [llms.txt](https://help.meltingspot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.meltingspot.io/manage-spot/integrations/assistants-ia-mcp/connecter-vs-code-github-copilot.md).

# Connecter VS Code (GitHub Copilot)

Ajoutez le serveur MCP MeltingSpot à Visual Studio Code, pour l'utiliser avec GitHub Copilot.

Dans Visual Studio Code, MeltingSpot s'ajoute comme serveur MCP, puis s'utilise depuis le chat de GitHub Copilot.

Avant de commencer, vérifiez les [prérequis](https://help.meltingspot.io/manage-spot/integrations/assistants-ia-mcp.md#avant-de-commencer) : vous êtes administrateur du Spot et le serveur MCP est activé pour ce Spot.

{% hint style="info" %}
Les libellés ci-dessous sont ceux de VS Code en anglais. Si votre organisation GitHub limite les serveurs MCP autorisés, demandez à son administrateur d'autoriser MeltingSpot.
{% endhint %}

## Ajouter MeltingSpot

1. Ouvrez la palette de commandes (`Cmd+Shift+P` sur Mac, `Ctrl+Shift+P` sur Windows et Linux).
2. Lancez **MCP: Add Server**.
3. Choisissez **HTTP (HTTP or Server-Sent Events)**, puis saisissez l'adresse du serveur :

   ```
   https://mcp.meltingspot.io/mcp
   ```
4. Donnez-lui un nom, par exemple `meltingspot`, et choisissez de l'ajouter à votre configuration utilisateur pour l'avoir dans tous vos projets.
5. Au premier démarrage du serveur, VS Code vous demande de lui faire confiance puis de vous connecter : acceptez.
6. La page MeltingSpot s'ouvre dans votre navigateur : choisissez votre Spot dans **Spot à connecter**, puis cliquez sur **Autoriser**.

Vous pouvez aussi ajouter MeltingSpot à la main : lancez **MCP: Open User Configuration** et ajoutez le serveur au fichier `mcp.json` :

```json
{
  "servers": {
    "meltingspot": {
      "type": "http",
      "url": "https://mcp.meltingspot.io/mcp"
    }
  }
}
```

## Utiliser MeltingSpot dans le chat

Dans le chat de Copilot, cliquez sur **Configure Tools** dans la zone de saisie et vérifiez que les outils MeltingSpot sont cochés. Faites ensuite votre demande, par exemple : « Liste les lives à venir de mon Spot. »

## Déconnecter MeltingSpot

* Pour arrêter ou retirer le serveur : lancez **MCP: List Servers**, choisissez MeltingSpot, puis **Stop Server** ou **Uninstall**.
* Pour vous déconnecter : ouvrez le menu **Accounts** (en bas de la barre latérale), puis déconnectez le compte lié à MeltingSpot.

{% hint style="info" %}
Pour piloter un autre Spot, ajoutez un second serveur avec la même adresse et un autre nom, par exemple `meltingspot-academie`, puis choisissez l'autre Spot sur la page MeltingSpot.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.meltingspot.io/manage-spot/integrations/assistants-ia-mcp/connecter-vs-code-github-copilot.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
