@scales-baby/nest-bridge 1.0.2 → 1.0.3
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 +12 -5
- package/dist/mcp.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,12 +37,12 @@ Copy the key when it is shown (it appears once). It looks like `nest_ab12cd34_..
|
|
|
37
37
|
NEST_API_KEY="nest_ab12cd34_..." \
|
|
38
38
|
NEST_PASSWORD="your-encryption-password" \
|
|
39
39
|
NEST_NON_INTERACTIVE=1 \
|
|
40
|
-
npx @scales-baby/nest-bridge
|
|
40
|
+
npx -y @scales-baby/nest-bridge
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
The bridge fetches your wrapped key, unwraps it locally, and starts an MCP server on stdio. Point any MCP client at the same command.
|
|
43
|
+
The bridge fetches your wrapped key, unwraps it locally, and starts an MCP server on stdio. Point any MCP client at the same command. (`-y` skips npm's install-confirm prompt so the launch can't hang.)
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
When you run the bridge **manually** in a real interactive terminal, you can omit `NEST_PASSWORD` and `NEST_NON_INTERACTIVE`; the bridge then prompts `Nest encryption password:` with hidden input. This hidden prompt only works in a terminal. An **MCP-spawned** server has no TTY, so when an AI launches the bridge the password must come from config or your OS keychain (see below), not a prompt.
|
|
46
46
|
|
|
47
47
|
### Configuration (environment variables)
|
|
48
48
|
|
|
@@ -67,6 +67,11 @@ npm run pack:mcpb # produces dist/scales-nest.mcpb
|
|
|
67
67
|
|
|
68
68
|
Claude Desktop opens an install panel for "Nest by SCALES" and asks for your **Nest API key** and **Nest encryption password**. Both are marked sensitive, so Claude Desktop stores them in your OS keychain (macOS Keychain / Windows Credential Manager), not in a plain file. Leave **Nest URL** at its default and enable it.
|
|
69
69
|
|
|
70
|
+
**Where your password lives (pick one):**
|
|
71
|
+
|
|
72
|
+
- **Claude Desktop `.mcpb` (recommended):** stores your password in the OS keychain.
|
|
73
|
+
- **`claude mcp add` (below):** stores it in your local Claude config (`~/.claude.json`), and the command line lands in your shell history. That is local-only, but prefer the `.mcpb` if you want it in the keychain.
|
|
74
|
+
|
|
70
75
|
## Per-AI config snippets
|
|
71
76
|
|
|
72
77
|
**Claude Code (CLI):**
|
|
@@ -76,15 +81,17 @@ claude mcp add nest \
|
|
|
76
81
|
--env NEST_API_KEY=nest_ab12cd34_... \
|
|
77
82
|
--env NEST_PASSWORD=your-encryption-password \
|
|
78
83
|
--env NEST_NON_INTERACTIVE=1 \
|
|
79
|
-
-- npx @scales-baby/nest-bridge
|
|
84
|
+
-- npx -y @scales-baby/nest-bridge
|
|
80
85
|
```
|
|
81
86
|
|
|
87
|
+
After adding, reload so the tools appear: run `claude --continue` to resume the current session and load the MCP.
|
|
88
|
+
|
|
82
89
|
**OpenAI / any stdio MCP client (JSON):**
|
|
83
90
|
|
|
84
91
|
```json
|
|
85
92
|
{
|
|
86
93
|
"command": "npx",
|
|
87
|
-
"args": ["@scales-baby/nest-bridge"],
|
|
94
|
+
"args": ["-y", "@scales-baby/nest-bridge"],
|
|
88
95
|
"env": {
|
|
89
96
|
"NEST_API_KEY": "nest_ab12cd34_...",
|
|
90
97
|
"NEST_PASSWORD": "your-encryption-password",
|
package/dist/mcp.js
CHANGED
|
@@ -86,7 +86,7 @@ async function buildServer(ctx) {
|
|
|
86
86
|
const { McpServer } = await loadSdk();
|
|
87
87
|
const server = new McpServer({
|
|
88
88
|
name: "nest-bridge",
|
|
89
|
-
version: "1.0.
|
|
89
|
+
version: "1.0.3",
|
|
90
90
|
});
|
|
91
91
|
// Descriptions are registered ONCE at startup, before the background unlock
|
|
92
92
|
// finishes — so this note can't depend on the (not-yet-known) unlock state.
|
package/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "scales-nest",
|
|
4
4
|
"display_name": "Nest by SCALES",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.3",
|
|
6
6
|
"description": "Read and write your end-to-end-encrypted Nest through your own AI. Your encryption key is derived locally and never leaves your machine; Nest's servers only ever see ciphertext.",
|
|
7
7
|
"long_description": "Nest is your encrypted second brain (people, companies, tasks, events). This connector runs a small MCP server on your own machine. It fetches your password-wrapped key from Nest, unwraps it locally, then decrypts on read and encrypts on write right here. The Nest server only ever stores ciphertext and never receives your password, your key, or your plaintext. Mint a scoped API key in Nest (Settings then Connect your AI), paste it plus your encryption password below, and your AI can read and (with a full-control key) write your Nest data.",
|
|
8
8
|
"author": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scales-baby/nest-bridge",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Local MCP bridge for Nest. Read and write your end-to-end-encrypted Nest data through your own AI; the encryption key is derived locally from your password and never leaves your machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SCALES (https://nest.scales.baby)",
|