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

# Deploy the Response ChatGPT App

> Use StateSet Deploy to ship the ChatGPT widget + MCP server.

# Deploy the Response ChatGPT App

Use StateSet Deploy to build and host the Response ChatGPT app and MCP server on managed Kubernetes.

## 1) Add a Deploy Button

Add a deploy button to your repository README:

```markdown theme={null}
[![Deploy to StateSet](https://deploy.stateset.cloud.stateset.app/button.svg)](https://deploy.stateset.cloud.stateset.app/deploy?repo=YOUR_ORG/YOUR_REPO)
```

## 2) (Optional) Add `stateset.yaml`

Create a `stateset.yaml` in the repo root to configure build/runtime:

```yaml theme={null}
name: stateset-response-chatgpt-app
description: Response ChatGPT widget + MCP server

build:
  dockerfile: Dockerfile
  context: .

runtime:
  port: 3030
  health_check: /health
  readiness_check: /ready
```

## 3) Deploy

Click the deploy button, authenticate with GitHub, and wait for the build to finish.

Your app will be available at:

```
https://{app-name}.{slug}.cloud.stateset.app
```

## 4) Connect ChatGPT

Use the app URL as your MCP SSE endpoint in ChatGPT:

* `https://{app-name}.{slug}.cloud.stateset.app/mcp`

## Related Documentation

* [Response ChatGPT App Guide](/stateset-response-chatgpt-guide)
* [StateSet Deploy](/stateset-deploy/README)
