> 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-claude-code.md).

# Connecter Claude Code

Connectez Claude Code à votre Spot avec le plugin MeltingSpot, ou en ajoutant le serveur MCP en ligne de commande.

Deux façons de connecter Claude Code à votre Spot :

* **avec le plugin MeltingSpot (recommandé)** : la connexion est déjà configurée, et des consignes guident Claude Code pour utiliser MeltingSpot correctement ;
* **en ajoutant le serveur MCP à la main**, avec une commande.

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.

## Installer le plugin MeltingSpot (recommandé)

1. Dans Claude Code, tapez :

   ```
   /plugin marketplace add meltingspot/meltingspot-for-ai
   /plugin install meltingspot@meltingspot
   ```
2. Tapez `/mcp` pour vous connecter à MeltingSpot.
3. La page MeltingSpot s'ouvre dans votre navigateur : choisissez votre Spot dans **Spot à connecter**, puis cliquez sur **Autoriser**.

Si vous avez déjà installé le plugin sur claude.ai, il est déjà disponible dans Claude Code. Pour en savoir plus sur son contenu, consultez [Plugin et skills MeltingSpot](https://help.meltingspot.io/manage-spot/integrations/assistants-ia-mcp/plugin-et-skills-meltingspot.md).

## Ou : ajouter le serveur à la main

1. Dans un terminal, ajoutez le serveur :

   ```bash
   claude mcp add --transport http --scope user meltingspot https://mcp.meltingspot.io/mcp
   ```

   L'option `--scope user` rend MeltingSpot disponible dans tous vos projets. Sans elle, il n'est disponible que dans le projet courant.
2. Lancez Claude Code, puis tapez :

   ```
   /mcp
   ```
3. Choisissez `meltingspot`, puis **Authenticate**.
4. La page MeltingSpot s'ouvre dans votre navigateur : choisissez votre Spot dans **Spot à connecter**, puis cliquez sur **Autoriser**.

{% hint style="info" %}
Si le navigateur ne s'ouvre pas, copiez l'adresse affichée par Claude Code et ouvrez-la vous-même.
{% endhint %}

## Utiliser MeltingSpot

Faites votre demande dans Claude Code, par exemple : « Liste les membres invités qui n'ont pas encore rejoint mon Spot. »

## Se reconnecter

Si la connexion a expiré, tapez `/mcp`, choisissez `meltingspot`, puis **Re-authenticate**. Vous pouvez aussi lancer :

```bash
claude mcp login meltingspot
```

## Déconnecter MeltingSpot

* Pour vous déconnecter sans retirer le serveur : `/mcp`, `meltingspot`, puis **Clear authentication**. Ou :

  ```bash
  claude mcp logout meltingspot
  ```
* Pour retirer un serveur ajouté à la main, déconnectez-vous d'abord, puis lancez :

  ```bash
  claude mcp remove 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-claude-code.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.
