@bli-cockpit/mcp 0.1.45 → 0.1.47

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 CHANGED
@@ -34,7 +34,7 @@ about what an agent can reach.
34
34
 
35
35
  <!-- BEGIN GENERATED verb census — `npm run mcp:readme` -->
36
36
 
37
- **94 of 98 Tower verbs have an MCP twin.**
37
+ **94 of 99 Tower verbs have an MCP twin.**
38
38
  Each tool goes through the SAME door its CLI verb calls, with the same
39
39
  collector device token — never a second route and never a service-role
40
40
  reader. `src/verb-census.test.ts` fails when a verb is in none of the
@@ -152,7 +152,8 @@ A claim about the verb's nature, not a backlog.
152
152
  | `cockpit brief edit` | opens the person's own $EDITOR on this machine and files what they changed; an agent has no editor to open (commands/editor.ts) |
153
153
  | `cockpit cal add-ical` | carries a calendar's SECRET iCal ADDRESS — a permanent, unauthenticated, read-anything-on-that-calendar URL. The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so attaching a calendar stays a thing a person does at a terminal (BLI-3709) |
154
154
  | `cockpit mail add-imap` | carries a Google app password. The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so attaching a mailbox stays a thing a person does at a terminal (BLI-3708) |
155
- | `cockpit notes connect` | carries a notetaker API key (Fathom today, Granola next). The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so connecting a notetaker stays a thing a person does at a terminal or in Tower's Settings (BLI-4383) |
155
+ | `cockpit notes connect` | carries a notetaker API key (Fellow or Circleback). The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so connecting a notetaker stays a thing a person does at a terminal or in Tower's Settings (BLI-4383) |
156
+ | `cockpit notes webhook` | carries the VENDOR's webhook signing secret, the key an HMAC over every delivered payload is checked against. Exactly the ruling `notes connect` already carries, for the same credential shape: the CLI reads it from STDIN so it never lands in an argument list, and an MCP tool argument travels through a model's context window and whatever transcript store sits behind it (BLI-4394) |
156
157
 
157
158
  <!-- END GENERATED verb census -->
158
159
 
@@ -30,10 +30,11 @@ export function registerNotesAccountTools(server, deps) {
30
30
  const register = registrarFor(server);
31
31
  register("notes_accounts", {
32
32
  title: "List connected notetakers",
33
- description: "Every notetaker account (Fathom, and later Granola) connected to Tower that you may see: name, provider, "
34
- + "health and when it was last read. Start here when you need an account id. Connecting one is NOT available "
35
- + "here on purpose — it carries an API key, so it is done at a terminal with `cockpit notes connect "
36
- + "--provider fathom --key-stdin` or in Tower's Settings.",
33
+ description: "Every notetaker account (Fellow or Circleback; Otter and Granola are named but not connectable) connected to "
34
+ + "Tower that you may see: name, provider, workspace, health and when it was last read. Start here when you "
35
+ + "need an account id. Connecting one is NOT available here on purpose — it carries an API key, so it is done "
36
+ + "at a terminal with `cockpit notes connect --provider fellow --workspace <subdomain> --key-stdin` or in "
37
+ + "Tower's Settings.",
37
38
  inputSchema: {},
38
39
  }, async () => withSession(deps, async (session) => {
39
40
  const response = await callAgentDoor(session, deps.fetchImpl, "GET", "/api/notes/accounts");
@@ -41,7 +42,7 @@ export function registerNotesAccountTools(server, deps) {
41
42
  return errorResult(doorFailureText("notes_accounts", response));
42
43
  const accounts = (Array.isArray(response.body.accounts) ? response.body.accounts : []);
43
44
  return textResult(accounts.length === 0
44
- ? "No notetaker is connected. A person connects one with `cockpit notes connect --provider fathom --key-stdin`, or in Tower's Settings."
45
+ ? "No notetaker is connected. A person connects one with `cockpit notes connect --provider fellow --workspace <subdomain> --key-stdin`, or in Tower's Settings."
45
46
  : `${accounts.length} notetaker(s).\n${accounts.map(accountLine).join("\n")}`, { accounts });
46
47
  }));
47
48
  register("notes_sync", {
@@ -355,7 +355,8 @@ export const TERMINAL_ONLY = {
355
355
  "mail add-imap": "carries a Google app password. The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so attaching a mailbox stays a thing a person does at a terminal (BLI-3708)",
356
356
  "cal add-ical": "carries a calendar's SECRET iCal ADDRESS — a permanent, unauthenticated, read-anything-on-that-calendar URL. The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so attaching a calendar stays a thing a person does at a terminal (BLI-3709)",
357
357
  "brief edit": "opens the person's own $EDITOR on this machine and files what they changed; an agent has no editor to open (commands/editor.ts)",
358
- "notes connect": "carries a notetaker API key (Fathom today, Granola next). The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so connecting a notetaker stays a thing a person does at a terminal or in Tower's Settings (BLI-4383)",
358
+ "notes connect": "carries a notetaker API key (Fellow or Circleback). The CLI reads it from STDIN precisely so it never lands in an argument list; an MCP tool argument travels through a model's context window and whatever transcript store sits behind it, so connecting a notetaker stays a thing a person does at a terminal or in Tower's Settings (BLI-4383)",
359
+ "notes webhook": "carries the VENDOR's webhook signing secret, the key an HMAC over every delivered payload is checked against. Exactly the ruling `notes connect` already carries, for the same credential shape: the CLI reads it from STDIN so it never lands in an argument list, and an MCP tool argument travels through a model's context window and whatever transcript store sits behind it (BLI-4394)",
359
360
  };
360
361
  /**
361
362
  * Verbs owed a twin, with who owes it. This list should only ever shrink.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bli-cockpit/mcp",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "private": false,
5
5
  "description": "bli-tower: an MCP server over BLI Cockpit's agent doors: JARVIS (jarvis_*), documents (docs_*), channels (msg_*), issues (work_*), the daily page (brief_*), meeting notes (notes_*), the ops board (ops_status/slack_*), settings/team/model, Scout and the workbook, plus the legacy event-stream tools (emit_event, get_ticket_timeline, get_active_tickets).",
6
6
  "type": "module",