Skip to content

Commit 17fc293

Browse files
playb0tguima-why
authored andcommitted
docs(mcp): show a stdio server in the passthrough example
1 parent f43ab2f commit 17fc293

15 files changed

Lines changed: 76 additions & 72 deletions

File tree

‎tests/test_website_session_backup_docs.py‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,9 @@ def test_mcp_configuration_docs_start_with_claude_style_quick_start() -> None:
297297
)
298298
remote_add = "iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp"
299299
remote_auth = "iac-code mcp auth yuque"
300-
stdio_add = "iac-code mcp add yuque-remote --scope user -- npx mcp-remote https://mcp.example.com/yuque/mcp"
300+
stdio_add = (
301+
"iac-code mcp add local-files --scope user -- npx -y @modelcontextprotocol/server-filesystem ./templates"
302+
)
301303
legacy_add = "iac-code mcp add local-catalog"
302304
failures: list[str] = []
303305

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

‎website/docs/mcp/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
1717
iac-code mcp auth yuque
1818
```
1919

20-
For stdio wrappers such as `mcp-remote`, put the subprocess command after `--`:
20+
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.
2121

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

2626
## Configuration Sources
@@ -70,10 +70,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
7070
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
7171
```
7272

73-
For stdio wrappers such as `mcp-remote`, put the subprocess command after `--`:
73+
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.
7474

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

7979
Available commands:

‎website/docs/mcp/quick-start.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
sidebar_position: 2
33
title: MCP Quick Start
4-
description: Add a remote HTTP MCP server or stdio wrapper with Claude-style commands.
4+
description: Add a remote HTTP MCP server or stdio server with Claude-style commands.
55
---
66

77
# MCP Quick Start
88

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

1111
## Remote HTTP Server
1212

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

31-
## Stdio Wrapper
31+
## Stdio Server
3232

33-
For wrappers such as `mcp-remote`, put the subprocess command after `--`:
33+
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.
3434

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

3939
Then inspect the configured server without connecting:
4040

4141
```bash
42-
iac-code mcp get yuque-remote --config-only
42+
iac-code mcp get local-files --config-only
4343
```
4444

4545
## Next Steps

‎website/i18n/de/docusaurus-plugin-content-docs/current/mcp/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
1717
iac-code mcp auth yuque
1818
```
1919

20-
Fuer stdio-Wrapper wie `mcp-remote` setzen Sie den subprocess-Befehl hinter `--`:
20+
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.
2121

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

2626
## Configuration Sources
@@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
7171
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
7272
```
7373

74-
Für stdio-Wrapper wie `mcp-remote` fügen Sie den Unterprozessbefehl nach `--` ein:
74+
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.
7575

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

8080
Verfügbare Befehle:

‎website/i18n/de/docusaurus-plugin-content-docs/current/mcp/quick-start.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
sidebar_position: 2
33
title: MCP Schnellstart
4-
description: Remote HTTP MCP server oder stdio wrapper mit Claude-style Befehlen hinzufuegen.
4+
description: Remote HTTP MCP server oder stdio server mit Claude-style Befehlen hinzufuegen.
55
---
66

77
# MCP Schnellstart
88

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

1111
## Remote HTTP Server
1212

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

31-
## Stdio Wrapper
31+
## Stdio-Server
3232

33-
Fuer wrapper wie `mcp-remote` setzen Sie den subprocess command hinter `--`:
33+
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.
3434

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

3939
Danach pruefen Sie den configured server ohne Verbindung:
4040

4141
```bash
42-
iac-code mcp get yuque-remote --config-only
42+
iac-code mcp get local-files --config-only
4343
```
4444

4545
## Naechste Schritte

‎website/i18n/es/docusaurus-plugin-content-docs/current/mcp/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
1717
iac-code mcp auth yuque
1818
```
1919

20-
Para wrappers stdio como `mcp-remote`, coloque el comando subprocess despues de `--`:
20+
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.
2121

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

2626
## Configuration Sources
@@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
7171
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
7272
```
7373

74-
Para contenedores stdio como `mcp-remote`, coloque el comando de subproceso después de `--`:
74+
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.
7575

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

8080
Comandos disponibles:

‎website/i18n/es/docusaurus-plugin-content-docs/current/mcp/quick-start.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
sidebar_position: 2
33
title: Inicio rapido MCP
4-
description: Agrega un servidor MCP HTTP remoto o wrapper stdio con comandos estilo Claude.
4+
description: Agrega un servidor MCP HTTP remoto o servidor stdio con comandos estilo Claude.
55
---
66

77
# Inicio rapido MCP
88

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

1111
## Servidor HTTP remoto
1212

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

31-
## Wrapper Stdio
31+
## Servidor stdio
3232

33-
Para wrappers como `mcp-remote`, coloca el comando subprocess despues de `--`:
33+
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.
3434

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

3939
Luego inspecciona el servidor configurado sin conectarte:
4040

4141
```bash
42-
iac-code mcp get yuque-remote --config-only
42+
iac-code mcp get local-files --config-only
4343
```
4444

4545
## Siguientes pasos

‎website/i18n/fr/docusaurus-plugin-content-docs/current/mcp/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
1717
iac-code mcp auth yuque
1818
```
1919

20-
Pour les wrappers stdio tels que `mcp-remote`, placez la commande subprocess apres `--` :
20+
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.
2121

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

2626
## Configuration Sources
@@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
7171
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
7272
```
7373

74-
Pour les wrappers stdio tels que `mcp-remote`, placez la commande subprocess après `--` :
74+
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.
7575

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

8080
Commandes disponibles :

‎website/i18n/fr/docusaurus-plugin-content-docs/current/mcp/quick-start.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
sidebar_position: 2
33
title: Demarrage rapide MCP
4-
description: Ajouter un serveur MCP HTTP distant ou un wrapper stdio avec des commandes style Claude.
4+
description: Ajouter un serveur MCP HTTP distant ou un serveur stdio avec des commandes style Claude.
55
---
66

77
# Demarrage rapide MCP
88

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

1111
## Serveur HTTP distant
1212

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

31-
## Wrapper Stdio
31+
## Serveur stdio
3232

33-
Pour les wrappers comme `mcp-remote`, placez la commande subprocess apres `--` :
33+
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.
3434

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

3939
Puis inspectez le serveur configure sans connexion :
4040

4141
```bash
42-
iac-code mcp get yuque-remote --config-only
42+
iac-code mcp get local-files --config-only
4343
```
4444

4545
## Etapes suivantes

‎website/i18n/ja/docusaurus-plugin-content-docs/current/mcp/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ iac-code mcp add --transport http yuque https://mcp.example.com/yuque/mcp
1717
iac-code mcp auth yuque
1818
```
1919

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

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

2626
## Configuration Sources
@@ -71,10 +71,10 @@ iac-code mcp add --transport sse events https://mcp.example.com/sse
7171
iac-code mcp add --transport ws realtime wss://mcp.example.com/mcp
7272
```
7373

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

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

8080
利用可能なコマンド:

0 commit comments

Comments
 (0)