Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tests/test_website_session_backup_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ def test_mcp_configuration_docs_start_with_claude_style_quick_start() -> None:
)
remote_add = "iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp"
remote_auth = "iac-code mcp auth yuque"
stdio_add = "iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp"
stdio_add = (
"iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates"
)
legacy_add = "iac-code mcp add local-catalog"
failures: list[str] = []

Expand Down Expand Up @@ -332,7 +334,9 @@ def test_mcp_configuration_docs_start_with_claude_style_quick_start() -> None:
def test_mcp_docs_have_dedicated_quick_start_entry() -> None:
remote_add = "iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp"
remote_auth = "iac-code mcp auth yuque"
stdio_add = "iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp"
stdio_add = (
"iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates"
)
quick_start_relative = "mcp/quick-start.md"
failures: list[str] = []

Expand Down
8 changes: 4 additions & 4 deletions website/docs/mcp/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

For stdio wrappers such as `mcp-remote`, put the subprocess command after `--`:
For stdio servers, put the subprocess command after `--`. A remote HTTP server does not need a wrapper: add it with `--transport http` as shown above.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -70,10 +70,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

For stdio wrappers such as `mcp-remote`, put the subprocess command after `--`:
For stdio servers, put the subprocess command after `--`. A remote HTTP server does not need a wrapper: add it with `--transport http` as shown above.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Available commands:
Expand Down
12 changes: 6 additions & 6 deletions website/docs/mcp/quick-start.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 2
title: MCP Quick Start
description: Add a remote HTTP MCP server or stdio wrapper with Claude-style commands.
description: Add a remote HTTP MCP server or stdio server with Claude-style commands.
---

# MCP Quick Start

Use this path when you already have an MCP server URL or a local stdio wrapper command.
Use this path when you already have an MCP server URL or a local stdio server command.

## Remote HTTP Server

Expand All @@ -28,18 +28,18 @@ After authorization, run a bounded health check:
iac-code mcp get yuque --check
```

## Stdio Wrapper
## Stdio Server

For wrappers such as `mcp-remote`, put the subprocess command after `--`:
For stdio servers, put the subprocess command after `--`. A remote HTTP server does not need a wrapper: add it with `--transport http` as shown above.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Then inspect the configured server without connecting:

```bash
iac-code mcp get yuque-remote --config-only
iac-code mcp get local-files --config-only
```

## Next Steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

Fuer stdio-Wrapper wie `mcp-remote` setzen Sie den subprocess-Befehl hinter `--`:
Für stdio-Server setzen Sie den Unterprozessbefehl hinter `--`. Ein Remote-HTTP-Server benötigt keinen Wrapper: Fügen Sie ihn wie oben gezeigt mit `--transport http` hinzu.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

Für stdio-Wrapper wie `mcp-remote` fügen Sie den Unterprozessbefehl nach `--` ein:
Für stdio-Server setzen Sie den Unterprozessbefehl hinter `--`. Ein Remote-HTTP-Server benötigt keinen Wrapper: Fügen Sie ihn wie oben gezeigt mit `--transport http` hinzu.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Verfügbare Befehle:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 2
title: MCP Schnellstart
description: Remote HTTP MCP server oder stdio wrapper mit Claude-style Befehlen hinzufuegen.
description: Remote HTTP MCP server oder stdio server mit Claude-style Befehlen hinzufuegen.
---

# MCP Schnellstart

Verwenden Sie diesen Einstieg, wenn Sie bereits eine MCP server URL oder einen lokalen stdio wrapper command haben.
Verwenden Sie diesen Einstieg, wenn Sie bereits eine MCP server URL oder einen lokalen stdio server command haben.

## Remote HTTP Server

Expand All @@ -28,18 +28,18 @@ Nach der Autorisierung fuehren Sie einen begrenzten health check aus:
iac-code mcp get yuque --check
```

## Stdio Wrapper
## Stdio-Server

Fuer wrapper wie `mcp-remote` setzen Sie den subprocess command hinter `--`:
Für stdio-Server setzen Sie den Unterprozessbefehl hinter `--`. Ein Remote-HTTP-Server benötigt keinen Wrapper: Fügen Sie ihn wie oben gezeigt mit `--transport http` hinzu.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Danach pruefen Sie den configured server ohne Verbindung:

```bash
iac-code mcp get yuque-remote --config-only
iac-code mcp get local-files --config-only
```

## Naechste Schritte
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

Para wrappers stdio como `mcp-remote`, coloque el comando subprocess despues de `--`:
Para servidores stdio, coloca el comando del subproceso después de `--`. Un servidor HTTP remoto no necesita un wrapper: añádelo con `--transport http` como se muestra arriba.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

Para contenedores stdio como `mcp-remote`, coloque el comando de subproceso después de `--`:
Para servidores stdio, coloca el comando del subproceso después de `--`. Un servidor HTTP remoto no necesita un wrapper: añádelo con `--transport http` como se muestra arriba.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Comandos disponibles:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 2
title: Inicio rapido MCP
description: Agrega un servidor MCP HTTP remoto o wrapper stdio con comandos estilo Claude.
description: Agrega un servidor MCP HTTP remoto o servidor stdio con comandos estilo Claude.
---

