> ## 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.

# Create a Project with create-redop-app

> Scaffold a Redop MCP server with transport, schema, component, and deploy presets.

Use `create-redop-app` when you want a working Redop project instead of starting from an empty directory.

## Run the scaffold

```sh theme={null}
bun create redop-app my-redop-app
```

You can also run the CLI directly:

```sh theme={null}
bunx create-redop-app my-redop-app --transport http --deploy railway
```

## Choose your starter shape

The interactive flow asks for:

* project name
* package manager
* schema library (`zod`, `json-schema`, `valibot`, `typebox`)
* starter components (`tools`, `resources`, `prompts`)
* transport (`http` or `stdio`)
* deploy target for HTTP projects

## Generated files

Every starter includes:

* `package.json`
* `tsconfig.json`
* `src/index.ts`
* `README.md`

Depending on the components you choose, the generated `src/index.ts` can include:

* a sample tool
* a sample resource
* a sample prompt

Deploy presets can also add:

* `Dockerfile`
* `fly.toml`
* `vercel.json`

## Generated scripts

* `dev`: `bun run --watch src/index.ts`
* `typecheck`: `tsc --noEmit`

Run the generated app with:

```sh theme={null}
cd my-redop-app
bun install
bun dev
```

## Next

* [Build your first server](/docs/getting-started/first-server)
* [Connect over HTTP](/docs/getting-started/connect-http)
* [Reference: create-redop-app CLI](/docs/reference/create-redop-app-cli)
