@synapsync/syntra-mcp 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/README.md +70 -9
  2. package/bin/setup.cjs +15 -10
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -1,20 +1,81 @@
1
1
  # Syntra CLI and MCP
2
2
 
3
- Syntra runs as a local MCP server over standard input and output. It connects to
4
- the hosted Syntra API using an account you authorize in the browser.
3
+ Syntra connects your agent to the workspaces, project teams and tickets you can
4
+ access. Read shared work, prepare private drafts and send tickets or replies
5
+ when you ask. The client runs locally over stdio and connects to the Syntra API
6
+ using a profile you authorize in the browser.
5
7
 
6
- Requires Node.js 22.12 or newer. npm installs the matching Go executable for
7
- Linux x64/arm64, macOS Intel/Apple Silicon, or Windows x64.
8
+ **[Official documentation](https://syntra.synapsynclabs.com/docs/) · [npm package](https://www.npmjs.com/package/@synapsync/syntra-mcp)**
9
+
10
+ ## Get started
11
+
12
+ Use Node.js 22.12 or later. npm installs the matching Go executable for Linux
13
+ x64 or arm64, macOS Intel or Apple Silicon, or Windows x64.
8
14
 
9
15
  ```sh
10
16
  npm install --global @synapsync/syntra-mcp
11
17
  syntra login
12
18
  syntra status
19
+ syntra workspaces
20
+ ```
21
+
22
+ Approve the permissions you need in the browser. The CLI and agent hosts using
23
+ the same local profile share that login. To run without a global install, use
24
+ `npx -y @synapsync/syntra-mcp login`.
25
+
26
+ ## Connect your agent
27
+
28
+ Choose one host:
29
+
30
+ ```sh
31
+ syntra setup --agent codex
32
+ syntra setup --agent claude-code
33
+ syntra setup --agent opencode
13
34
  ```
14
35
 
15
- Start the server with `syntra mcp`, or configure a supported host with
16
- `syntra setup --agent codex`, `syntra setup --agent claude-code`, or
17
- `syntra setup --agent opencode`. Add `--dry-run` to preview the host changes.
18
- After applying setup, start a fresh host session.
36
+ Add `--dry-run` to preview the registration and skill installation. Start a
37
+ fresh host session after applying setup, then ask it to list your Syntra
38
+ workspaces. For other stdio hosts or a custom profile, use the
39
+ [manual configuration templates](https://syntra.synapsynclabs.com/docs/agent-setup/host-configurations.html).
40
+
41
+ ## Permissions and renewal
42
+
43
+ | Capability | Use |
44
+ | --- | --- |
45
+ | `READ` | Discover workspaces, projects, teams and members, and read authorized tickets and messages. |
46
+ | `PREPARE` | Create private drafts and link them to a member. |
47
+ | `PUBLISH` | Send an exact retained draft in a separate call. Requires `PREPARE`. |
48
+
49
+ A new connection requests 30 days by default. You can request up to 90 days
50
+ with `syntra login --lifetime-seconds 7776000`. When a compatible connection
51
+ expires, run `syntra login --reauthorize` with the same profile.
52
+
53
+ If the terminal works and the agent lacks a permission, check the agent's
54
+ selected profile with `syntra status`. If the registration specifies
55
+ `--profile-dir`, use that same directory in the CLI. See
56
+ [troubleshooting](https://syntra.synapsynclabs.com/docs/troubleshooting.html)
57
+ for permission changes, profile mismatches and startup errors.
58
+
59
+ ## Reference
60
+
61
+ - [CLI commands and flags](https://syntra.synapsynclabs.com/docs/reference/cli.html)
62
+ - [MCP tools and effects](https://syntra.synapsynclabs.com/docs/reference/tools.html)
63
+ - [Find project teams and send a ticket](https://syntra.synapsynclabs.com/docs/guides/workspaces-to-ticket.html)
64
+ - [Replies, retry and recovery](https://syntra.synapsynclabs.com/docs/guides/replies-and-retry.html)
65
+
66
+ ## Build and test
67
+
68
+ Use Go 1.27.3, Python 3 and Node.js 22.12 or later. The client builds from this
69
+ repository with its own Go module.
70
+
71
+ ```sh
72
+ python3 scripts/check-protocol-parity.py
73
+ python3 scripts/test-protocol-parity.py
74
+ python3 scripts/test-core.py
75
+ npm run test:launcher
76
+ npm run test:setup
77
+ ```
19
78
 
20
- See the included license and third-party notices for distribution terms.
79
+ See [release operations](https://github.com/synapsync/syntra-mcp/blob/main/docs/NPM-RELEASE.md) for the build matrix and publishing
80
+ workflow. The client is [MIT licensed](https://github.com/synapsync/syntra-mcp/blob/main/LICENSE). Compiled dependencies and
81
+ bundled components have [third-party notices](https://github.com/synapsync/syntra-mcp/blob/main/THIRD-PARTY-NOTICES.md).
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.3",
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.3",
22
+ "@synapsync/syntra-linux-arm64": "0.1.3",
23
+ "@synapsync/syntra-darwin-x64": "0.1.3",
24
+ "@synapsync/syntra-darwin-arm64": "0.1.3",
25
+ "@synapsync/syntra-win32-x64": "0.1.3"
26
26
  },
27
27
  "license": "MIT",
28
28
  "repository": {