@talonic/mcp 0.1.93 → 0.1.95

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 CHANGED
@@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  > The publish workflow assigns the version on release; after the push that publishes it, promote this block to `## [<version>] - <date>` (the changelog lock accepts the current package version living here until then).
11
11
 
12
+ ### Added
13
+
14
+ - `talonic_portfolio_companies`, `talonic_portfolio_company`, `talonic_portfolio_conflicts`, `talonic_portfolio_refresh`: the Portfolio app (KPI table per portfolio company and the conflicts between its documents), listed when the workspace has the app.
15
+
16
+ - **Row-level growth tools** (`talonic_growth_attribution`, `talonic_growth_events`, `talonic_growth_signups`, `talonic_growth_accounts`, `talonic_growth_site_events`) over `/v1/growth/*`: conversions per landing page and source, website conversions, signups with their source, usage per organisation, and counts of any anonymous website event. Probe-gated with the existing growth tools; the platform now also admits listed growth readers. Absent from the public docs by design.
17
+ - **Accounts.** `talonic_list_accounts` and `talonic_create_account` (`GET/POST /v1/accounts`): the companies a workspace keeps apart. `talonic_request_upload` takes `account` (name, alias or id) so a file stays with its company, and `add_to_workspace: true` to process it fully into workspace data (values, registry, questions, SQL) instead of text only.
18
+
19
+ ## [0.1.94] - 2026-11-14
20
+
21
+ ### Security
22
+
23
+ - **Hosted server hardening (review 2026-11-09).** The hosted server refuses `file_path` on `talonic_extract` / `talonic_to_markdown`; a malformed request URL (e.g. `GET //`) answers 400 instead of crashing the process; invalid credentials answer 401; request bodies are capped (64 MB with a credential, 64 KB without); `?apiKey=` accepts only `tlnc_` keys; server instructions mark tool output as untrusted data.
24
+
25
+ ## [0.1.93] - 2026-10-29
26
+
12
27
  ### Changed
13
28
 
14
29
  - **Claude Connectors Directory review (Anthropic, 2026-10-25).** `talonic_request_upload` names no chat client any more; `talonic_invoke_agent_tool` states that the platform runs every caller, API key or OAuth session, as the read-only viewer role (`data.read` only), matching its read-only annotation; `talonic_extract` describes what it returns (schema-validated JSON, per-field confidence, provenance on request); the server instructions spell out the call order search, then document_id, then extract. The steering sentences the review quoted ("callable on EVERY turn", "you are mistaken", "never tell the user") were already removed in 0.1.85. Locked by `tests/claude-directory-compliance.test.ts`.
package/README.md CHANGED
@@ -112,7 +112,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
112
112
  }
113
113
  ```
114
114
 
115
- Fully restart Claude Desktop (Cmd+Q on macOS — not just close the window). Talonic appears in the connected-servers list with all thirty-six public tools.
115
+ Fully restart Claude Desktop (Cmd+Q on macOS — not just close the window). Talonic appears in the connected-servers list with all thirty-eight public tools.
116
116
  </details>
117
117
 
118
118
  <details>
@@ -170,7 +170,7 @@ Claude.ai's "Add custom connector" flow uses a remote MCP URL instead of a local
170
170
  2. URL: `https://mcp.talonic.com/mcp` (no query string, no headers).
171
171
  3. Click **Connect** → you're redirected to Talonic → sign in (Google, Microsoft, or SSO).
172
172
  4. Approve the consent screen (scopes: `extract:write`, `documents:read`, `schemas:read`, and `apps:decide` for the decision-task tools). Connectors added before `apps:decide` existed keep working; the seven decision tools show as not invocable until you remove and re-add the connector. Pick a workspace if you have multiple.
173
- 5. You're returned to Claude.ai. All thirty-six public tools appear.
173
+ 5. You're returned to Claude.ai. All thirty-eight public tools appear.
174
174
 
175
175
  The flow uses PKCE (RFC 7636) and dynamic client registration (RFC 7591). Claude.ai stores a 1-hour access token + 30-day refresh token and refreshes automatically. No API key ever touches the connector config or any URL. Revoke by removing the connector or revoking the OAuth client in your Talonic dashboard.
176
176
 
