@renanlido/tia-openness-mcp 1.0.0 → 1.0.1
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/LICENSE +21 -0
- package/README.md +12 -4
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Renan Oliveira
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -95,13 +95,21 @@ Aceita o **project-spec** estruturado ([../docs/TIA-BEST-PRACTICES.md](../docs/T
|
|
|
95
95
|
|
|
96
96
|
## Cenário Mac → VM Windows (apontar o servidor)
|
|
97
97
|
|
|
98
|
-
1. **Na VM Windows**,
|
|
99
|
-
|
|
98
|
+
1. **Na VM Windows**, faça tudo pela **GUI de bandeja** (atalho "TIA Openness API"):
|
|
99
|
+
- aba **"Licença"** → cole a chave de ativação → **"Validar"** → **"Salvar"** (a API só aceita
|
|
100
|
+
conexões externas se estiver **ativada**);
|
|
101
|
+
- aba **"API"** → **Host** = `0.0.0.0` (aceita conexões de fora; `localhost` só atende a própria VM),
|
|
102
|
+
**Porta** = `5000` → **"Iniciar API"**. O status fica **verde** ("Rodando em http://0.0.0.0:5000/ …").
|
|
103
|
+
|
|
104
|
+
Libere a porta no firewall do Windows e garanta rede acessível (bridged ou NAT com port-forward). O
|
|
105
|
+
controle de **quem** pode chamar é o firewall/VPN — a licença ativa o servidor, não autentica clientes.
|
|
106
|
+
|
|
107
|
+
<details><summary>Alternativa headless por linha de comando (avançado)</summary>
|
|
108
|
+
|
|
100
109
|
```powershell
|
|
101
110
|
.\bin\Debug\net48\TIAOpenness.exe serve 5000 --host 0.0.0.0 --license TIA1.xxxxx.yyyyy
|
|
102
111
|
```
|
|
103
|
-
|
|
104
|
-
Controle de **acesso** de quem chama = firewall/VPN (a licença ativa o servidor, não autentica clientes).
|
|
112
|
+
</details>
|
|
105
113
|
2. **No Mac**, aponte o MCP para a VM:
|
|
106
114
|
```bash
|
|
107
115
|
export TIA_API_BASE="http://<ip-da-vm>:5000"
|
package/dist/index.js
CHANGED
|
@@ -32441,7 +32441,7 @@ function registerSpecTools(server2) {
|
|
|
32441
32441
|
}
|
|
32442
32442
|
|
|
32443
32443
|
// src/index.ts
|
|
32444
|
-
var server = new McpServer({ name: "tia-openness", version: "1.0.
|
|
32444
|
+
var server = new McpServer({ name: "tia-openness", version: "1.0.1" });
|
|
32445
32445
|
server.registerTool(
|
|
32446
32446
|
"tia_ping",
|
|
32447
32447
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renanlido/tia-openness-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server (stdio) — thin HTTP client over the TIA Openness `serve` API. Zero Openness/net48 references.",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|
|
7
8
|
"tia-openness-mcp": "dist/index.js"
|