mcp_stdio_args

command
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package main demonstrates configuring a stdio MCP server with command-line arguments (Args).

The placeholder command `/bin/sh -c "cat"` is used so the example can run without depending on a real MCP binary being installed — it is enough for codex to load the config and complete the app-server handshake. Replace the Command and Args with a real stdio MCP launcher (for example `npx -y @playwright/mcp@latest`) in practice.

Historical context: before Args were serialized as a TOML inline array, running this example failed with "transport closed while waiting for response" because codex rejected the config with `invalid type: string ..., expected a sequence`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL