@deslop/gateway 0.1.1222 → 0.1.1223

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 (2) hide show
  1. package/README.md +8 -25
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,31 +1,14 @@
1
1
  # Deslop Gateway
2
2
 
3
- One MCP endpoint, `https://gateway.mp281x.xyz/mcp`, for every MCP server the user connects; callers sign in through [Auth](../auth/README.md). Register only this URL in each harness and authorize it once:
3
+ One MCP endpoint for every MCP server you connect; add servers on its page.
4
4
 
5
- ```toml
6
- [mcp_servers.gateway]
7
- url = "https://gateway.mp281x.xyz/mcp"
5
+ ```bash
6
+ npm install --global @deslop/gateway
7
+ gateway service install --url https://gateway.mp281x.xyz --auth https://auth.mp281x.xyz --admins <github-id>
8
8
  ```
9
9
 
10
- ## Servers
10
+ - **Register** only `https://<gateway>/mcp` in each harness; tools are named `<server>__<tool>`.
11
+ - **Admins** (`--admins`) add and connect servers; everyone signed in shares them.
12
+ - **Own tool**: `list_mcp_connections` explains a missing or failing server.
11
13
 
12
- - **Add** a public HTTPS MCP URL on [the gateway's page](https://gateway.mp281x.xyz); an OAuth server opens its sign-in in the browser.
13
- - **Names**: a stable namespace from the hostname, a suffix on collision; tools are `<server>__<tool>`.
14
- - **Who**: only the `--admins` (Auth's setting) manage servers; every allowed account, machine and harness shares the upstream grants.
15
- - **Disconnect** deletes local provider tokens, keeps the URL; **Remove** deletes the definition too; neither revokes the provider's grant.
16
- - **Tools** menu: uncheck tools agents should neither see nor call.
17
- - **Failures**: a row shows why its last connection or discovery failed, as `list_mcp_connections` does.
18
-
19
- ## OAuth
20
-
21
- - **Discovery** from the server's standard metadata.
22
- - **Registration**: public-client Dynamic Client Registration with the server's own callback, `/oauth/callback/<id>`, on each connection; otherwise its Client ID Metadata Document, only with a provider naming itself in its answers (RFC 9207 `iss`). Any other provider is refused; never pre-registered clients.
23
- - **Deslop servers**, Auth's own included, connect the same way with Auth as provider; the gateway's sign-ins show among the admin's signed-in apps.
24
- - **Credentials** in its data directory.
25
-
26
- ## MCP
27
-
28
- - **Own tool**: `list_mcp_connections`; `({server})` returns that server's instructions whole. The gateway's instructions, read at its start, name each server by its instructions' first sentence. Upstream tools are listed without output schemas.
29
- - **Protocols**: stateless `2026-07-28` and session-based `2025-11-25`/`2025-06-18`. Each upstream negotiates through the official MCP client SDK, one session per discovery or call. Streamable HTTP only.
30
- - **Removed servers**: Effect's `McpServer` can't remove tools, so theirs stay registered and a visibility check keeps them out of lists and calls.
31
- - **Network**: upstream URLs, metadata and token endpoints use HTTPS, refuse redirects and private addresses, validate DNS answers at socket creation.
14
+ Common flags and service commands: [Deslop app runtime](https://github.com/MP281X/deslop/blob/main/packages/runtime/README.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/gateway",
3
- "version": "0.1.1222",
3
+ "version": "0.1.1223",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/MP281X/deslop",
@@ -32,5 +32,5 @@
32
32
  "engines": {
33
33
  "node": ">=26"
34
34
  },
35
- "fingerprint": "ce9aafbaa871d4feb128d64f173408667ed549d9cf4c47b76ca9f624cdec45b9"
35
+ "fingerprint": "abd3509831ace8730836e9674579d2fc56664b1e984cdfaa0f12894cb2480eac"
36
36
  }