Skip to main content

Response ChatGPT App Guide

This guide walks through building the widget, running the MCP server, and connecting it to ChatGPT.

1) Build the widget assets

The build emits stateset-response.html/js/css inside assets/.

2) Run the MCP server

Without credentials, the server uses sample data for local testing.

3) Expose the MCP server

Use a tunnel to expose the SSE endpoint:
The endpoint becomes <public-url>/mcp.

4) Add the connector in ChatGPT

  1. Open ChatGPT → Settings → Developer Mode → Connectors.
  2. Click Add connector, choose MCP via SSE.
  3. Name it Stateset Response.
  4. Paste <public-url>/mcp as the endpoint.
  5. Save and confirm the connector is online.

5) Test the app

Troubleshooting

  • Re-run pnpm run build if assets are missing.
  • Verify the tunnel is reachable and SSE is stable.
  • Confirm API credentials when using live data.