@peppermint-mcp/wizard 0.1.0 → 0.1.1
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 +7 -7
- package/dist/cli.js +4 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# @peppermint/
|
|
1
|
+
# @peppermint-mcp/wizard
|
|
2
2
|
|
|
3
3
|
One-command installer for [Peppermint](https://peppermint.com) MCP across AI coding hosts.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx @peppermint/
|
|
6
|
+
npx @peppermint-mcp/wizard
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Detects your installed AI tools, authenticates with Peppermint, and writes the correct MCP config for each host. No manual JSON editing.
|
|
@@ -22,7 +22,7 @@ Detects your installed AI tools, authenticates with Peppermint, and writes the c
|
|
|
22
22
|
### Install Peppermint MCP
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npx @peppermint/
|
|
25
|
+
npx @peppermint-mcp/wizard
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
The wizard will:
|
|
@@ -36,13 +36,13 @@ The wizard will:
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# List detected hosts and their status
|
|
39
|
-
npx @peppermint/
|
|
39
|
+
npx @peppermint-mcp/wizard list
|
|
40
40
|
|
|
41
41
|
# Health check on existing installation
|
|
42
|
-
npx @peppermint/
|
|
42
|
+
npx @peppermint-mcp/wizard doctor
|
|
43
43
|
|
|
44
44
|
# Remove Peppermint from selected hosts
|
|
45
|
-
npx @peppermint/
|
|
45
|
+
npx @peppermint-mcp/wizard remove
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
### Flags
|
|
@@ -56,7 +56,7 @@ npx @peppermint/mcp-wizard remove
|
|
|
56
56
|
### Using staging
|
|
57
57
|
|
|
58
58
|
```bash
|
|
59
|
-
npx @peppermint/
|
|
59
|
+
npx @peppermint-mcp/wizard --server https://dev-api.peppermint.com/mcp/
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
## How it works
|
package/dist/cli.js
CHANGED
|
@@ -255,7 +255,8 @@ async function createApiKey(serverBase2, accessToken) {
|
|
|
255
255
|
const text = await res.text();
|
|
256
256
|
throw new Error(`API key creation failed (${res.status}): ${text}`);
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
const data = await res.json();
|
|
259
|
+
return data.raw_key;
|
|
259
260
|
}
|
|
260
261
|
function waitForCallback(port, expectedState) {
|
|
261
262
|
return new Promise((resolve, reject) => {
|
|
@@ -335,9 +336,9 @@ async function authenticateWithBrowser(serverBase2) {
|
|
|
335
336
|
clientId,
|
|
336
337
|
verifier
|
|
337
338
|
);
|
|
338
|
-
const
|
|
339
|
+
const rawKey = await createApiKey(serverBase2, tokens.access_token);
|
|
339
340
|
const creds = {
|
|
340
|
-
api_key:
|
|
341
|
+
api_key: rawKey,
|
|
341
342
|
email: tokens.email,
|
|
342
343
|
server: serverBase2,
|
|
343
344
|
client_id: clientId,
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peppermint-mcp/wizard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "One-command installer for Peppermint MCP across AI coding hosts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"peppermint-mcp-wizard": "
|
|
7
|
+
"peppermint-mcp-wizard": "dist/cli.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist/"
|