@talonic/mcp 0.1.38 → 0.1.39
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/CHANGELOG.md +31 -0
- package/README.md +1 -0
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +1 -1
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.38] - 2026-05-18
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`warnings` field on `talonic_filter`'s outputSchema** (`src/tools/filter.ts`). The Talonic API surfaces a `warnings[]` array on filter responses when a numeric operator is applied to a string-typed field — the schema-typing footgun where `gt`/`gte`/`lt`/`lte`/`between` against a string-typed field like `invoice_total` (with currency symbols mixed in) silently returns zero matches. The MCP outputSchema previously did not declare `warnings`, so Zod's default strip mode dropped the field from `structuredContent` before the agent could read it. The schema now accepts an optional array of permissive (`.passthrough()`) warning objects covering `code`, `message`, `field`, `field_id`, and `suggestion`; all keys are optional and unknown keys forward through.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `talonic_filter` SCHEMA TYPING block extended with a one-line nudge telling agents to surface `warnings[].message` (and `suggestion`, when present) to the user verbatim rather than silently retrying.
|
|
19
|
+
- Internal: `outputSchema` is now `export`ed from `src/tools/filter.ts` so tests can validate it directly via `z.object(filterOutputSchema)`.
|
|
20
|
+
|
|
21
|
+
## [0.1.37] - 2026-05-18
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- **Hosted MCP now serves Streamable HTTP at both `/` and `/mcp`** (`src/http-server.ts`). Clients that registered the bare origin (`https://mcp.talonic.com`) instead of appending `/mcp` previously received the discovery JSON when they expected a JSON-RPC frame — most visibly in Glama's hosted MCP Inspector. The root path now discriminates by method/Accept: plain `GET /` still returns the discovery JSON (humans, bots, monitors); POST/DELETE and SSE GETs at `/` route through the same auth + session + `StreamableHTTPServerTransport` block that serves `/mcp`. `/mcp` is unchanged; every existing client keeps working byte-for-byte.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Internal: HTTP request handler extracted into an exported `createRequestHandler()` factory with the session map scoped per-call (production builds exactly one; tests spin up isolated instances). `httpServer.listen` gated behind an `isDirectInvocation()` check mirroring `server.ts` so importing the module from a test does not bind to port 3000.
|
|
30
|
+
|
|
31
|
+
### Tests
|
|
32
|
+
|
|
33
|
+
- Six new tests in `tests/http-server.test.ts` cover the regression surface (GET `/`, `/health`, unknown paths, POST `/mcp`) plus the fix (POST `/` opens a session; POST `/` without auth returns 401 + `WWW-Authenticate`).
|
|
34
|
+
|
|
35
|
+
## [0.1.36] - 2026-05-13
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- Post-submission state refresh in `STATUS.md`: Claude Connectors Directory submission marked as submitted (2026-05-12); Smithery listing recorded at `https://smithery.ai/servers/talonic/talonic`; 8-tool / 2-resource surface re-verified in the surfaces table; documentation tightened in `docs/sections.json` and the corresponding website-sync content sections.
|
|
40
|
+
|
|
10
41
|
## [0.1.35] - 2026-05-12
|
|
11
42
|
|
|
12
43
|
### Added
|
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ Official Talonic MCP server. Lets AI agents extract structured, schema-validated
|
|
|
14
14
|
- [**Official MCP Registry**](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.talonicdev/talonic-mcp) as `io.github.talonicdev/talonic-mcp`.
|
|
15
15
|
- [**mcp.so**](https://mcp.so/server/talonic-mcp) directory.
|
|
16
16
|
- [**Glama**](https://glama.ai/mcp/servers/talonicdev/talonic-mcp) MCP server catalogue.
|
|
17
|
+
- [**Python SDK (`talonic`)**](https://github.com/talonicdev/talonic-python) on PyPI — direct API client, sync + async.
|
|
17
18
|
|
|
18
19
|
## Why an agent should use this
|
|
19
20
|
|