# Inicio rapido MCP

Usa esta ruta cuando ya tengas una URL de servidor MCP o un comando local de wrapper stdio.
Usa esta ruta cuando ya tengas una URL de servidor MCP o un comando local de servidor stdio.

## Servidor HTTP remoto

Expand All @@ -28,18 +28,18 @@ Despues de autorizar, ejecuta un health check acotado:
iac-code mcp get yuque --check
```

## Wrapper Stdio
## Servidor stdio

Para wrappers como `mcp-remote`, coloca el comando subprocess despues de `--`:
Para servidores stdio, coloca el comando del subproceso después de `--`. Un servidor HTTP remoto no necesita un wrapper: añádelo con `--transport http` como se muestra arriba.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Luego inspecciona el servidor configurado sin conectarte:

```bash
iac-code mcp get yuque-remote --config-only
iac-code mcp get local-files --config-only
```

## Siguientes pasos
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

Pour les wrappers stdio tels que `mcp-remote`, placez la commande subprocess apres `--` :
Pour les serveurs stdio, placez la commande du sous-processus après `--`. Un serveur HTTP distant n'a pas besoin de wrapper : ajoutez-le avec `--transport http` comme indiqué ci-dessus.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

Pour les wrappers stdio tels que `mcp-remote`, placez la commande subprocess après `--` :
Pour les serveurs stdio, placez la commande du sous-processus après `--`. Un serveur HTTP distant n'a pas besoin de wrapper : ajoutez-le avec `--transport http` comme indiqué ci-dessus.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Commandes disponibles :
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 2
title: Demarrage rapide MCP
description: Ajouter un serveur MCP HTTP distant ou un wrapper stdio avec des commandes style Claude.
description: Ajouter un serveur MCP HTTP distant ou un serveur stdio avec des commandes style Claude.
---

# Demarrage rapide MCP

Utilisez ce chemin quand vous avez deja une URL de serveur MCP ou une commande locale de wrapper stdio.
Utilisez ce chemin quand vous avez deja une URL de serveur MCP ou une commande locale de serveur stdio.

## Serveur HTTP distant

Expand All @@ -28,18 +28,18 @@ Apres autorisation, lancez un health check borne :
iac-code mcp get yuque --check
```

## Wrapper Stdio
## Serveur stdio

Pour les wrappers comme `mcp-remote`, placez la commande subprocess apres `--` :
Pour les serveurs stdio, placez la commande du sous-processus après `--`. Un serveur HTTP distant n'a pas besoin de wrapper : ajoutez-le avec `--transport http` comme indiqué ci-dessus.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Puis inspectez le serveur configure sans connexion :

```bash
iac-code mcp get yuque-remote --config-only
iac-code mcp get local-files --config-only
```

## Etapes suivantes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

`mcp-remote` などの stdio ラッパーの場合は、サブプロセス コマンドを `--` の後に置きます。
stdio サーバーの場合は、サブプロセスのコマンドを `--` の後に指定します。リモート HTTP サーバーにラッパーは不要です。上の例のように `--transport http` で追加してください。

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

`mcp-remote` などの stdio ラッパーの場合は、サブプロセス コマンドを `--` の後に置きます。
stdio サーバーの場合は、サブプロセスのコマンドを `--` の後に指定します。リモート HTTP サーバーにラッパーは不要です。上の例のように `--transport http` で追加してください。

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

利用可能なコマンド:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
sidebar_position: 2
title: MCP クイックスタート
description: Claude style commands で remote HTTP MCP server または stdio wrapper を追加します。
description: Claude style commands で remote HTTP MCP server または stdio server を追加します。
---

# MCP クイックスタート

MCP server URL またはローカル stdio wrapper command が分かっている場合は、この主経路を使います。
MCP server URL またはローカル stdio server command が分かっている場合は、この主経路を使います。

## リモート HTTP Server

Expand All @@ -28,18 +28,18 @@ authorization 後、bounded health check を実行します。
iac-code mcp get yuque --check
```

## Stdio Wrapper
## Stdio サーバー

`mcp-remote` などの wrapper では、subprocess command を `--` の後に置きます。
stdio サーバーの場合は、サブプロセスのコマンドを `--` の後に指定します。リモート HTTP サーバーにラッパーは不要です。上の例のように `--transport http` で追加してください。

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

次に、接続せずに configured server を確認します。

```bash
iac-code mcp get yuque-remote --config-only
iac-code mcp get local-files --config-only
```

## 次のステップ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
iac-code mcp auth yuque
```

Para wrappers stdio como `mcp-remote`, coloque o comando subprocess depois de `--`:
Para servidores stdio, coloque o comando do subprocesso depois de `--`. Um servidor HTTP remoto não precisa de wrapper: adicione-o com `--transport http` como mostrado acima.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

## Configuration Sources
Expand Down Expand Up @@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
```

Para wrappers stdio como `mcp-remote`, coloque o comando subprocess após `--`:
Para servidores stdio, coloque o comando do subprocesso depois de `--`. Um servidor HTTP remoto não precisa de wrapper: adicione-o com `--transport http` como mostrado acima.

```bash
iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp
iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates
```

Comandos disponíveis:
Expand Down
Loading