A ChatGPT-style chat interface that connects to MCP (Model Context Protocol) servers, giving your AI access to external tools.
Add your OpenAI API key in Environment Variables:
OPENAI_API_KEYOpen the app and click "New Chat"
Add MCP servers via the settings (gear icon)
Click the settings button at the bottom of the sidebar to manage MCP servers.
Each server needs:
| Name | URL | Auth | Description |
|---|---|---|---|
| dice | https://dicemcp.val.run | - | Roll dice, flip coins |
| fatebook | https://fatebookmcp.val.run | FATEBOOK_API_KEY | Track predictions |
To use the fatebook server:
FATEBOOK_API_KEY to your environment variablesFATEBOOK_API_KEYFor MCP servers that require authentication:
MY_SERVICE_KEY)MY_SERVICE_KEY in the "Auth env key" fieldAuthorization: Bearer <value> to requestsSee dcm31/mcp-dice for a minimal example of building MCP servers that work with this chat client.
main.ts - HTTP handler and API routesdb.ts - SQLite database operationsui.tsx - React-style UI components