Building a Real-time Chat App (Github MCP + Railway )
Overview
This video shows how to go from idea → working web app → production deployment, all inside Warp. The project: a real-time chat application built with Python (FastAPI) and a JavaScript frontend, deployed through Railway, and integrated with GitHub via MCP (Model Context Protocol).
Setup & Installation
Once you open Warp, you’ll see three core modes:
Auto Mode – Detects whether you’re typing a command or an AI prompt
Terminal Mode – For standard shell commands only (
ls,pwd, etc.)Agent Mode – For conversational AI prompts (
build me an app,add feature X, etc.)
You can switch modes using the top-bar buttons.
Pro tip: Enable voice input for natural prompting or attach screenshots when debugging UI issues.
Create a Development Plan
Prompt:
Warp’s agent generated a plan for:
A frontend (UI for chat rooms and messages)
A backend (FastAPI server for real-time communication)
Database integration and planned deployment steps
You can refine or expand the plan interactively by prompting:
And get back something like this:
At any point, you can go into the plan and start directly modifying it. And when you're ready, you can tell Warp to:
Allow Autonomous Execution
Once Warp starts executing, you can let Warp run commands automatically:
Go to Settings → AI → Agents
Change “Always Ask” → “Always Allow”
Ensure restricted commands (e.g.,
rm -rf) remain blocked
This enables autonomous execution for safe, fast iteration. Warp will run shell commands, create directories, initialize files, and write code.
Running the App
First, you can click into any file, like main.py to edit it directly in Warp. Warp displays your file directly in the app for easy editing, similar to any regular IDE experience.

You can also ask Warp to run the app and test locally:
It's possible (like in the video) for an error to occur (e.g., Internal Server Error). If that happens, y you can simply debug conversationally:
And Warp can fix the issue and rerun the app automatically.
Preparing for Deployment
Warp integrates directly with version control and cloud deployers via MCP servers.
Connect GitHub MCP:
Go to Settings → AI → MCP Servers → Add
Add a JSON block for GitHub MCP:
Generate a GitHub personal access token (Settings → Developer Settings → Tokens)
Enable scopes for:
repo,workflow,secrets,pull_request, andenvironments.
Save and restart Warp.
Then tell the agent:
Warp uses Git commands automatically:
Appendix
Last updated
Was this helpful?