@aborruso/ckan-mcp-server 0.4.30 โ 0.4.32
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/AGENTS.md +4 -0
- package/LOG.md +11 -0
- package/README.md +11 -13
- package/dist/index.js +414 -148
- package/dist/worker.js +38 -38
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -81,6 +81,10 @@ Use `ResponseFormat` for markdown vs JSON. `truncateText` for large payloads. Pr
|
|
|
81
81
|
|
|
82
82
|
Vitest with `globals: true`. Place tests in `tests/unit` or `tests/integration`. AAA pattern, mock via fixtures in `tests/fixtures`, descriptive names.
|
|
83
83
|
|
|
84
|
+
## Test Targets
|
|
85
|
+
|
|
86
|
+
Never use `demo.ckan.org` for tests. Always use `https://www.dati.gov.it/opendata`.
|
|
87
|
+
|
|
84
88
|
## Configuration
|
|
85
89
|
|
|
86
90
|
Node `>=18`. Worker build in `wrangler.toml`. Vitest coverage thresholds enforced.
|
package/LOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## 2026-02-01
|
|
4
4
|
|
|
5
|
+
### Release v0.4.32
|
|
6
|
+
|
|
7
|
+
- Workers: align browser-like headers for fetch path to avoid 403 on dati.gov.it
|
|
8
|
+
- Files: `src/utils/http.ts`, `package.json`, `package-lock.json`
|
|
9
|
+
|
|
10
|
+
### Release v0.4.31
|
|
11
|
+
|
|
12
|
+
- Workers: decode compressed responses via DecompressionStream when available
|
|
13
|
+
- Docs: avoid demo.ckan.org in tests (use https://www.dati.gov.it/opendata)
|
|
14
|
+
- Files: `src/utils/http.ts`, `AGENTS.md`, `CLAUDE.md`, `package.json`, `package-lock.json`
|
|
15
|
+
|
|
5
16
|
### Release v0.4.30
|
|
6
17
|
|
|
7
18
|
- Fix Workers build by avoiding static node:zlib import while keeping decompression in Node
|
package/README.md
CHANGED
|
@@ -20,19 +20,6 @@ MCP (Model Context Protocol) server for interacting with CKAN-based open data po
|
|
|
20
20
|
- ๐ก๏ธ Browser-like headers to avoid WAF blocks
|
|
21
21
|
- ๐งช Test suite with 214 tests (100% passing)
|
|
22
22
|
|
|
23
|
-
## Date fields (source vs aggregator)
|
|
24
|
-
|
|
25
|
-
CKAN portals can be *source* catalogs or *harvesting aggregators*.
|
|
26
|
-
|
|
27
|
-
- `issued` / `modified`: publisher content dates (best for "created/updated" when present)
|
|
28
|
-
- `metadata_created` / `metadata_modified`: CKAN record timestamps (publish time on source portals,
|
|
29
|
-
harvest time on aggregators)
|
|
30
|
-
|
|
31
|
-
For "recent content" queries, prefer `issued` with a fallback to `metadata_created`
|
|
32
|
-
when `issued` is missing (see the `content_recent` helper in `ckan_package_search`).
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
23
|
๐ If you want to dive deeper, the [**AI-generated DeepWiki**](https://deepwiki.com/ondata/ckan-mcp-server) is very well done.
|
|
37
24
|
|
|
38
25
|
---
|
|
@@ -765,6 +752,17 @@ Third-party attributions: See [NOTICE.md](NOTICE.md) for third-party software no
|
|
|
765
752
|
- **CKAN API Documentation**: https://docs.ckan.org/en/latest/api/
|
|
766
753
|
- **MCP Protocol**: https://modelcontextprotocol.io/
|
|
767
754
|
|
|
755
|
+
## Date fields (source vs aggregator)
|
|
756
|
+
|
|
757
|
+
CKAN portals can be *source* catalogs or *harvesting aggregators*.
|
|
758
|
+
|
|
759
|
+
- `issued` / `modified`: publisher content dates (best for "created/updated" when present)
|
|
760
|
+
- `metadata_created` / `metadata_modified`: CKAN record timestamps (publish time on source portals,
|
|
761
|
+
harvest time on aggregators)
|
|
762
|
+
|
|
763
|
+
For "recent content" queries, prefer `issued` with a fallback to `metadata_created`
|
|
764
|
+
when `issued` is missing (see the `content_recent` helper in `ckan_package_search`).
|
|
765
|
+
|
|
768
766
|
## Support
|
|
769
767
|
|
|
770
768
|
For issues or questions, [open an issue on GitHub](https://github.com/ondata/ckan-mcp-server/issues/new/choose).
|