docs: rewrite README in English

This commit is contained in:
2026-03-15 10:06:30 +00:00
parent b992e57560
commit 9a007ddf69

View File

@@ -1,18 +1,18 @@
# infrahub-mcp
Image Docker pour le serveur MCP Infrahub ([OpsMill](https://github.com/opsmill/infrahub-mcp-server)).
Docker image for the Infrahub MCP server ([OpsMill](https://github.com/opsmill/infrahub-mcp-server)).
Empaquette le serveur infrahub-mcp dans un conteneur prêt à l'emploi,
exposant le serveur en mode SSE sur le port 8001.
Packages the infrahub-mcp-server into a ready-to-use container,
running the server in SSE mode on port 8001.
## Variables d'environnement
## Environment variables
| Variable | Description | Default |
|----------------------|----------------------------------|--------------------------|
| `INFRAHUB_ADDRESS` | URL de l'instance Infrahub | `http://localhost:8000` |
| `INFRAHUB_API_TOKEN` | Token API Infrahub | (vide) |
| `MCP_HOST` | Adresse d'écoute | `0.0.0.0` |
| `MCP_PORT` | Port d'écoute | `8001` |
| `INFRAHUB_ADDRESS` | Infrahub instance URL | `http://localhost:8000` |
| `INFRAHUB_API_TOKEN` | Infrahub API token | (empty) |
| `MCP_HOST` | Listen address | `0.0.0.0` |
| `MCP_PORT` | Listen port | `8001` |
## Build
@@ -20,26 +20,26 @@ exposant le serveur en mode SSE sur le port 8001.
docker build -t gitea.arnodo.fr/damien/infrahub-mcp:latest images/infrahub-mcp/
```
### Avec une version spécifique
### Pin a specific upstream version
```bash
docker build --build-arg INFRAHUB_MCP_VERSION=v1.0.0 \
-t gitea.arnodo.fr/damien/infrahub-mcp:v1.0.0 images/infrahub-mcp/
```
## Utilisation
## Usage
```bash
docker run -d --name infrahub-mcp \
-e INFRAHUB_ADDRESS=http://infrahub.local:8000 \
-e INFRAHUB_API_TOKEN=mon-token-api \
-e INFRAHUB_API_TOKEN=my-api-token \
-p 8001:8001 \
gitea.arnodo.fr/damien/infrahub-mcp:latest
```
## Configuration MCP client (Claude Desktop, Cursor, etc.)
## MCP client configuration (Claude Desktop, Cursor, etc.)
Pointer le client vers le endpoint SSE du conteneur :
Point your client to the container's SSE endpoint:
```json
{