@opendata.cat/mcp-server 0.0.18 → 0.0.19
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/dist/index.js +2 -2
- package/package.json +1 -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: "",
|
|
16
|
+
version: "0.0.19",
|
|
17
17
|
});
|
|
18
18
|
// Tool 1: search_datasets
|
|
19
19
|
server.tool("search_datasets", "Cerca datasets de dades obertes catalanes per text lliure. IMPORTANT: fes múltiples cerques amb termes diferents per cobrir un tema ampli. Ex: si l'usuari pregunta per 'emergències', cerca 'bombers', '112 trucades', 'mossos policia', 'SEM ambulància' per separat. La cerca inclou sinònims en català i castellà.", {
|
|
@@ -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: "" }));
|
|
474
|
+
res.end(JSON.stringify({ status: "ok", name: "opendata-cat", version: "0.0.19" }));
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
477
|
// MCP endpoint
|