Microtoll Engine

v0.1.3
io.github.microtoll/mcp Checked 1 day ago Published 1 month ago

Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

microtoll_search_docs Search the Microtoll Engine documentation

Full-text search over the Microtoll Engine documentation (the same pages as microtoll.dev, shipped inside this package). Returns pages, sections and excerpts; read a page with microtoll_read_doc.

ParameterTypeDescription
query *stringWhat to look for, in words.
limitinteger

microtoll_read_doc Read a Microtoll Engine documentation page

One documentation page as Markdown: the `path` from a search result (for example "packages/access.html") or from https://microtoll.dev/llms.txt.

ParameterTypeDescription
path *string

microtoll_scaffold Create a new app from the notes starter

Writes the notes starter (an end-to-end-encrypted notes app on Microtoll Engine: client, page, Compose file, nginx, README) into an EMPTY directory, with the namespace and origin filled in. Writes files and nothing else: no commands run, no network. The next steps (npm install, docker compose up) are returned for the person to run.

ParameterTypeDescription
directory *stringWhere to write the app: an empty or not-yet-existing directory.
namestringThe app's name (a-z, 0-9, "-"); default: the namespace.
namespacestringThe app's crypto namespace (a-z, 0-9, "-"); used by the client and the server alike. Default "myapp".
originstringThe web origin the app runs at, for example http://localhost:8088. Default http://localhost:8088.