Endpoint: https://app.hosai.app/api/mcp (Streamable HTTP, OAuth 2.1 with dynamic client registration). Scopes: openid profile email offline_access.
Projects you can publish to, across all your workspaces. No arguments.
| Argument |
Type |
Notes |
name |
string |
Required, up to 120 characters |
description |
string |
Optional |
team_id |
string |
Optional; defaults to your first workspace’s first team |
Upload a standalone HTML file. Without prototype_id it creates a prototype; with it, it adds the next version. Returns the review link for the prototype and for the new version.
| Argument |
Type |
Notes |
html |
string |
Required. The complete document, up to 5 MB |
title |
string |
Required for a new prototype |
description |
string |
What it is; used in the handoff |
note |
string |
What changed in this version |
prototype_id |
string |
Publish a new version of this prototype |
project_id |
string |
Where to file a new prototype |
project_name |
string |
Used when project_id is omitted; created if missing |
| Argument |
Type |
Notes |
project_id |
string |
Optional |
query |
string |
Optional; matches title and description |
Details and all versions. Set include_html to get a version’s HTML.
| Argument |
Type |
Notes |
prototype_id |
string |
Required |
version_id |
string |
Defaults to the latest |
include_html |
boolean |
Default false |
Threaded comments. Each includes the element it points at (selector and text) and URLs for the frozen DOM snapshot and screenshot, which the agent can fetch with its MCP token.
| Argument |
Type |
Notes |
prototype_id |
string |
Required |
version_id |
string |
Only comments on this version |
include_resolved |
boolean |
Default false |
| Argument |
Type |
Notes |
comment_id |
string |
Required |
reply |
string |
Optional; explain the fix |
The approved (or latest) version’s HTML, its description and all review feedback with resolutions.
| Argument |
Type |
Notes |
prototype_id |
string |
Required |
version_id |
string |
Optional; overrides the approved version |
Turn a prototype’s public link on or off. Anyone with the link can view the prototype without a Hosai account. Returns the link and its settings. Assistants only call this when you ask to share publicly.
| Argument |
Type |
Notes |
prototype_id |
string |
Required |
enabled |
boolean |
Default true; false turns the link off |
comment_mode |
"off", "signed_in" or "anyone" |
Who can comment. Default "off" (view only) |
version_id |
string or null |
Pin one version; omit or null to always show the latest |