@synapsync/syntra-mcp 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.
Files changed (3) hide show
  1. package/README.md +19 -0
  2. package/bin/setup.cjs +15 -10
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -17,4 +17,23 @@ Start the server with `syntra mcp`, or configure a supported host with
17
17
  `syntra setup --agent opencode`. Add `--dry-run` to preview the host changes.
18
18
  After applying setup, start a fresh host session.
19
19
 
20
+ ## Shared login and permissions
21
+
22
+ Run `syntra login` once on the machine running the MCP and approve the
23
+ permissions you need in the browser. The CLI and registrations created by
24
+ `syntra setup` use the same default profile. If a manual registration supplies
25
+ `--profile-dir`, use that same flag and directory for `syntra login` and
26
+ `syntra status`, or update the registration to use your existing login profile.
27
+
28
+ `syntra status` shows the permissions granted and the expiration. Read lets
29
+ agents query Syntra. Prepare lets them save private drafts. Publish is also
30
+ required to send. If you already have a profile with the required permissions,
31
+ point the MCP at it. To request additional permissions, use `syntra login`
32
+ with a separate profile and approve the new grant in your browser.
33
+
34
+ A new connection requests 30 days by default. For a new connection you can
35
+ request up to 90 days with `syntra login --lifetime-seconds 7776000`, subject
36
+ to what you approve in the browser. Renew an expired connection with
37
+ `syntra login --reauthorize` against the same profile.
38
+
20
39
  See the included license and third-party notices for distribution terms.
package/bin/setup.cjs CHANGED
@@ -1264,17 +1264,22 @@ function renderApplied(result) {
1264
1264
  if (result.unchanged) {
1265
1265
  lines.push('MCP registration and bundled skill already match the packaged files.');
1266
1266
  lines.push('No files were changed.');
1267
- return `${lines.join('\n')}\n`;
1268
- }
1269
- if (result.configChanged) {
1270
- lines.push(`MCP registration updated: ${result.plan.configPath}`);
1271
- if (result.backupPath) lines.push(`Private config backup: ${result.backupPath}`);
1272
1267
  } else {
1273
- lines.push('MCP registration already matches.');
1274
- }
1275
- lines.push(result.skillInstalled
1276
- ? `Bundled skill installed: ${result.plan.skillPath}`
1277
- : `Bundled skill already matches: ${result.plan.skillPath}`);
1268
+ if (result.configChanged) {
1269
+ lines.push(`MCP registration updated: ${result.plan.configPath}`);
1270
+ if (result.backupPath) lines.push(`Private config backup: ${result.backupPath}`);
1271
+ } else {
1272
+ lines.push('MCP registration already matches.');
1273
+ }
1274
+ lines.push(result.skillInstalled
1275
+ ? `Bundled skill installed: ${result.plan.skillPath}`
1276
+ : `Bundled skill already matches: ${result.plan.skillPath}`);
1277
+ }
1278
+ const packagePin = `${packageManifest.name}@${packageManifest.version}`;
1279
+ lines.push(`First time on this machine? Run: npx -y ${packagePin} login`);
1280
+ lines.push('Approve the permissions you need in the browser. Agent sessions using the default Syntra profile share that login.');
1281
+ lines.push(`To check permissions and expiration, run: npx -y ${packagePin} status`);
1282
+ lines.push('Start a new agent session to load this registration.');
1278
1283
  return `${lines.join('\n')}\n`;
1279
1284
  }
1280
1285
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synapsync/syntra-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "description": "Syntra CLI and local MCP server",
6
6
  "engines": {
@@ -18,11 +18,11 @@
18
18
  "THIRD-PARTY-NOTICES.md"
19
19
  ],
20
20
  "optionalDependencies": {
21
- "@synapsync/syntra-linux-x64": "0.1.0",
22
- "@synapsync/syntra-linux-arm64": "0.1.0",
23
- "@synapsync/syntra-darwin-x64": "0.1.0",
24
- "@synapsync/syntra-darwin-arm64": "0.1.0",
25
- "@synapsync/syntra-win32-x64": "0.1.0"
21
+ "@synapsync/syntra-linux-x64": "0.1.1",
22
+ "@synapsync/syntra-linux-arm64": "0.1.1",
23
+ "@synapsync/syntra-darwin-x64": "0.1.1",
24
+ "@synapsync/syntra-darwin-arm64": "0.1.1",
25
+ "@synapsync/syntra-win32-x64": "0.1.1"
26
26
  },
27
27
  "license": "MIT",
28
28
  "repository": {