@renanlido/tia-openness-mcp 1.9.1 → 1.9.2

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 CHANGED
@@ -269,8 +269,13 @@ Packing (`mcpb validate` / `mcpb pack`) and attaching the file to the release is
269
269
  npx -y @renanlido/tia-openness-mcp # runs without installing (recommended for .mcp.json)
270
270
  # or install the `tia-openness-mcp` binary on PATH:
271
271
  npm install -g @renanlido/tia-openness-mcp
272
+ npx -y @renanlido/tia-openness-mcp@latest --version # prints the version and exits
272
273
  ```
273
274
 
275
+ Run without `--version`, it is a stdio **server**, not an interactive command: it prints
276
+ `[tia-openness-mcp] <version> stdio ready …` on stderr and then waits for an MCP client on stdin (Ctrl+C to quit).
277
+ Your agent starts it from its MCP configuration; there is nothing to type into it.
278
+
274
279
  ### B) Local, without publishing (dev on this machine)
275
280
 
276
281
  ```bash
package/dist/index.js CHANGED
@@ -34776,8 +34776,9 @@ function classifyTools(server2) {
34776
34776
  }
34777
34777
 
34778
34778
  // src/index.ts
34779
+ var VERSION = "1.9.2";
34779
34780
  var server = new McpServer(
34780
- { name: "tia-openness", version: "1.9.1" },
34781
+ { name: "tia-openness", version: VERSION },
34781
34782
  // Camada 1 (ambiente): o brief operacional viaja no handshake MCP — qualquer cliente
34782
34783
  // que honre `instructions` recebe gates/serial-only/pipeline sem instalar nada.
34783
34784
  { instructions: BRIEF }
@@ -34798,9 +34799,16 @@ registerUploadTools(server);
34798
34799
  registerOnlineTools(server);
34799
34800
  registerSpecTools(server);
34800
34801
  async function main() {
34802
+ if (process.argv.slice(2).some((a) => a === "--version" || a === "-v")) {
34803
+ console.log(VERSION);
34804
+ process.exit(0);
34805
+ return;
34806
+ }
34801
34807
  const transport = new StdioServerTransport();
34802
34808
  await server.connect(transport);
34803
- console.error(`[tia-openness-mcp] stdio ready. API base = ${BASE} timeout=${TIMEOUT_MS}ms`);
34809
+ console.error(
34810
+ `[tia-openness-mcp] ${VERSION} stdio ready. API base = ${BASE} timeout=${TIMEOUT_MS}ms. Waiting for an MCP client on stdin: this is a server for your agent, not an interactive command (Ctrl+C to quit).`
34811
+ );
34804
34812
  }
34805
34813
  main().catch((e) => {
34806
34814
  console.error("[tia-openness-mcp] fatal error:", e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renanlido/tia-openness-mcp",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "MCP server (stdio) — thin HTTP client over the TIA Openness `serve` API. Zero Openness/net48 references.",
5
5
  "license": "MIT",
6
6
  "type": "module",