Thanks for helping. Keep changes small and testable.
cd brief-desk
cp .env.example .env.local
# Set OPENAI_API_KEY (Groq) and optional GITHUB_TOKEN
npm install
cd backend && uv sync && cd ..
npm run dev- UI: http://localhost:3000
- MCP health: http://127.0.0.1:3108/health
| Path | Role |
|---|---|
app/ |
Next.js UI (chat, controls, theme) |
lib/ |
brief-run pipeline, MCP client, prompts |
backend/ |
Python MCP Streamable HTTP server |
backend/src/brief_desk_mcp/discover.py |
Trending, repo search, releases, security |
mcp/corpus/ |
Bundled sample docs |
prompts/ |
System / route prompt files |
New MCP tools go in backend/, get registered in server.py TOOLS, and should show up on /health.
npm test
npm run typecheckPython-only: npm run test:mcp:py
- Prefer the deterministic
/api/brief-runpath for panel demos. Free-form chat uses CopilotKit + MCP tools. - Do not add a separate workspace/corpus package. Corpus lives in
mcp/corpus/. - Match existing TypeScript and Python style. Skip drive-by refactors.
- English commit messages and PR descriptions.
- Vercel: Next.js app. Set
MCP_URLto the Render MCP endpoint (…/mcp). - Render: use the root
Dockerfileso/healthreports"runtime":"python"and the current package version.
MIT. By contributing you agree your changes are under the same license.