> ## Documentation Index
> Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose Between HTTP and stdio

> Decide whether your Redop server should run over HTTP or stdio.

Pick the transport based on how the MCP client will reach your server.

| Use case                                              | Best transport |
| ----------------------------------------------------- | -------------- |
| Hosted network service                                | `http`         |
| Local command launched by the client                  | `stdio`        |
| Inspect with a URL at `/mcp`                          | `http`         |
| Desktop or editor integration that launches a process | `stdio`        |

## Choose HTTP when

* you want a long-running Bun service
* you need a URL clients can connect to
* you want hosted or shared access to the same server

## Choose stdio when

* the client already knows how to launch a local command
* you do not need a network port
* you want the simplest local integration path

## How Redop picks a default

If you call `listen(3000)` or pass a `port` in `listen(...)`, Redop defaults to HTTP. If you omit the port entirely, Redop defaults to stdio unless you set `transport` explicitly.
