@opendata.cat/mcp-server 0.0.15 → 0.0.16
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 +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -224,7 +224,7 @@ Les contribucions son benvingudes! Per afegir un nou portal de dades obertes:
|
|
|
224
224
|
|
|
225
225
|
## Changelog
|
|
226
226
|
|
|
227
|
-
### v0.0.
|
|
227
|
+
### v0.0.16 (2026-04-14)
|
|
228
228
|
- Decodificador GTFS-RT integrat: trens FGC en temps real ara retornen dades reals (retards, alertes, posicions GPS)
|
|
229
229
|
- Descodifica automaticament fitxers Protocol Buffers (.pb) de GTFS Realtime
|
|
230
230
|
- API REST documentada amb Swagger UI a /api/docs.html (OpenAPI 3.1)
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { queryOpendatasoft } from "./clients/opendatasoft.js";
|
|
|
13
13
|
import { decodeGtfsRt } from "./clients/gtfsrt.js";
|
|
14
14
|
const server = new McpServer({
|
|
15
15
|
name: "opendata-cat",
|
|
16
|
-
version: "0.0.
|
|
16
|
+
version: "0.0.16",
|
|
17
17
|
});
|
|
18
18
|
// Tool 1: search_datasets
|
|
19
19
|
server.tool("search_datasets", "Cerca datasets de dades obertes catalanes per text lliure. Retorna nom, descripció, portal i formats.", {
|
|
@@ -471,7 +471,7 @@ async function main() {
|
|
|
471
471
|
// Health check
|
|
472
472
|
if (req.url === "/health") {
|
|
473
473
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
474
|
-
res.end(JSON.stringify({ status: "ok", name: "opendata-cat", version: "0.0.
|
|
474
|
+
res.end(JSON.stringify({ status: "ok", name: "opendata-cat", version: "0.0.16" }));
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
477
|
// MCP endpoint
|