.mdeck API on Whop hosting, with OpenAPI and MCP for agents #61
Open
opened 2026-10-15 20:57:10 +00:00 by teahubxyz
·
2 comments
No Branch/Tag Specified
main
gh-pages
well-known-mail
havre/catalog-18-plus-20261024
havre/byok-unfiltered-20261024
time/card-260
modern-havre
uncensor-havre
havre-split-hide
havre-split
havre-model-sort
time/card-244
time/card-223
havre-art-and-snap
havre-remix-edit
havre-voice-in-tools
havre-asmr-mode
havre-update-pill
havre-whisper
claude/card-202-truncated-review-2wh43h
time/card-211
claude/card-198-superseded-cards-p3jqzg
havre-live
havre-open
claude/taskmaster-haggle-checkout-f57aux
havre-memory
havre-photoshoot
havre-workflows
claude/card-173-rank-spine-cards
ceo/sync-back-union
claude/card-171-router-optimization-7t2dp6
claude/router-pick-outcomes-99zcnh
time/card-48
time/card-98
time/card-170
time/card-89
time/card-160
time/card-114-gh-pages
time/card-113-gh-pages
time/card-96-gh-pages
time/card-85
havre-next2
havre-cast
time/card-82
time/card-80
time/card-79
ceo/worker-base-and-slack
time/card-87
time/card-94
chatgpt/parallel-api
time/card-95
time/card-71
mention-ledger-token
astra-board
havre-next
venture/slyng
havre-brutalist
ship-from-repo
time/card-63
time/card-60
time/card-61
No results found.
Labels
Clear labels
accessibility
andon
astra
bug
cloud
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-human
planned
question
queued
ready
signal
signup
spec
venture
venture-batch
wontfix
Barrier affecting people with disabilities
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Further information is requested
Time picks this up on the next heartbeat
👍 = I want the next version
early-access signup for a venture
This will not be worked on
No labels
queued
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: teahubxyz/time#61
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Base: gh-pages
Follow-up to #60. Whop's app hosting runs server code: it keeps runtime logs (console output, exceptions, failed requests) and its hosting guide covers secrets and an injected Whop API key. So .mdeck can have a real API on its whop.site address with no hosting bill for the factory. That makes the
openapiview honest, and the same endpoints can be offered over MCP.Stateless endpoints, nothing stored:
POST /api/link: deck text in, the#d=link out, using the same deflate + base64url recipe as SKILL.md. This is for agents that can't run code.POST /api/html: deck text in, the self-contained HTML file out, the same output as Copy deck as HTML.POST /api/check: deck text in, a per-slide report of which slides will shrink or be cut in two, using the editor's thresholds.GET /openapi.jsondescribing those three, served as the app'sopenapiview./mcp(streamable HTTP) exposing the same three as tools:make_deck_link,deck_to_html,check_deck.openapiview wait for the operator's OK on the Whop previews.Depends on #60
DONE: PR open against gh-pages; the three endpoints, /openapi.json and /mcp pass their tests locally; API output matches the page's for the test decks; CI green.
⏱️ Time: Claude Sonnet (Anthropic) is working on this now, on branch
time/card-61.⏱️ Time: the worker call failed:
sonnet stopped without a PR after 43 steps: I'm proceeding with option (a) from my last message. Before writing code, I'll read the two page pieces I haven't seen yet.. Comment/time retryto try again.