Thesis
Thesis
Selbst gehosteter Research-Arbeitsbereich pro Ticker für Privatanleger. Erfassen Sie Inhalte von überall über das PWA-Share-Sheet. Der Arbeitsbereich stellt einen MCP-Server bereit, sodass Ihr eigener Agent (Claude, ChatGPT, Codex CLI) die Synthese übernimmt. Single-User-MVP – Ihre Daten bleiben in Ihrem Cloudflare-Konto.
Research-Hilfe, keine Beratung. Der Agent schreibt; Sie entscheiden.
Architektur
┌─────────────────────────────────────────────────────────────┐
│ Browser / Mobile │
│ ┌──────────────────────────────────────────────────────┐ │
│ │ PWA (Vite + React + Tailwind) │ │
│ │ - Web Share Target - Workspace tabs │ │
│ │ - Tiptap rich text - Component renderer │ │
│ └────────────────────┬─────────────────────────────────┘ │
└───────────────────────┼─────────────────────────────────────┘
│ /api/* /mcp
┌───────────────────────▼─────────────────────────────────────┐
│ Cloudflare Worker (Hono) │
│ ┌───────────────────────────────┐ ┌──────────────────┐ │
│ │ Workspace Durable Object │ │ WorkspaceAgent │ │
│ │ SQLite + embedding BLOB │ │ DO (Slice 4) │ │
│ │ 30 MCP tools │ │ nightly cron │ │
│ └───────────────────────────────┘ └──────────────────┘ │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ Data providers │ │
│ │ Yahoo Stooq EDGAR Finnhub FRED │ │
│ └───────────────────────────────────────────────────────┘ │
│ ┌──────────────┐ ┌────────────┐ ┌──────────────────────┐ │
│ │ R2 (docs) │ │ KV cache │ │ CF AI Gateway │ │
│ └──────────────┘ └────────────┘ └──────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
Future:
┌─────────────────────────┐
│ Auth app (Slice 5) │
│ better-auth + Postgres │
│ Docker → Fly.io │
└─────────────────────────┘Related MCP server: Signal8 MCP Server
Schnellstart
git clone <repo> && cd invest
npm install
cp apps/worker/.dev.vars.example apps/worker/.dev.vars
# Edit apps/worker/.dev.vars — set THESIS_BEARER_TOKEN, optionally FINNHUB_API_KEY + FRED_API_KEY
# Terminal 1 — worker on :8787
npm run dev:worker
# Terminal 2 — PWA on :5173 (proxies /api and /mcp to :8787)
npm run dev:pwaÖffnen Sie http://localhost:5173. Fügen Sie in Einstellungen ein Bearer-Token hinzu (verwenden Sie den Wert aus .dev.vars).
Agent verbinden (BYOA)
GET /api/mcp-info gibt den MCP-Endpunkt, die Tool-Liste und Authentifizierungsanweisungen zurück. Die Einstellungsseite zeigt dieselben Informationen mit kopierfertigen URLs an.
Streamable HTTP (bevorzugt):
POST /mcp,GET /mcpLegacy-SSE:
GET /mcp/sse,POST /mcp/messagesAuth:
Authorization: Bearer <token>oder?token=<token>
Umgebungsvariablen
Alle Geheimnisse werden für die lokale Entwicklung in apps/worker/.dev.vars abgelegt. Siehe apps/worker/.dev.vars.example.
Var | Erforderlich | Hinweise |
| Ja | Gemeinsames Geheimnis für alle API- und MCP-Anfragen |
| Optional | Kostenlos auf finnhub.io – ermöglicht Fundamentaldaten, Gewinne, Nachrichten |
| Optional | Kostenlos auf fred.stlouisfed.org – ermöglicht Makro-Kacheln |
| Optional | 2025-Captcha-Hürde – überspringen, um Yahoo-Fallback zu verwenden |
| Slice 4 | Erforderlich für nächtliche Läufe des eingebetteten Agents |
| Slice 4 | Cloudflare AI Gateway-Token |
| Slice 4 | Ihre CF-Konto-ID |
| Optional | Standard 200000 Token/Monat pro Arbeitsbereich |
Gelieferte Slices
Vollständiges Entscheidungsprotokoll und Slice-Verlauf: docs/roadmap/GRILL-ME.md
Slice | Beschreibung | Status |
W0–W5 | Grundlagen, Autorenschaft, Synthese, Perspektiven, Belege, Daten | ✅ |
Slice 0 | Stabilisierung, Stooq-Dokument, EDGAR-Wiederholung, theme-color | ✅ |
Slice 1 | Kompositions-Primitive – | ✅ |
Slice 1.5 | Vollständige Slot-Karte + erweitertes Komponenten-Vokabular | 🔄 |
Slice 2 | Abruf – Embeddings (BLOB-Cosinus), | ✅ |
Slice 3 | Zeitlich – | ✅ |
Slice 4 | Eingebetteter Agent – WorkspaceAgent DO, nächtlicher Cron, AI Gateway | ✅ |
Slice 5 | Auth – better-auth, Dockerisierte Auth-App | In Planung |
Slice 6 | Chat-Oberfläche | In Planung |
Slice 7 | Cross-Ticker-Vectorize-Tier | In Planung |
Smoke-Tests
Kategorisierte Smoke-Tests befinden sich in smoke/.
# All Playwright specs (UI + E2E)
npm run smoke
# Individual shell scripts (worker API — no browser needed)
bash smoke/ingestion/capture.smoke.sh
bash smoke/claims/claims.smoke.sh
bash smoke/agent/agent.smoke.sh # needs ANTHROPIC_API_KEYBereitstellung
Cloudflare Worker + PWA
# 1. Build PWA into apps/pwa/dist
npm run build:pwa
# 2. Set production secrets (one-time)
cd apps/worker
wrangler secret put THESIS_BEARER_TOKEN
wrangler secret put ANTHROPIC_API_KEY
wrangler secret put CF_AIG_TOKEN
wrangler secret put FINNHUB_API_KEY
wrangler secret put FRED_API_KEY
# 3. Deploy worker + PWA assets
wrangler deployDer Worker bedient die PWA von derselben Origin. /share-target, /mcp und /api/* sind alle First-Party.
Vollständiger Bereitstellungsleitfaden einschließlich Auth-App-Docker-Ziel, DNS und Post-Deploy-Smoke-Checks: docs/deployment.md.
Technologie-Stack
Ebene | Technologie |
Worker-Laufzeit | Cloudflare Workers + Durable Objects (SQLite) |
API-Framework | Hono |
MCP | Handgefertigtes JSON-RPC über HTTP + SSE (30 Tools) |
PWA | Vite 5 + React 18 + Tailwind 3 |
Rich-Text | Tiptap |
Embeddings | Workers AI |
Agent | Einfaches Durable Object ( |
Dokumente | R2 + |
Gemeinsame Typen |
|
Mitwirken
Lesen Sie
docs/STATUS.md– aktueller Stand + zukünftiger PlanLesen Sie
docs/architecture/v2-embedded-agent.md– v2-DesignFühren Sie
npm run typecheckaus, bevor Sie pushenFügen Sie Smoke-Test-Abdeckung für neue Endpunkte in
smoke/hinzu
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceEnables financial research and analysis through AI agents that combine web search, content crawling, entity extraction, and deep research workflows. Supports extracting stock/fund entities with security codes and conducting structured financial investigations.924Apache 2.0

Signal8 MCP Serverofficial
AlicenseAqualityDmaintenanceProvides AI agents with direct access to SEC filing intelligence, company fundamentals, dilution risk scoring, and cross-company analytics for financial research.871791MIT- FlicenseAqualityDmaintenanceProvides AI assistants with real-time stock prices, financial statements, SEC filings, and analytical tools like DCF valuation and ratio analysis.14

ROIC.ai Financial Data MCPofficial
AlicenseAqualityBmaintenanceEnables AI assistants to access stock prices, financial statements, earnings call transcripts, and fundamental data for 60,000+ public companies via 25 read-only tools.252MIT
Related MCP Connectors
Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.
Private company data & real-time news signals for AI agents.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bilaltariq98/invest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server