package/dist/content.js CHANGED
@@ -36,6 +36,8 @@ var MCP_NAV_SECTIONS = [
36
36
  { id: "talonic-get-pricing", label: "talonic_get_pricing" },
37
37
  { id: "talonic-get-usage", label: "talonic_get_usage" },
38
38
  { id: "talonic-request-upload", label: "talonic_request_upload" },
39
+ { id: "talonic-list-accounts", label: "talonic_list_accounts" },
40
+ { id: "talonic-create-account", label: "talonic_create_account" },
39
41
  { id: "talonic-list-fields", label: "talonic_list_fields" },
40
42
  { id: "talonic-get-field", label: "talonic_get_field" },
41
43
  { id: "talonic-field-values", label: "talonic_field_values" },
@@ -1282,7 +1284,11 @@ var sections3 = [
1282
1284
  type: "string",
1283
1285
  description: "Original filename (used for MIME type inference when using `file_data`)."
1284
1286
  },
1285
- { name: "file_path", type: "string", description: "Local file path." },
1287
+ {
1288
+ name: "file_path",
1289
+ type: "string",
1290
+ description: "Local file path. Local (stdio) installs only; the hosted server refuses it."
1291
+ },
1286
1292
  { name: "file_url", type: "string", description: "Remote file URL." },
1287
1293
  {
1288
1294
  name: "document_id",
@@ -2000,7 +2006,11 @@ var sections3 = [
2000
2006
  description: "Base64-encoded file bytes. Pair with `filename`."
2001
2007
  },
2002
2008
  { name: "filename", type: "string", description: "Original filename with extension." },
2003
- { name: "file_path", type: "string", description: "Local file path." },
2009
+ {
2010
+ name: "file_path",
2011
+ type: "string",
2012
+ description: "Local file path. Local (stdio) installs only; the hosted server refuses it."
2013
+ },
2004
2014
  {
2005
2015
  name: "file_url",
2006
2016
  type: "string",
@@ -3020,6 +3030,10 @@ Payment terms: Net 30`
3020
3030
  question: "Can the agent PUT the file to the upload_url itself?",
3021
3031
  answer: "It usually cannot \u2014 Claude.ai's sandbox and similar hosted environments restrict outbound egress to arbitrary endpoints. Even where it would technically work, you should still hand the link to the user: it preserves the user-agent boundary (the user controls what file gets uploaded) and matches what every other browser-handoff flow looks like."
3022
3032
  },
3033
+ {
3034
+ question: "How do I keep a company's files together, and make them workspace data?",
3035
+ answer: "Pass `account` (a company name, alias or id from talonic_list_accounts; create one with talonic_create_account) so the document belongs to that company, and `add_to_workspace: true` so it is processed fully (values, Field Registry, questions, SQL) instead of text only. Without add_to_workspace the document is prepared for a single talonic_extract call."
3036
+ },
3023
3037
  {
3024
3038
  question: "Why a separate tool instead of changing `talonic_extract`?",
3025
3039
  answer: "Keeping the upload-link step explicit makes the agent's reasoning visible to the user (the user sees an upload link in chat and knows what's happening). Folding it into talonic_extract would either silently change the contract for small files or introduce a hidden mode switch \u2014 both bad for predictability."
@@ -3034,6 +3048,84 @@ Payment terms: Net 30`
3034
3048
  "32 KB cap"
3035
3049
  ]
3036
3050
  },
3051
+ {
3052
+ slug: "talonic-list-accounts",
3053
+ parentSlug: "tools",
3054
+ title: "talonic_list_accounts",
3055
+ seoTitle: "talonic_list_accounts \u2014 List Per-Company Workspace Accounts",
3056
+ description: "MCP tool that lists the companies a Talonic workspace keeps apart (portfolio companies, clients), so uploads, questions and SQL stay separate per company.",
3057
+ content: [
3058
+ { type: "heading", level: 3, id: "list-accounts-when-to-use", text: "When to use" },
3059
+ {
3060
+ type: "list",
3061
+ ordered: false,
3062
+ items: [
3063
+ "Before uploading a company's files, to get the account name to pass as `account`.",
3064
+ "To see which companies the workspace holds."
3065
+ ]
3066
+ },
3067
+ {
3068
+ type: "paragraph",
3069
+ text: "List the workspace's accounts. An account is a company (portfolio company, client, entity) inside one workspace; each document belongs to at most one, so questions and SQL can be answered per company and never mix two companies' files."
3070
+ },
3071
+ {
3072
+ type: "paragraph",
3073
+ text: "Use it before uploading a company's files: pass the account name as `account` on `talonic_request_upload`. No parameters. Returns `data[]` of `{ id, name, aliases[], description, created_at }`."
3074
+ }
3075
+ ],
3076
+ related: [
3077
+ {
3078
+ label: "talonic_request_upload",
3079
+ slug: "talonic-request-upload"
3080
+ }
3081
+ ],
3082
+ faq: [
3083
+ {
3084
+ question: "What if the company is missing?",
3085
+ answer: "Create it with talonic_create_account, then upload with `account` set to its name."
3086
+ }
3087
+ ],
3088
+ mentions: ["account", "company", "portfolio company", "upload"]
3089
+ },
3090
+ {
3091
+ slug: "talonic-create-account",
3092
+ parentSlug: "tools",
3093
+ title: "talonic_create_account",
3094
+ seoTitle: "talonic_create_account \u2014 Add a Company Account to Talonic",
3095
+ description: "MCP tool that creates a company account in a Talonic workspace, with aliases, so its documents, answers and SQL are kept apart from every other company.",
3096
+ content: [
3097
+ { type: "heading", level: 3, id: "create-account-when-to-use", text: "When to use" },
3098
+ {
3099
+ type: "list",
3100
+ ordered: false,
3101
+ items: [
3102
+ "The user is adding files for a company talonic_list_accounts does not show.",
3103
+ "Setting up a new workspace with one account per portfolio company."
3104
+ ]
3105
+ },
3106
+ {
3107
+ type: "paragraph",
3108
+ text: "Create an account for a company the workspace does not have yet. Parameters: `name` (required), `aliases` (other names it appears under in documents, e.g. its legal name), `description`."
3109
+ },
3110
+ {
3111
+ type: "paragraph",
3112
+ text: "Returns `{ id, name, aliases[], description, created_at }`. A name already in use returns 409."
3113
+ }
3114
+ ],
3115
+ related: [
3116
+ {
3117
+ label: "talonic_request_upload",
3118
+ slug: "talonic-request-upload"
3119
+ }
3120
+ ],
3121
+ faq: [
3122
+ {
3123
+ question: "Why give aliases?",
3124
+ answer: 'Documents name the same company differently ("Filu", "Filu Group GmbH"). Aliases let uploads and questions refer to the account by any of those names.'
3125
+ }
3126
+ ],
3127
+ mentions: ["account", "company", "portfolio company", "upload"]
3128
+ },
3037
3129
  {
3038
3130
  slug: "talonic-list-agent-tasks",
3039
3131
  parentSlug: "tools",