mcp
v0.3.0MCP server for ebi5 — your coding agent pushes little apps straight to your phone.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
push_app
Push (create or update) a mini-app to the user's ebi5 portal. files maps relative paths to UTF-8 contents; entry point must be index.html. Always summarize the user-visible change in changelog and declare the minimum capabilityPacks used. Packs: connected (ebi5.fetch; requires net), attention (notifications/badge), home-screen (widget; requires widget), sharing (share/open), voice (ebi5.speak TTS), location (geolocation), camera (ebi5.camera photo capture), microphone (ebi5.listen voice input). Core store/log/wish need no pack.
| Parameter | Type | Description |
|---|---|---|
files * | object | relative path -> file contents |
name * | string | Display name shown in the portal |
slug * | string | URL-safe app id, e.g. 'world-cup' |
capabilityPacks | array | Minimum reviewed portal capabilities this mini app uses; [] means core store/log/wish only |
changelog | string | One short user-facing sentence describing what this push changed |
icon | string | Emoji shown on the portal tile, e.g. '⚽' |
net | object | |
widget | object |
publish_app
Publish one of the user's mini-apps to the ebi5 gallery so others can install ('remix') it. Gallery is an opt-in server feature; on self-hosted instances without it this returns 404.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
description | string | Short blurb shown in the gallery (max 500 chars) |
gallery
List published apps in the ebi5 gallery (installable templates). 404 = gallery not enabled on this server.
install_from_gallery
Install a published gallery app into the user's portal. Pass `as` to install under a different slug if the original is taken.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
as |
set_transports
Configure server-side notification delivery for ebi5 (ntfy and/or Gotify). Agent-originated and scheduled notifications are delivered through these; sends a test notification on save. For ntfy, https://ntfy.sh with a unique topic works with zero setup.
| Parameter | Type | Description |
|---|---|---|
gotify_token | string | Gotify application token |
gotify_url | string | e.g. https://gotify.example.com |
ntfy_token | string | Bearer token if the ntfy server needs auth |
ntfy_topic | string | |
ntfy_url | string | e.g. https://ntfy.sh or a self-hosted instance |
logs
Fetch recent console output and JS errors from a mini-app (captured when the user runs it in the portal). Use after pushing to debug what actually happened on the phone.
| Parameter | Type | Description |
|---|---|---|
slug * | string |
pair
Link this agent to the user's ebi5 account with a pairing code (web portal → ⚙ Settings → Pair a device). Claims the one-time code, saves a token to ~/.config/ebi5/token, and uses it for this session — no manual token setup needed.
| Parameter | Type | Description |
|---|---|---|
code * | string | 8-letter pairing code, valid ~10 minutes |
screenshot
See what a mini-app actually looks like: returns a phone-viewport screenshot of the live app. Use after push_app to check your layout before telling the user it's done. 404 = not available on this server.
| Parameter | Type | Description |
|---|---|---|
slug * | string | |
height | number | viewport height, default 844 |
width | number | viewport width, default 390 (phone); use ~1440 for desktop checks |
set_secret
Store a secret (API key/token) in the user's ebi5 vault, server-side. Mini-apps never see the value: declare net.secrets on push_app ({"Header-Name": "secret-name"}) and the proxy injects it. Ask the USER to provide the value — never invent or reuse credentials.
| Parameter | Type | Description |
|---|---|---|
name * | string | lowercase [a-z0-9_-], e.g. 'todoist' |
value * | string | the full header value, e.g. 'Bearer abc123' |
watches
Personal sentinels and warm-data jobs. action=list to view; action=set REPLACES the full list (max 20). Kinds: json (path+op+value), contains (needle), changed (content change), store (fetch through the app's declared net.origins and save a response envelope to ebi5.store). store requires slug+storeKey, has a 60-minute floor and max 8/account; notifyOnChange optionally pings when data changes. Other watches have a 5-minute floor. Optional slug+badge updates a tile when a sentinel fires.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
watches | array |
rollback
Undo the most recent push of a mini-app (restores the previous version snapshot). Use when an update broke something and the fix isn't quick.
| Parameter | Type | Description |
|---|---|---|
slug * | string |
webhook
Mint (or fetch) an app's inbound webhook URL. Anything can POST to it; the payload lands in the app's store as 'hook-last' (+ 'hook-log' ring). '?notify=Title' pings the phone; '?badge=3' updates the portal tile and '?badge=' clears it. Great for GitHub Actions, Home Assistant automations, cron emails.
| Parameter | Type | Description |
|---|---|---|
slug * | string |
wishes
List every open 🪄 wish the user (or their household) filed inside mini-apps, or mark one granted after shipping it. Check at session start; list results include the id needed by action=grant.
| Parameter | Type | Description |
|---|---|---|
action | string | |
id | string | wish id returned by action=list; required for action=grant |
standing_wishes
Recurring tasks for YOU (the agent), queued server-side for the next connected agent session. On schedule the platform files a 🪄 wish into the same inbox the wishes tool reads; it does not run an agent in the background. Do the task, then grant that inbox entry — the schedule stays until removed here. action=set REPLACES the full list (max 8); keep ids from action=list to preserve existing schedules.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
wishes | array |
checkup
Fleet gardener: one cross-app health digest for the account — console errors per app (last 24h), failing or overdue watches, notification transport failures, open wishes, and the standing-wish schedule. Call once per session and act on the hints (fix what you can, tell the user the rest). Empty hints = all healthy. Rate-limited to 12/hour.
list_apps
List the user's ebi5 mini-apps.
notify
Send (or schedule) a push notification to the user's phone, server-side via their configured transports (FCM/ntfy/Gotify). If the response includes a hint about missing transports, relay it to the user.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
slug * | string | |
title * | string | |
at | string | ISO timestamp for scheduled delivery (first occurrence when `every` is set) |
every | string | repeat after `at`, forever (morning briefs, habit reminders) |