io.github.contactxyz-admin/morningform

Registre officiel Outils de développement

stdio MCP proxy for MorningForm — bridges Claude Code to MorningForm HTTPS MCP server.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package @morningform/mcp
Claude Code
claude mcp add morningform -e 'MORNINGFORM_TOKEN=<your morningform_token>' -e 'MORNINGFORM_URL=<MORNINGFORM_URL>' -- npx -y @morningform/mcp@0.1.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "morningform": {
            "command": "npx",
            "args": [
                "-y",
                "@morningform/mcp@0.1.0"
            ],
            "env": {
                "MORNINGFORM_TOKEN": "<your morningform_token>",
                "MORNINGFORM_URL": "<MORNINGFORM_URL>"
            }
        }
    }
}

Variables d'environnement

  • MORNINGFORM_TOKEN obligatoire secret Bearer token issued from https://morning-form.vercel.app/settings/integrations/claude
  • MORNINGFORM_URL Server endpoint override. Defaults to the production MorningForm host. Only override for local dev — controls where your bearer token is sent.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. Morning Form
  2. Local development
  3. Current branch workflow
  4. Health integrations
  5. Metrics
  6. Retest loop
  7. Retrieval

Morning Form

Morning Form is a premium mobile-first state-optimization web app covering assessment, profile generation, protocol recommendation, daily guidance, check-ins, insights, and wearable integrations.

Local development

cd /Users/reubenselby/Desktop/morning-form
npm install
npx prisma db push
npm run db:seed
npm run dev

App URL:

http://localhost:3000

Demo user seeded locally:

demo@morningform.com

Current branch workflow

  • main: built MVP
  • feat/real-health-oauth: review branch for real provider connection wiring

Open PR:

https://github.com/contactxyz-admin/morning-form/pull/1

Health integrations

Morning Form currently supports:

  • Terra-backed Apple Health and Garmin connection flow
  • Direct OAuth scaffolding for Whoop, Oura, Fitbit, and Google Fit
  • persisted provider connections via Prisma
  • callback routes and token exchange when credentials are configured
  • graceful mock fallback when credentials are absent

Detailed provider setup lives in:

docs/HEALTH_PROVIDER_SETUP.md

Metrics

Retest loop

The retest loop (off by default, behind RETEST_LOOP_ENABLED) runs the "return leg": a lab panel completes a Draw, the next retest is scheduled, a daily Vercel cron (/api/cron/retest-nudge, gated by CRON_SECRET) sends a capped nudge sequence, and retention-to-retest is measured (nudge-attributed = loop-caused). The metrics CLI above appends a retest-retention section when the flag is on. Backfill existing users (run dark, before the flip): npx tsx scripts/retest/backfill-baseline-draws.ts (dry run) then --apply. Tunables live in src/lib/retest/constants.ts. See docs/runbooks/retest-loop-go-live.md and docs/plans/2026-06-17-001-feat-return-leg-retest-loop-plan.md.

Retrieval

Hybrid retrieval is enabled when an embedding provider is configured. It embeds only SourceChunk.text, stores one VectorEmbedding per chunk, and keeps search_graph_nodes on the same public contract while ranking with vector + lexical + graph RRF. Set HYBRID_RETRIEVAL_ENABLED=false to roll back to legacy lexical/graph behavior.

Production rollout:

npx prisma generate
npx prisma db push
npx tsx scripts/backfill-embeddings.ts --dry-run --estimate
npx tsx scripts/backfill-embeddings.ts --batch 80

See docs/runbooks/hybrid-retrieval-production.md and docs/runbooks/backfill-embeddings.md.

Questions fréquentes

Qu'est-ce que io.github.contactxyz-admin/morningform ?

stdio MCP proxy for MorningForm — bridges Claude Code to MorningForm HTTPS MCP server.

Comment installer io.github.contactxyz-admin/morningform ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add morningform -e 'MORNINGFORM_TOKEN=<your morningform_token>' -e 'MORNINGFORM_URL=<MORNINGFORM_URL>' -- npx -y @morningform/mcp@0.1.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.contactxyz-admin/morningform ?

Oui. Il attend MORNINGFORM_TOKEN, à renseigner dans sa configuration.

io.github.contactxyz-admin/morningform est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient io.github.contactxyz-admin/morningform ?

Il est publié par contactxyz-admin. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.