pocketnook
v0.1.0Deploy repositories or local folders to private Pocketnook URLs from any MCP client.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
deploy
Deploy a GitHub repository to a private pocketnook URL and return that URL. With no arguments it deploys the repository the current directory belongs to. pocketnook clones the tip of the default branch from GitHub, so uncommitted or unpushed work is not included — the result says so when that is the case. Redeploying the same repository reuses its existing nook and URL.
| Parameter | Type | Description |
|---|---|---|
directory | string | Working copy to read the remote from. Defaults to the current directory. |
repo | string | The repository to deploy, as "owner/repo" or a GitHub URL. Omit to use the current directory’s origin remote. |
deploy_directory
Deploy a directory exactly as it is on this machine to a private pocketnook URL, with no git repository required — this uploads the files from disk, including uncommitted work. Use this when there is no repository, or when the local files are what should be deployed; use `deploy` to build what is pushed to GitHub instead. Everything in the directory is sent apart from node_modules, .git and build caches, so any credentials sitting in it go too. Deploying the same nook name again replaces what is there.
| Parameter | Type | Description |
|---|---|---|
directory | string | The project directory to upload. Defaults to the current directory. |
name | string | The nook to deploy to. Deploying the same name again updates that nook. Defaults to the directory name. |
list_nooks
List the nooks this account has deployed: name, URL, status, and whether each is private or link-visible. Reads only — it changes nothing.
nook_logs
Show the build output for a nook — the first thing to read when a deploy failed or produced the wrong thing. Reads only — it changes nothing.
| Parameter | Type | Description |
|---|---|---|
nook * | string | A nook id, or the repository name like owner/repo. |
lines | number | How many trailing lines to show. Default 30. |
stop_nook
Stop serving a nook. The URL, its grants, and its secrets are kept, so deploying again brings it back.
| Parameter | Type | Description |
|---|---|---|
nook * | string | A nook id, or the repository name like owner/repo. |