@sendora/mcp 2.0.16 → 2.0.17

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.
@@ -360,7 +360,7 @@ button:focus-visible {
360
360
  }
361
361
 
362
362
  // src/version.ts
363
- var MCP_VERSION = "2.0.16";
363
+ var MCP_VERSION = "2.0.17";
364
364
 
365
365
  // screens/host.ts
366
366
  var PROTOCOL_VERSION = "2026-01-26";
@@ -360,7 +360,7 @@ button:focus-visible {
360
360
  }
361
361
 
362
362
  // src/version.ts
363
- var MCP_VERSION = "2.0.16";
363
+ var MCP_VERSION = "2.0.17";
364
364
 
365
365
  // screens/host.ts
366
366
  var PROTOCOL_VERSION = "2026-01-26";
@@ -1,4 +1,5 @@
1
1
  import { KEYS_PAGE, } from './connection.js';
2
+ import { pageName } from './dashboard-words.js';
2
3
  import { INDEX_URI } from './docs.js';
3
4
  import { grantNote, LIVE_NOTE, SIMULATOR_NOTE, WRITES_OFF_NOTE } from './tools/server.js';
4
5
  const ABOUT = "Sendora is a transactional email service: an HTTP API, SMTP submission, SDKs for TypeScript (@sendora/sdk), Python (sendora), PHP (sendora/sendora-php, and sendora/sendora-laravel for Laravel), Java (se.sendora:sendora-java), .NET (Sendora, and Sendora.AspNetCore for ASP.NET Core) and Go (sendora.se/go/sendora), signed webhooks and a message log with every delivery event. This server carries Sendora's documentation, and with a key, tools for that key's server or account.";
@@ -7,7 +8,7 @@ const KEYS = 'Never print or repeat a Sendora key, and never write one into a fi
7
8
  const TEST_DASHBOARD = `A person makes and revokes this server's keys in the dashboard, ${KEYS_PAGE}.`;
8
9
  const LIVE_DASHBOARD = `A person makes and revokes this server's keys, and makes and deletes its webhooks, in the dashboard, ${KEYS_PAGE}, with changes on or off, since a new key or signing secret must not reach this conversation.`;
9
10
  const ACCOUNT_DASHBOARD = `A server and a key are made in the dashboard, ${KEYS_PAGE}, since a new key is a secret this conversation must not see; a live server is deleted there too.`;
10
- const GRANT_LIMITS = `Through a connected app, webhooks and what cannot be undone happen on test servers alone, and the account is read only. A person makes and revokes keys, and does the rest, in the dashboard, ${KEYS_PAGE}. The person sees and ends this connection in the dashboard's user menu, under Connected apps (Anslutna appar).`;
11
+ const GRANT_LIMITS = `Through a connected app, webhooks and what cannot be undone happen on test servers alone, and the account is read only. A person makes and revokes keys, and does the rest, in the dashboard, ${KEYS_PAGE}. The person sees and ends this connection in the dashboard's user menu, under ${pageName('apps')}.`;
11
12
  function serverName(connection) {
12
13
  return connection.server === undefined
13
14
  ? `a ${connection.kind} server the API could not name when this connection opened`
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { ALLOW_CHANGES } from '../dashboard-words.js';
2
3
  import { toolError } from '../errors.js';
3
4
  import { registerServerTool } from '../target.js';
4
5
  import { READING } from '../tool.js';
@@ -7,7 +8,7 @@ export const SIMULATOR_NOTE = `Nothing sent from this test server is delivered.
7
8
  export const LIVE_NOTE = 'This is a live server: mail sent from it reaches real people, and the log and the suppression list hold real addresses.';
8
9
  export const WRITES_OFF_NOTE = "Changes are off for this connection, so it only reads. The user turns them on with --allow-writes (or SENDORA_ALLOW_WRITES=true) where the server runs locally, or the header 'Sendora-Allow-Writes: true' on the hosted server.";
9
10
  /** A connected app's WRITES_OFF_NOTE: the person chose when they approved it. */
10
- const LIVE_READS_NOTE = 'The person who approved this connection allowed no changes on live servers, so it only reads this one. They can connect the app again and tick "Tillåt ändringar på liveservrar" on the approval page.';
11
+ const LIVE_READS_NOTE = `The person who approved this connection allowed no changes on live servers, so it only reads this one. They can connect the app again and tick ${ALLOW_CHANGES} on the approval page.`;
11
12
  /** What a connected app's connection reaches, which its instructions and get_server name. */
12
13
  export function grantNote(grant) {
13
14
  const servers = grant.servers
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** This package's version, held equal to its package.json by a test. */
2
- export const MCP_VERSION = '2.0.16';
2
+ export const MCP_VERSION = '2.0.17';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendora/mcp",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "The official MCP server for Sendora: its documentation and API for coding agents.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -39,11 +39,11 @@
39
39
  "fflate": "^0.8.3",
40
40
  "typescript": "~7.0.2",
41
41
  "vitest": "^4.1.11",
42
+ "@sendora/api": "0.0.0",
42
43
  "@sendora/db": "0.0.0",
43
44
  "@sendora/domain": "0.0.0",
44
45
  "@sendora/observability": "0.0.0",
45
- "@sendora/site": "0.0.0",
46
- "@sendora/api": "0.0.0"
46
+ "@sendora/site": "0.0.0"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "pnpm --filter @sendora/sdk build && node scripts/build-docs.ts && node scripts/build-screens.ts && node -e \"fs.rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json && node -e \"fs.mkdirSync('dist/generated',{recursive:true});fs.copyFileSync('src/generated/docs.json','dist/generated/docs.json');fs.cpSync('src/generated/screens','dist/generated/screens',{recursive:true})\"",