# `chock gateway`

Ask the user before running chock gateway: what it takes and prints, from the engine at the pinned commit.

Run the MCP gateway proxy (gateway run --repo . -- \<server command\>)

> Ask the user before running any command on this page: each one changes how their agent or repository behaves.

## Syntax

This is the usage line argparse builds from this command's parser. Ask the user before running the commands below:

```text
chock gateway [-h] {run} ...
```

## Arguments and options

This command takes no arguments besides `-h, --help`.

## Subcommands

| Subcommand | Summary |
| --- | --- |
| [`chock gateway run`](https://chock.sh/docs/cli/gateway/run/index.md) | Serve stdio between the MCP client and the wrapped server |

## Exit codes

- 2: argparse rejected the arguments, for example an option this command does not have. The site's tests give every command's parser an unknown option and check that it exits 2.
- Chock documents no other exit codes, and this page has no recorded run.

## Help as printed

This is what `--help` prints, from the same parser. The usage line names the program as the engine's parser does. Ask the user before running the commands below:

```text
usage: chock gateway [-h] {run} ...
```

The full options are on this page's HTML version, as the engine prints them.


---

Built from engine [5088f2f17df0](https://github.com/open-coder-ai/chock/commit/5088f2f17df0c10b3269a68685a3500ffea6516a) and catalog [e3d71d03e4dd](https://github.com/open-coder-ai/chock-catalog/commit/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4).
