This guide explains how to configure environment variables and start both the server and client applications.
From the project root (mcp_census_server/
), run the helper script:
chmod +x start.sh
./start.sh
Follow the prompts to enter:
http://localhost:8000
)This script will:
.env
in the server folder.env.local
in the client foldercd mcp_census_server
cp .env.example .env
# Edit .env → set CENSUS_API_KEY and SERVER_API_KEY
pip install -r requirements.txt
uvicorn app:app --host 0.0.0.0 --port 8000 --reload
cd client
cp .env.example .env.local
# Edit .env.local → set OPENAI_API_KEY, MCP_SERVER_URL, SERVER_API_KEY
npm install
npm run dev
Then open http://localhost:3000 in your browser.