mcp_stdio_args

command
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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