@synapsync/syntra-mcp 0.1.1 → 0.1.4
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 +74 -24
- package/package.json +6 -6
- package/skills/syntra/references/tools.md +5 -0
package/README.md
CHANGED
|
@@ -1,39 +1,89 @@
|
|
|
1
1
|
# Syntra CLI and MCP
|
|
2
2
|
|
|
3
|
-
Syntra
|
|
4
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
|
13
20
|
```
|
|
14
21
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
`
|
|
18
|
-
|
|
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
|
|
34
|
+
```
|
|
35
|
+
|
|
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
|
|
19
42
|
|
|
20
|
-
|
|
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`. |
|
|
21
48
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
`syntra
|
|
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.
|
|
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.
|
|
27
52
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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.
|
|
33
58
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
`
|
|
59
|
+
## Preparing a reply
|
|
60
|
+
|
|
61
|
+
Read the ticket with `syntra ticket` and copy its `revision` exactly into
|
|
62
|
+
`expectedTicketRevision`. The revision is an opaque base64url token encoding
|
|
63
|
+
32 bytes, not a number or a value to invent. Use the ticket's exact title and
|
|
64
|
+
project ID (omit `projectId` when absent). Field diagnostics identify invalid or
|
|
65
|
+
missing input without including message content.
|
|
66
|
+
|
|
67
|
+
## Reference
|
|
68
|
+
|
|
69
|
+
- [CLI commands and flags](https://syntra.synapsynclabs.com/docs/reference/cli.html)
|
|
70
|
+
- [MCP tools and effects](https://syntra.synapsynclabs.com/docs/reference/tools.html)
|
|
71
|
+
- [Find project teams and send a ticket](https://syntra.synapsynclabs.com/docs/guides/workspaces-to-ticket.html)
|
|
72
|
+
- [Replies, retry and recovery](https://syntra.synapsynclabs.com/docs/guides/replies-and-retry.html)
|
|
73
|
+
|
|
74
|
+
## Build and test
|
|
75
|
+
|
|
76
|
+
Use Go 1.27.3, Python 3 and Node.js 22.12 or later. The client builds from this
|
|
77
|
+
repository with its own Go module.
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
python3 scripts/check-protocol-parity.py
|
|
81
|
+
python3 scripts/test-protocol-parity.py
|
|
82
|
+
python3 scripts/test-core.py
|
|
83
|
+
npm run test:launcher
|
|
84
|
+
npm run test:setup
|
|
85
|
+
```
|
|
38
86
|
|
|
39
|
-
See
|
|
87
|
+
See [release operations](https://github.com/synapsync/syntra-mcp/blob/main/docs/NPM-RELEASE.md) for the build matrix and publishing
|
|
88
|
+
workflow. The client is [MIT licensed](https://github.com/synapsync/syntra-mcp/blob/main/LICENSE). Compiled dependencies and
|
|
89
|
+
bundled components have [third-party notices](https://github.com/synapsync/syntra-mcp/blob/main/THIRD-PARTY-NOTICES.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synapsync/syntra-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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.
|
|
22
|
-
"@synapsync/syntra-linux-arm64": "0.1.
|
|
23
|
-
"@synapsync/syntra-darwin-x64": "0.1.
|
|
24
|
-
"@synapsync/syntra-darwin-arm64": "0.1.
|
|
25
|
-
"@synapsync/syntra-win32-x64": "0.1.
|
|
21
|
+
"@synapsync/syntra-linux-x64": "0.1.4",
|
|
22
|
+
"@synapsync/syntra-linux-arm64": "0.1.4",
|
|
23
|
+
"@synapsync/syntra-darwin-x64": "0.1.4",
|
|
24
|
+
"@synapsync/syntra-darwin-arm64": "0.1.4",
|
|
25
|
+
"@synapsync/syntra-win32-x64": "0.1.4"
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"repository": {
|
|
@@ -22,3 +22,8 @@ The server rejects unknown fields, duplicate JSON keys, unsafe scalar encodings
|
|
|
22
22
|
Example: “Record this question for Pedro in Bimtrazer.” Discover the account's spaces, resolve the named project and Pedro in its space, and clarify duplicate names. Prepare the question privately. If Pedro is absent, retain the intent “Pedro” as unlinked and explain that it was not delivered. A later explicit link to a real member still does not publish. If the user requests sending, publish only the exact authorized retained message.
|
|
23
23
|
|
|
24
24
|
Example: “List my spaces.” Call `workspaces`; do not require choosing a space first. Directory access is checked by Syntra on every request and does not grant membership.
|
|
25
|
+
|
|
26
|
+
For a reply, read the ticket first and copy its `revision` exactly to
|
|
27
|
+
`expectedTicketRevision`. It is an opaque base64url token encoding 32 bytes,
|
|
28
|
+
not a numeric revision. Use the exact ticket title and project ID; omit
|
|
29
|
+
`projectId` if absent. Do not invent these values.
|