@xns-cloud/relayer-mcp 0.9.3 → 0.10.0
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/PRIVACY.md +66 -0
- package/README.md +31 -0
- package/manifest.json +115 -0
- package/package.json +7 -3
package/PRIVACY.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Privacy — XNS Relayer MCP server
|
|
2
|
+
|
|
3
|
+
**The canonical XNS privacy policy is <https://xns.tech/privacy-policy/>.** It governs your
|
|
4
|
+
XNS account and the services this software talks to, and it takes precedence over anything
|
|
5
|
+
here.
|
|
6
|
+
|
|
7
|
+
This file is a product-specific supplement. It records what the MCP server itself does on
|
|
8
|
+
your machine — facts about this codebase, not account-level terms. Every claim below is
|
|
9
|
+
verifiable in the source.
|
|
10
|
+
|
|
11
|
+
## What this software is
|
|
12
|
+
|
|
13
|
+
The XNS Relayer MCP server runs entirely on your own machine. It is a local process that an
|
|
14
|
+
AI agent starts over stdio. No XNS service sits in the middle: nothing of ours observes your
|
|
15
|
+
conversation, your prompts, or the agent's tool calls.
|
|
16
|
+
|
|
17
|
+
## The server collects nothing
|
|
18
|
+
|
|
19
|
+
There is no analytics, no telemetry, no crash reporting, and no usage counter in this
|
|
20
|
+
package. It does not phone home.
|
|
21
|
+
|
|
22
|
+
## What leaves your machine, and where it goes
|
|
23
|
+
|
|
24
|
+
Only through the ordinary, visible operation of the tools you ask the agent to run:
|
|
25
|
+
|
|
26
|
+
| Tool activity | What travels | Which service |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| Creating an account, signing in | Your credentials, entered by you in your own browser | `auth.xns.tech` (Keycloak) |
|
|
29
|
+
| Claiming a Relayer to your account | The claim session and the installation's identity | `console.xns.tech` |
|
|
30
|
+
| Reading or changing settings, host selection, backups | The setting values you ask to read or change | `console.xns.tech` |
|
|
31
|
+
| Installing or updating the Relayer | An anonymous download of the Docker Compose bundle and images | `releases.scpri.me` |
|
|
32
|
+
|
|
33
|
+
The agent never handles your password. Sign-in happens in your browser against our identity
|
|
34
|
+
service; the extension receives only a short-lived access token.
|
|
35
|
+
|
|
36
|
+
How XNS handles what those services receive is covered by the canonical policy above.
|
|
37
|
+
|
|
38
|
+
## What stays on your machine
|
|
39
|
+
|
|
40
|
+
- **Access tokens are held in memory only** (`src/lib/tokenState.js`) and are discarded when
|
|
41
|
+
the process exits. They are never written to disk.
|
|
42
|
+
- **S3 credentials** provisioned by `setup_cli_credentials` are written to
|
|
43
|
+
`~/.xns/credentials`, mode `0600`, on your machine, for your CLI to use.
|
|
44
|
+
- **Your stored objects never pass through this software's control path.** The Relayer you
|
|
45
|
+
host handles your data directly.
|
|
46
|
+
|
|
47
|
+
Both are yours to delete at any time.
|
|
48
|
+
|
|
49
|
+
## Network boundary
|
|
50
|
+
|
|
51
|
+
The extension cannot be pointed at a Relayer on the public internet. Two mechanisms enforce
|
|
52
|
+
that: the tools that accept a host or endpoint argument run it through an allowlist that
|
|
53
|
+
permits only `localhost`, loopback, RFC 1918 private ranges (`10/8`, `172.16/12`,
|
|
54
|
+
`192.168/16`), and `*.local` (`src/lib/hostAllowlist.js`); the remaining tools expose no URL
|
|
55
|
+
parameter at all and are fixed to `localhost`. Either way there is no input that reaches a
|
|
56
|
+
public Relayer. The only public hosts this software contacts are the three XNS services
|
|
57
|
+
named above.
|
|
58
|
+
|
|
59
|
+
## Stopping it
|
|
60
|
+
|
|
61
|
+
Nothing runs in the background. Quitting the agent stops the server; uninstalling the
|
|
62
|
+
extension removes it entirely.
|
|
63
|
+
|
|
64
|
+
## Contact
|
|
65
|
+
|
|
66
|
+
<https://xns.tech> — see the canonical policy for the current contact address.
|
package/README.md
CHANGED
|
@@ -179,6 +179,37 @@ Requires Node.js 20+.
|
|
|
179
179
|
|
|
180
180
|
This package uses the `relayer-native` Keycloak client ID for OIDC authentication. The same client ID is intended for reuse by a future standalone Relayer CLI (`@xns-cloud/relayer-cli`), with the OIDC module (`src/lib/oidcAuth.js`) extracted to a shared `@xns-cloud/relayer-auth` package.
|
|
181
181
|
|
|
182
|
+
## Privacy Policy
|
|
183
|
+
|
|
184
|
+
Canonical policy: **<https://xns.tech/privacy-policy/>**. Product-specific detail for this
|
|
185
|
+
server is in [PRIVACY.md](./PRIVACY.md).
|
|
186
|
+
|
|
187
|
+
The short version:
|
|
188
|
+
|
|
189
|
+
- **No telemetry.** No analytics, crash reporting, or usage counters. It does not phone home.
|
|
190
|
+
- **Tokens live in memory only.** OIDC access tokens are never written to disk; they are discarded when the process exits.
|
|
191
|
+
- **The agent never sees your password.** Sign-in happens in your own browser against `auth.xns.tech`.
|
|
192
|
+
- **Private network only.** No tool can be pointed at a public Relayer: the ones taking a host argument run it through an allowlist (`localhost`, loopback, RFC 1918, `*.local`), and the rest expose no URL parameter and are fixed to `localhost`. The three XNS services it contacts are `auth.xns.tech`, `console.xns.tech`, and `releases.scpri.me`.
|
|
193
|
+
- **Your stored objects never pass through it.** The Relayer you host handles your data directly.
|
|
194
|
+
|
|
195
|
+
## Desktop extension (MCPB)
|
|
196
|
+
|
|
197
|
+
The same server ships as an [MCP Bundle](https://github.com/anthropics/mcpb) for one-click install in Claude Desktop. Build it from a clean checkout:
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
npm run bundle
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
That reinstalls production-only dependencies, validates the manifest, and writes the `.mcpb`. The MCPB CLI version is pinned in the script — do not invoke it unversioned, or the bundle you ship is not the bundle that was validated. Run `npm ci` afterwards to get the dev dependencies back for testing.
|
|
204
|
+
|
|
205
|
+
To validate the manifest alone without repacking:
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
npm run bundle:validate
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
`manifest.json` at the repo root is the bundle manifest. `mcpbManifest.test.js` pins its `version` and tool list to `package.json`, `server.json`, and the running server, so drift fails the suite rather than shipping.
|
|
212
|
+
|
|
182
213
|
## License
|
|
183
214
|
|
|
184
215
|
Apache-2.0 © SCP Corp. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
|
package/manifest.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest_version": "0.3",
|
|
3
|
+
"name": "relayer-mcp",
|
|
4
|
+
"display_name": "XNS Relayer",
|
|
5
|
+
"version": "0.10.0",
|
|
6
|
+
"description": "Set up and manage a self-hosted XNS Relayer — S3-compatible object storage — conversationally.",
|
|
7
|
+
"long_description": "XNS Relayer is S3-compatible object storage you host yourself: $0 egress, uncapped, on hardware you control. This extension gives Claude 15 tools that walk the whole lifecycle — check prerequisites, register an XNS account, install the Relayer via Docker Compose, claim it to your account, choose which hosts store your data (VPD), verify an S3 round trip, provision CLI credentials, then handle day-2 work: settings, service restarts, and configuration backups.\n\nThe server runs locally on your machine and talks to your Relayer over loopback or your private network only — connections to public addresses are refused by design. Sign-in happens in your browser against XNS's identity service; the agent never sees your password.",
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "SCP Corp",
|
|
10
|
+
"url": "https://xns.tech"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://xns.tech",
|
|
13
|
+
"documentation": "https://gitlab.com/scpcorp/relayer-mcp#readme",
|
|
14
|
+
"support": "https://gitlab.com/scpcorp/relayer-mcp/-/issues",
|
|
15
|
+
"license": "Apache-2.0",
|
|
16
|
+
"privacy_policies": [
|
|
17
|
+
"https://xns.tech/privacy-policy/"
|
|
18
|
+
],
|
|
19
|
+
"keywords": [
|
|
20
|
+
"storage",
|
|
21
|
+
"s3",
|
|
22
|
+
"object-storage",
|
|
23
|
+
"backup",
|
|
24
|
+
"self-hosted",
|
|
25
|
+
"docker",
|
|
26
|
+
"devops"
|
|
27
|
+
],
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://gitlab.com/scpcorp/relayer-mcp"
|
|
31
|
+
},
|
|
32
|
+
"server": {
|
|
33
|
+
"type": "node",
|
|
34
|
+
"entry_point": "src/index.js",
|
|
35
|
+
"mcp_config": {
|
|
36
|
+
"command": "node",
|
|
37
|
+
"args": [
|
|
38
|
+
"${__dirname}/src/index.js"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"tools": [
|
|
43
|
+
{
|
|
44
|
+
"name": "check_prerequisites",
|
|
45
|
+
"description": "Check Docker, ports, disk space, and network reachability before installing."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "start_registration",
|
|
49
|
+
"description": "Get the browser URL for creating an XNS account."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "check_email_verified",
|
|
53
|
+
"description": "Wait for the new account's email address to be verified."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "install_relayer",
|
|
57
|
+
"description": "Install and start the Relayer with Docker Compose."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "check_relayer_health",
|
|
61
|
+
"description": "Report the health of each Relayer service and its monitoring sidecars."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "start_claim",
|
|
65
|
+
"description": "Begin linking this Relayer installation to an XNS account."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "check_claim_status",
|
|
69
|
+
"description": "Wait for the browser claim to complete."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "get_host_tags",
|
|
73
|
+
"description": "List the host tags available for choosing where data is stored."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "configure_vpd",
|
|
77
|
+
"description": "Choose which hosts store your data, or preview the choice first."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "verify_storage",
|
|
81
|
+
"description": "Prove the S3 gateway works with an upload-and-download round trip."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "setup_cli_credentials",
|
|
85
|
+
"description": "Provision S3 credentials so the XNS CLI works without further setup."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "describe_settings",
|
|
89
|
+
"description": "List the adjustable Relayer settings with their current values."
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "update_settings",
|
|
93
|
+
"description": "Change adjustable Relayer settings."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "restart_service",
|
|
97
|
+
"description": "Restart one Relayer service or all of them."
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "manage_backups",
|
|
101
|
+
"description": "List, create, restore, or delete Relayer configuration backups."
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"compatibility": {
|
|
105
|
+
"claude_desktop": ">=0.10.0",
|
|
106
|
+
"platforms": [
|
|
107
|
+
"darwin",
|
|
108
|
+
"win32",
|
|
109
|
+
"linux"
|
|
110
|
+
],
|
|
111
|
+
"runtimes": {
|
|
112
|
+
"node": ">=20.0.0"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xns-cloud/relayer-mcp",
|
|
3
3
|
"mcpName": "tech.xns/relayer",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"description": "MCP server for XNS Relayer onboarding and day-2 management — drives Relayer setup, settings, and backups conversationally over stdio, npx-ready",
|
|
6
6
|
"author": "SCP Corp",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"test": "jest --verbose",
|
|
21
21
|
"start": "node src/index.js",
|
|
22
|
-
"prepublishOnly": "npm test"
|
|
22
|
+
"prepublishOnly": "npm test",
|
|
23
|
+
"bundle:validate": "npx --yes @anthropic-ai/mcpb@2.1.2 validate manifest.json",
|
|
24
|
+
"bundle": "npm ci --omit=dev && npx --yes @anthropic-ai/mcpb@2.1.2 validate manifest.json && npx --yes @anthropic-ai/mcpb@2.1.2 pack"
|
|
23
25
|
},
|
|
24
26
|
"keywords": [
|
|
25
27
|
"mcp",
|
|
@@ -52,7 +54,9 @@
|
|
|
52
54
|
"src/tools/",
|
|
53
55
|
"src/templates/",
|
|
54
56
|
"LICENSE",
|
|
55
|
-
"NOTICE"
|
|
57
|
+
"NOTICE",
|
|
58
|
+
"manifest.json",
|
|
59
|
+
"PRIVACY.md"
|
|
56
60
|
],
|
|
57
61
|
"dependencies": {
|
|
58
62
|
"@aws-sdk/client-s3": "^3.1053.0",
|