@procedures/mcp-dev-tools 0.14.0 → 0.15.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/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # @procedures/mcp-dev-tools
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c7198ca]
8
+ - @procedures/client@0.15.0
9
+ - @procedures/bundle-mcp@0.15.0
10
+ - @procedures/fs@0.15.0
11
+ - @procedures/mcp-server@0.15.0
12
+ - @procedures/compiler@0.15.0
13
+
14
+ ## 0.14.1
15
+
16
+ ### Patch Changes
17
+
18
+ - a96c870: The MCP hosts run under `run()` of `@mark1russell7/service` (CLI-11, step 1).
19
+
20
+ - `McpHost.declare(svc)` gives an MCP host to a service. The server of the host is a transport part, and each storage is a dependency. A host with a stdio face declares the trigger `stdin-close`. Then the runner starts the host and stops it in stages.
21
+ - `McpHost.handleHttp(req, res)` answers for the Streamable HTTP face with `mount: true`. Mount it on a listener, for example an `httpTransport` of `@mark1russell7/service/http`.
22
+ - `runDevToolsServer()` of `@procedures/mcp-dev-tools` runs the dev-tools server under `run()`. Over stdio, the profile is `ephemeral`, and the end of the input stops the server. With HTTP, the profile is `localDev`, and a listener of the service answers at `/mcp`. `dist/server.js` and `mark mcp` use it.
23
+
24
+ PATCH: each change adds a function or an option, and the old ones still operate.
25
+
26
+ Deprecated, and the next MINOR removes them (decision D13):
27
+
28
+ - The listener of the Streamable HTTP face: the options `port`, `host` and `server` of `HttpTransportOptions`, and `McpHttpTransport.listen()`. Give `mount: true`, and mount `McpHost.handleHttp` on a listener of the service.
29
+ - `startDevToolsServer()` of `@procedures/mcp-dev-tools`. Use `runDevToolsServer()`.
30
+
31
+ Migration for the next MINOR: the site uses none of them. MiniMongo uses none of them. Graph mounts `mcpFace()` on its host, and its stdio host keeps `createMcpHost()` with `stdio`: no change. jarvis uses `createMcpHost()` with stdio and SDK faces: no change. A host with `faces.http: { port }` moves to `faces.http: { mount: true }` and a listener of the service.
32
+ - Updated dependencies [85999c1]
33
+ - Updated dependencies [fc968f6]
34
+ - Updated dependencies [dc7a462]
35
+ - Updated dependencies [5efe2d2]
36
+ - Updated dependencies [e091108]
37
+ - Updated dependencies [073e4c3]
38
+ - Updated dependencies [6969637]
39
+ - Updated dependencies [a96c870]
40
+ - @procedures/mcp-server@0.14.1
41
+ - @procedures/client@0.14.1
42
+ - @procedures/compiler@0.14.1
43
+ - @procedures/bundle-mcp@0.14.1
44
+ - @procedures/fs@0.14.1
45
+
3
46
  ## 0.14.0
4
47
 
5
48
  ### Patch Changes
package/README.md CHANGED
@@ -51,6 +51,12 @@ When the client closes the input of stdio, the server stops: the calls in flight
51
51
 
52
52
  `mark mcp` starts the same server. Its flags replace the variables: `--bundles`, `--tool-timeout`, `--read-only`, `--http`, `--host`, `--token` and `--fs-root`.
53
53
 
54
+ The server operates under `run()` of `@mark1russell7/service` (CLI-11). The runner owns the signals, the stop in stages and the exit of the process.
55
+
56
+ - Over stdio, the profile is `ephemeral`. When the client closes the input, the server stops in stages and the process exits with the code 0. A first Ctrl-C stops the work, and a second one exits at once.
57
+ - Over Streamable HTTP, the profile is `localDev`. A listener of the service answers on the port, and the MCP endpoint is at `/mcp`.
58
+ - In code, `runDevToolsServer(config)` starts the server under the runner and gives the host, the service, the lifecycle and the URL. `startDevToolsServer()` is deprecated, and the next MINOR removes it.
59
+
54
60
  The server serves no remote events (`documentation/EVENTS.md`). Its transport carries only MCP, and `events.subscribe` is not a tool. Thus the host has no variable for the topics.
55
61
 
56
62
  ## The root of the files