@sendora/mcp 2.0.15 → 2.0.16

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.15";
363
+ var MCP_VERSION = "2.0.16";
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.15";
363
+ var MCP_VERSION = "2.0.16";
364
364
 
365
365
  // screens/host.ts
366
366
  var PROTOCOL_VERSION = "2026-01-26";
package/dist/prompts.js CHANGED
@@ -23,7 +23,7 @@ export function registerPrompts(server) {
23
23
  }, ({ framework }) => asking([
24
24
  `Set up Sendora for transactional email in this project, which uses ${forFramework(framework)}.`,
25
25
  '',
26
- "1. Read sendora://docs/quickstart and the skill for the project's SDK, sendora://sdk/skill for TypeScript, sendora://sdk/python/skill for Python, sendora://sdk/php/skill for PHP, sendora://sdk/java/skill for Java or Kotlin, sendora://sdk/dotnet/skill for .NET or sendora://sdk/go/skill for Go, with read_doc before writing any code, and follow the skill's rules. In a Laravel app, read sendora://docs/laravel and sendora://sdk/laravel/readme too, in a Symfony app sendora://docs/symfony, in a Django app sendora://docs/django, in a Next.js app sendora://docs/nextjs, in an Express app sendora://docs/express, in a Gin app sendora://docs/gin, in an Echo app sendora://docs/echo and in a Fiber app sendora://docs/fiber.",
26
+ "1. Read sendora://docs/quickstart and the skill for the project's SDK, sendora://sdk/skill for TypeScript, sendora://sdk/python/skill for Python, sendora://sdk/php/skill for PHP, sendora://sdk/java/skill for Java or Kotlin, sendora://sdk/dotnet/skill for .NET or sendora://sdk/go/skill for Go, with read_doc before writing any code, and follow the skill's rules. In a Laravel app, read sendora://docs/laravel and sendora://sdk/laravel/readme too, in a Symfony app sendora://docs/symfony, in a Django app sendora://docs/django, in a Next.js app sendora://docs/nextjs, in an Express app sendora://docs/express, in an ASP.NET Core app sendora://docs/aspnet-core, in a Gin app sendora://docs/gin, in an Echo app sendora://docs/echo and in a Fiber app sendora://docs/fiber.",
27
27
  "2. Install the SDK for the project's language, @sendora/sdk for TypeScript or JavaScript, sendora for Python, sendora/sendora-php for PHP, sendora/sendora-laravel in a Laravel app, se.sendora:sendora-java for Java or Kotlin, the NuGet package Sendora for .NET 10 or newer, with Sendora.AspNetCore in an ASP.NET Core app, or sendora.se/go/sendora for Go, and construct the client once at startup from SENDORA_API_TOKEN in the environment; in any other language, call the HTTP API with that key. Take the Java SDK from Sendora's own Maven repository, https://maven.sendora.se, for the group se.sendora alone, and add the signature check that sendora://sdk/java/readme shows. In a .NET app with a host, register the client with builder.Services.AddSendora(builder.Configuration), which reads the same variable. Never write a key into a file under version control, and never print one.",
28
28
  '3. Add a function that sends one message, with the idempotency the SDK gives every send, or an Idempotency-Key header over HTTP.',
29
29
  '4. If a test server key is connected here, send a test to delivered@simulator.sendora.se and to hardbounce@simulator.sendora.se, and show me how each ended; otherwise tell me how to connect one (sendora://docs/test-servers).',
@@ -61,7 +61,7 @@ export function registerPrompts(server) {
61
61
  "- In a Laravel app, the package's route, which checks each signature and fires a Laravel event, as sendora://docs/laravel shows.",
62
62
  "- In a Symfony app, SendoraRequestParser through Symfony's Webhook component, as sendora://docs/symfony shows.",
63
63
  '- In Java or Kotlin, WebhookVerifier.of(secret).verify() with the raw body as bytes and the header.',
64
- "- In an ASP.NET Core app, MapSendoraWebhooks from Sendora.AspNetCore, which checks each signature and calls your SendoraWebhookHandler's method for the event. It reads the secret from the setting Sendora:WebhookSecret, which the variable Sendora__WebhookSecret sets.",
64
+ "- In an ASP.NET Core app, MapSendoraWebhooks from Sendora.AspNetCore, which checks each signature and calls your SendoraWebhookHandler's method for the event, as sendora://docs/aspnet-core shows. It reads the secret from the setting Sendora:WebhookSecret, which the variable Sendora__WebhookSecret sets.",
65
65
  '- In any other .NET app, new WebhookVerifier(secret).Verify() with the raw body as bytes and the header.',
66
66
  '- In Go, the http.Handler from sendora.NewWebhookHandler on net/http, as sendora://docs/gin shows in a Gin route through gin.WrapH and sendora://docs/echo in an Echo route through echo.WrapHandler, and elsewhere sendora.VerifyWebhook with the raw body as bytes, the header and the secret, as sendora://docs/fiber shows in a Fiber route with c.BodyRaw().',
67
67
  '- In any other language, the recipe in sendora://docs/webhooks.',
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.15';
2
+ export const MCP_VERSION = '2.0.16';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendora/mcp",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
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",
43
42
  "@sendora/db": "0.0.0",
44
43
  "@sendora/domain": "0.0.0",
45
44
  "@sendora/observability": "0.0.0",
46
- "@sendora/site": "0.0.0"
45
+ "@sendora/site": "0.0.0",
46
+ "@sendora/api": "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})\"",