@eliottd/kleap 1.1.0 → 1.1.2
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.
- package/README.md +10 -10
- package/kleap-mcp-server.mjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,16 +48,16 @@ That's it — same 17 tools, no API key. Skip straight to step 3.
|
|
|
48
48
|
Prefer a local stdio process? Sign in once — no key to generate or paste:
|
|
49
49
|
|
|
50
50
|
```
|
|
51
|
-
npx kleap auth login
|
|
51
|
+
npx @eliottd/kleap auth login
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
This opens your browser, you authorize Kleap, and the token is saved to
|
|
55
|
-
`~/.kleap/config.json`. After that, `npx -y kleap` just works. (`kleap auth
|
|
55
|
+
`~/.kleap/config.json`. After that, `npx -y @eliottd/kleap` just works. (`kleap auth
|
|
56
56
|
logout` / `kleap auth status` are there too.) Then add a keyless stdio entry to
|
|
57
57
|
your client, e.g. Claude Desktop `claude_desktop_config.json`:
|
|
58
58
|
|
|
59
59
|
```json
|
|
60
|
-
{ "mcpServers": { "kleap": { "command": "npx", "args": ["-y", "kleap"] } } }
|
|
60
|
+
{ "mcpServers": { "kleap": { "command": "npx", "args": ["-y", "@eliottd/kleap"] } } }
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
---
|
|
@@ -79,7 +79,7 @@ MCP / API access → Generate MCP key** (`kleap_live_sk_...`).
|
|
|
79
79
|
"mcpServers": {
|
|
80
80
|
"kleap": {
|
|
81
81
|
"command": "npx",
|
|
82
|
-
"args": ["-y", "kleap"],
|
|
82
|
+
"args": ["-y", "@eliottd/kleap"],
|
|
83
83
|
"env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -95,7 +95,7 @@ MCP / API access → Generate MCP key** (`kleap_live_sk_...`).
|
|
|
95
95
|
"mcpServers": {
|
|
96
96
|
"kleap": {
|
|
97
97
|
"command": "npx",
|
|
98
|
-
"args": ["-y", "kleap"],
|
|
98
|
+
"args": ["-y", "@eliottd/kleap"],
|
|
99
99
|
"env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -107,7 +107,7 @@ MCP / API access → Generate MCP key** (`kleap_live_sk_...`).
|
|
|
107
107
|
<summary><b>Claude Code</b> — one command</summary>
|
|
108
108
|
|
|
109
109
|
```bash
|
|
110
|
-
claude mcp add kleap -e KLEAP_API_KEY=kleap_live_sk_... -- npx -y kleap
|
|
110
|
+
claude mcp add kleap -e KLEAP_API_KEY=kleap_live_sk_... -- npx -y @eliottd/kleap
|
|
111
111
|
```
|
|
112
112
|
</details>
|
|
113
113
|
|
|
@@ -119,7 +119,7 @@ claude mcp add kleap -e KLEAP_API_KEY=kleap_live_sk_... -- npx -y kleap
|
|
|
119
119
|
"mcpServers": {
|
|
120
120
|
"kleap": {
|
|
121
121
|
"command": "npx",
|
|
122
|
-
"args": ["-y", "kleap"],
|
|
122
|
+
"args": ["-y", "@eliottd/kleap"],
|
|
123
123
|
"env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
|
|
124
124
|
}
|
|
125
125
|
}
|
|
@@ -135,7 +135,7 @@ claude mcp add kleap -e KLEAP_API_KEY=kleap_live_sk_... -- npx -y kleap
|
|
|
135
135
|
"mcpServers": {
|
|
136
136
|
"kleap": {
|
|
137
137
|
"command": "npx",
|
|
138
|
-
"args": ["-y", "kleap"],
|
|
138
|
+
"args": ["-y", "@eliottd/kleap"],
|
|
139
139
|
"env": { "KLEAP_API_KEY": "kleap_live_sk_..." }
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -150,7 +150,7 @@ Add the hosted connector at **`https://kleap.co/api/mcp`** and authorize with
|
|
|
150
150
|
OAuth (or paste your `kleap_live_sk_` key). Same tools, no install.
|
|
151
151
|
</details>
|
|
152
152
|
|
|
153
|
-
> Every stdio config is identical — `npx -y kleap` + a `KLEAP_API_KEY` env var —
|
|
153
|
+
> Every stdio config is identical — `npx -y @eliottd/kleap` + a `KLEAP_API_KEY` env var —
|
|
154
154
|
> so any MCP client works.
|
|
155
155
|
|
|
156
156
|
**Least-privilege keys:** when you generate a key, pick a scope — **Read-only**
|
|
@@ -246,7 +246,7 @@ ChatGPT (hosted connector), and others.
|
|
|
246
246
|
Node ≥ 18. Run it directly:
|
|
247
247
|
|
|
248
248
|
```bash
|
|
249
|
-
KLEAP_API_KEY=kleap_live_sk_... npx -y kleap
|
|
249
|
+
KLEAP_API_KEY=kleap_live_sk_... npx -y @eliottd/kleap
|
|
250
250
|
# → [kleap-mcp] ready (stdio) → https://kleap.co. Tools: list_apps, ...
|
|
251
251
|
```
|
|
252
252
|
|
package/kleap-mcp-server.mjs
CHANGED
|
@@ -181,7 +181,7 @@ async function authLogin() {
|
|
|
181
181
|
};
|
|
182
182
|
writeConfig(cfg);
|
|
183
183
|
console.error(
|
|
184
|
-
"[kleap] Signed in. Token saved to ~/.kleap/config.json — `npx kleap` now works with no API key.",
|
|
184
|
+
"[kleap] Signed in. Token saved to ~/.kleap/config.json — `npx @eliottd/kleap` now works with no API key.",
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
async function refreshIfNeeded(cfg) {
|
|
@@ -624,7 +624,7 @@ if (cmd[0] === "auth") {
|
|
|
624
624
|
if (sub === "status") {
|
|
625
625
|
const t = await resolveToken();
|
|
626
626
|
if (!t) {
|
|
627
|
-
console.error("[kleap] Not signed in. Run `npx kleap auth login`.");
|
|
627
|
+
console.error("[kleap] Not signed in. Run `npx @eliottd/kleap auth login`.");
|
|
628
628
|
process.exit(1);
|
|
629
629
|
}
|
|
630
630
|
console.error(
|
|
@@ -642,7 +642,7 @@ if (cmd[0] === "auth") {
|
|
|
642
642
|
AUTH_TOKEN = await resolveToken();
|
|
643
643
|
if (!AUTH_TOKEN) {
|
|
644
644
|
console.error(
|
|
645
|
-
"[kleap-mcp] Not signed in. Run `npx kleap auth login` (opens your browser, no API key needed),\n" +
|
|
645
|
+
"[kleap-mcp] Not signed in. Run `npx @eliottd/kleap auth login` (opens your browser, no API key needed),\n" +
|
|
646
646
|
" or set KLEAP_API_KEY=kleap_live_sk_... (https://kleap.co/settings/api-key).",
|
|
647
647
|
);
|
|
648
648
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eliottd/kleap",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Website infrastructure for AI agents. Drive Kleap from any MCP client (Claude, ChatGPT, Cursor) — create, edit and publish real websites, with the verified-live guarantee.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|