### Install Dependencies and Start Local App Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md Installs project dependencies using pnpm and starts the local development server. Assumes Node.js dependencies are managed by asdf. ```bash asdf install pnpm install pnpm dev ``` -------------------------------- ### Copy Environment File Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md Copies the example environment file to .env and prompts for credential updates. This is the first step for running the app locally. ```bash cp .env.example .env # Edit with your values ``` -------------------------------- ### Start Local Services for Persistence Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md Starts required local services, such as databases, using Docker Compose. This is necessary for enabling chat persistence. ```bash docker compose up -d ``` -------------------------------- ### Run Database Migrations Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md Applies database migrations to set up the persistence layer. Requires the POSTGRES_URL environment variable to be set. ```bash POSTGRES_URL=postgresql://postgres@localhost:5432/postgres pnpm db:migrate ``` -------------------------------- ### Default .env Configuration for Local Development Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md Shows default settings in the .env file that disable authentication and persistence for easier local development. Modify these to enable features. ```bash # In your .env file DISABLE_AUTH=true DISABLE_PERSISTENCE=true ``` -------------------------------- ### Deploy MCP Chat to Vercel Source: https://github.com/pipedreamhq/mcp-chat/blob/main/README.md One-click deployment of the MCP Chat app to Vercel. Ensure all required environment variables are configured. ```bash https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FPipedreamHQ%2Fmcp-chat&env=PIPEDREAM_CLIENT_ID,PIPEDREAM_CLIENT_SECRET,PIPEDREAM_PROJECT_ID,PIPEDREAM_PROJECT_ENVIRONMENT,AUTH_SECRET,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,OPENAI_API_KEY,EXA_API_KEY,POSTGRES_URL&envDescription=API%20keys%20need%20to%20run%20the%20app ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.