mcp

v0.3.0
@ebi5/mcp Checked 1 day ago Published 4 months ago

MCP 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.

ParameterTypeDescription
files *objectrelative path -> file contents
name *stringDisplay name shown in the portal
slug *stringURL-safe app id, e.g. 'world-cup'
capabilityPacksarrayMinimum reviewed portal capabilities this mini app uses; [] means core store/log/wish only
changelogstringOne short user-facing sentence describing what this push changed
iconstringEmoji shown on the portal tile, e.g. '⚽'
netobject
widgetobject

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.

ParameterTypeDescription
slug *string
descriptionstringShort blurb shown in the gallery (max 500 chars)

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.

ParameterTypeDescription
gotify_tokenstringGotify application token
gotify_urlstringe.g. https://gotify.example.com
ntfy_tokenstringBearer token if the ntfy server needs auth
ntfy_topicstring
ntfy_urlstringe.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.

ParameterTypeDescription
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.

ParameterTypeDescription
code *string8-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.

ParameterTypeDescription
slug *string
heightnumberviewport height, default 844
widthnumberviewport 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.

ParameterTypeDescription
name *stringlowercase [a-z0-9_-], e.g. 'todoist'
value *stringthe 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.

ParameterTypeDescription
action *string
watchesarray

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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
actionstring
idstringwish 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.

ParameterTypeDescription
action *string
wishesarray

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.

ParameterTypeDescription
body *string
slug *string
title *string
atstringISO timestamp for scheduled delivery (first occurrence when `every` is set)
everystringrepeat after `at`, forever (morning briefs, habit reminders)