@procedures/mcp-dev-tools 0.15.1 → 0.17.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 +42 -0
- package/README.md +1 -1
- package/dist/.tsbuildinfo +1 -1
- package/dist/host.d.ts +1 -19
- package/dist/host.d.ts.map +1 -1
- package/dist/host.js +7 -45
- package/dist/host.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/host.ts +7 -54
- package/src/index.ts +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @procedures/mcp-dev-tools
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5fbc976: The Streamable HTTP face of an MCP host has no listener of its own (CLI-11, step 2). The runner of the process owns the port, the stop in stages and the exit.
|
|
8
|
+
|
|
9
|
+
MINOR: a breaking change before 1.0. Version 0.14.x deprecated each part that this release removes (decision D13).
|
|
10
|
+
|
|
11
|
+
Removed:
|
|
12
|
+
|
|
13
|
+
- The options `port`, `host` and `server` of `HttpTransportOptions`, and the function `listen()` of `McpHttpTransport`. The endpoint answers only through its handler: `McpHost.handleHttp`, `McpServerTransport.handleHttp` or the face of `mcpFace()`. A request of another path gets false from the handler, and the listener answers it.
|
|
14
|
+
- `McpServerTransportState.url` of an HTTP face is the path of the endpoint (`/mcp`), not a URL. The owner of the listener knows the address.
|
|
15
|
+
- `startDevToolsServer()` of `@procedures/mcp-dev-tools`. Use `runDevToolsServer()`, which runs the server under `run()` of `@mark1russell7/service`.
|
|
16
|
+
|
|
17
|
+
The option `mount` has no effect now, because the endpoint is always mounted. It stays one more release as a deprecated option, so code that followed the migration of 0.14.x compiles.
|
|
18
|
+
|
|
19
|
+
Migration:
|
|
20
|
+
|
|
21
|
+
- A host with `faces.http: { port, host }`: give `faces.http: {}`. Mount `host.handleHttp` on a listener, for example an `httpTransport` of `@mark1russell7/service/http`, and declare the listener and the host on a service (`host.declare(svc)`). The README of `@procedures/mcp-server` has the example.
|
|
22
|
+
- A caller of `startDevToolsServer()`: call `runDevToolsServer(config)`.
|
|
23
|
+
- The site, MiniMongo, Graph and jarvis: no change. Graph mounts `mcpFace()` on its procedures host, and its stdio MCP host and the host of jarvis use stdio and SDK faces.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [5fbc976]
|
|
28
|
+
- @procedures/mcp-server@0.17.0
|
|
29
|
+
- @procedures/bundle-mcp@0.17.0
|
|
30
|
+
- @procedures/client@0.17.0
|
|
31
|
+
- @procedures/fs@0.17.0
|
|
32
|
+
- @procedures/compiler@0.17.0
|
|
33
|
+
|
|
34
|
+
## 0.16.0
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [deada4b]
|
|
39
|
+
- @procedures/client@0.16.0
|
|
40
|
+
- @procedures/bundle-mcp@0.16.0
|
|
41
|
+
- @procedures/fs@0.16.0
|
|
42
|
+
- @procedures/mcp-server@0.16.0
|
|
43
|
+
- @procedures/compiler@0.16.0
|
|
44
|
+
|
|
3
45
|
## 0.15.1
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ The server operates under `run()` of `@mark1russell7/service` (CLI-11). The runn
|
|
|
55
55
|
|
|
56
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
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.
|
|
58
|
+
- In code, `runDevToolsServer(config)` starts the server under the runner and gives the host, the service, the lifecycle and the URL.
|
|
59
59
|
|
|
60
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.
|
|
61
61
|
|