l8bin-mcp 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +18 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,6 +21,12 @@ Claude Code one-liner:
21
21
  claude mcp add litebin -- npx -y l8bin-mcp
22
22
  ```
23
23
 
24
+ Codex:
25
+
26
+ ```sh
27
+ codex mcp add l8bin -- npx -y l8bin-mcp
28
+ ```
29
+
24
30
  ## How it works
25
31
 
26
32
  This package is a thin shim: it runs `l8b mcp` (the MCP server ships inside the
@@ -31,23 +37,22 @@ to point at a specific binary.
31
37
 
32
38
  ## Getting started
33
39
 
34
- 1. **A server running LiteBin** — one command on any VPS with Docker:
40
+ 1. **Register the server** in your `.mcp.json` (snippet above) and reload the
41
+ client. Don't have a LiteBin server yet? One command on any VPS with Docker:
35
42
  `curl -fsSL https://l8b.in | bash` ([quickstart](https://l8bin.com/quickstart))
36
- 2. **Authenticate** — tell your agent *"set up litebin mcp"*, or run it yourself:
37
-
38
- ```sh
39
- npx -y l8bin-mcp # first run fetches l8b (also verifies the download)
40
- l8b login --server https://your-l8bin.example.com --pair
41
- ```
42
-
43
- A short code prints; approve it at `/connect` in your dashboard and pick the
44
- token scope. Agents can run the pairing themselves and relay the code.
43
+ 2. **Call the `setup` tool** with no arguments and follow its `state` + `next`:
44
+ give it your server URL, open the `approval_url` it returns, approve in the
45
+ dashboard (you pick the token scope), then call it again with
46
+ `complete: true`. Auth is stored and the workspace `l8b.toml` is bound —
47
+ no CLI install, no terminal login. Manual alternative:
48
+ `l8b login --server https://your-l8bin.example.com --pair`.
45
49
 
46
50
  ## Tools
47
51
 
48
- 14 tools over one stdio server: `deploy`, `status` (wait/healthy), `list`,
49
- `logs`, `env_list`, `env_push`, `url`, `stop`, `start`, `restart`,
50
- `domain_set`, `domain_remove`, `delete` (confirm-gated), `doctor`.
52
+ 15 tools over one stdio server: `setup` (auth + workspace binding — the
53
+ onboarding entry point), `deploy`, `status` (wait/healthy), `list`, `logs`,
54
+ `env_list`, `env_push`, `url`, `stop`, `start`, `restart`, `domain_set`,
55
+ `domain_remove`, `delete` (confirm-gated), `doctor`.
51
56
 
52
57
  Tokens are scoped (`read → deploy → manage → admin`, optionally locked to one
53
58
  project), secrets are write-only, and everything is revocable and audited.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l8bin-mcp",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "l8bin (pronounced LiteBin) MCP server — deploy and operate your self-hosted projects from any MCP client. Wraps the l8b CLI, installing the platform binary on first use.",
5
5
  "type": "module",
6
6
  "license": "MIT",