@sendora/mcp 2.0.8 → 2.0.10

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.8";
363
+ var MCP_VERSION = "2.0.10";
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.8";
363
+ var MCP_VERSION = "2.0.10";
364
364
 
365
365
  // screens/host.ts
366
366
  var PROTOCOL_VERSION = "2026-01-26";
@@ -1,8 +1,8 @@
1
1
  import { KEYS_PAGE, } from './connection.js';
2
2
  import { INDEX_URI } from './docs.js';
3
3
  import { grantNote, LIVE_NOTE, SIMULATOR_NOTE, WRITES_OFF_NOTE } from './tools/server.js';
4
- 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) and Java (se.sendora:sendora-java), 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.";
5
- const DOCS = `Use 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, which installs it, or se.sendora:sendora-java for Java or Kotlin; the HTTP API otherwise. The Java SDK comes from Sendora's own Maven repository, https://maven.sendora.se, not from Maven Central. Before writing code, find the answer with search_docs and read the document with read_doc; ${INDEX_URI} lists them all, and sendora://sdk/skill, sendora://sdk/python/skill, sendora://sdk/php/skill and sendora://sdk/java/skill hold the rules an agent must keep with each SDK.`;
4
+ 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) 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.";
5
+ const DOCS = `Use 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, which installs it, se.sendora:sendora-java for Java or Kotlin, or sendora.se/go/sendora for Go (a project with a go.mod); the HTTP API otherwise. The Java SDK comes from Sendora's own Maven repository, https://maven.sendora.se, not from Maven Central. Before writing code, find the answer with search_docs and read the document with read_doc; ${INDEX_URI} lists them all, and sendora://sdk/skill, sendora://sdk/python/skill, sendora://sdk/php/skill, sendora://sdk/java/skill and sendora://sdk/go/skill hold the rules an agent must keep with each SDK.`;
6
6
  const KEYS = 'Never print or repeat a Sendora key, and never write one into a file under version control; keys belong in the environment.';
7
7
  const TEST_DASHBOARD = `A person makes and revokes this server's keys in the dashboard, ${KEYS_PAGE}.`;
8
8
  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.`;
package/dist/prompts.js CHANGED
@@ -23,8 +23,8 @@ 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 or sendora://sdk/java/skill for Java or Kotlin, 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 and in an Express app sendora://docs/express.",
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 or se.sendora:sendora-java for Java or Kotlin, 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. Never write a key into a file under version control, and never print one.",
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 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 and in an Express app sendora://docs/express.",
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 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. 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).',
30
30
  '5. Add a webhook endpoint that verifies every delivery before it parses it, as sendora://docs/webhooks shows.',
@@ -53,6 +53,6 @@ export function registerPrompts(server) {
53
53
  }, ({ framework }) => asking([
54
54
  `Make this project's Sendora webhook endpoint in ${forFramework(framework)} verify every delivery.`,
55
55
  '',
56
- "Read sendora://docs/webhooks first. Before anything parses the body, verify it with the SDK for the project's language: in TypeScript verifyWebhook with the raw body and the Sendora-Signature header, or webhooks.receive with a Fetch Request, as sendora://docs/nextjs shows in a Next.js route handler and sendora://docs/express in Express, where express.raw() keeps the raw body on a router mounted before express.json(); in Python verify_webhook with the raw body and the header, as sendora://docs/django shows in a Django view, which reads the raw body with request.read() and is exempt from the CSRF check; in PHP WebhookVerifier::verify() with the raw body, the header and the secret; in a Laravel app the package's route, which checks each signature and fires a Laravel event, as sendora://docs/laravel shows; in a Symfony app SendoraRequestParser through Symfony's Webhook component, as sendora://docs/symfony shows; in Java or Kotlin WebhookVerifier.of(secret).verify() with the raw body as bytes and the header; in any other language, the recipe in sendora://docs/webhooks. Answer 2xx quickly and do the work afterwards; key the handling on the event id, since deliveries arrive at least once. Keep the secret in the environment. Then test it: if a test server key is connected here, replay a delivery and check that the endpoint accepted it.",
56
+ "Read sendora://docs/webhooks first. Before anything parses the body, verify it with the SDK for the project's language: in TypeScript verifyWebhook with the raw body and the Sendora-Signature header, or webhooks.receive with a Fetch Request, as sendora://docs/nextjs shows in a Next.js route handler and sendora://docs/express in Express, where express.raw() keeps the raw body on a router mounted before express.json(); in Python verify_webhook with the raw body and the header, as sendora://docs/django shows in a Django view, which reads the raw body with request.read() and is exempt from the CSRF check; in PHP WebhookVerifier::verify() with the raw body, the header and the secret; in a Laravel app the package's route, which checks each signature and fires a Laravel event, as sendora://docs/laravel shows; in a Symfony app SendoraRequestParser through Symfony's Webhook component, as sendora://docs/symfony shows; in Java or Kotlin WebhookVerifier.of(secret).verify() with the raw body as bytes and the header; in Go the http.Handler from sendora.NewWebhookHandler on net/http, and elsewhere sendora.VerifyWebhook with the raw body as bytes, the header and the secret; in any other language, the recipe in sendora://docs/webhooks. Answer 2xx quickly and do the work afterwards; key the handling on the event id, since deliveries arrive at least once. Keep the secret in the environment. Then test it: if a test server key is connected here, replay a delivery and check that the endpoint accepted it.",
57
57
  ].join('\n')));
58
58
  }
@@ -96,6 +96,7 @@ export const sendBroadcastTool = {
96
96
  inputSchema: broadcastInput,
97
97
  outputSchema: acceptedBroadcastOutput,
98
98
  annotations: {
99
+ title: 'Send a test broadcast',
99
100
  readOnlyHint: false,
100
101
  destructiveHint: true,
101
102
  idempotentHint: false,
@@ -129,7 +130,7 @@ export const getBroadcastTool = {
129
130
  description: 'Reads a broadcast of this server and how far it has come: released and failed move as its messages leave, and status is completed once none is left. Where its mail is tracked, it also counts the recipients who opened and clicked, and those likely to be people, in all and per link. Each of its messages is in the log; search_messages with its broadcastId finds them.',
130
131
  inputSchema: broadcastIdInput,
131
132
  outputSchema: broadcastDetailOutput,
132
- annotations: READING,
133
+ annotations: { title: 'Read a broadcast', ...READING },
133
134
  }, async ({ broadcastId }, { sendora }) => {
134
135
  try {
135
136
  const broadcast = await sendora.broadcasts.get(broadcastId);
@@ -156,6 +157,7 @@ export const cancelBroadcastTool = {
156
157
  inputSchema: broadcastIdInput,
157
158
  outputSchema: broadcastOutput,
158
159
  annotations: {
160
+ title: 'Cancel a broadcast',
159
161
  readOnlyHint: false,
160
162
  destructiveHint: true,
161
163
  idempotentHint: true,
@@ -35,7 +35,7 @@ export const docsTools = [
35
35
  outputSchema: z.object({
36
36
  results: z.array(hitSchema).describe('The best-matching sections, the best first.'),
37
37
  }),
38
- annotations: READING,
38
+ annotations: { title: 'Search the Sendora docs', ...READING },
39
39
  }, ({ query, limit }) => {
40
40
  const output = { results: docs.search(query, limit) };
41
41
  return {
@@ -52,11 +52,11 @@ export const docsTools = [
52
52
  operations: [],
53
53
  register: (server, { docs }) => server.registerTool('read_doc', {
54
54
  title: 'Read a Sendora document',
55
- description: `Read one of Sendora's documents whole, as Markdown: a guide (sendora://docs/…), an API operation (sendora://reference/…), the error codes (sendora://errors) or an SDK's README and rules for agents (sendora://sdk/readme and sendora://sdk/skill for TypeScript, sendora://sdk/python/readme and sendora://sdk/python/skill for Python, sendora://sdk/php/readme and sendora://sdk/php/skill for PHP, sendora://sdk/laravel/readme for Laravel, and sendora://sdk/java/readme and sendora://sdk/java/skill for Java). ${INDEX_URI} lists every document; search_docs finds the right one.`,
55
+ description: `Read one of Sendora's documents whole, as Markdown: a guide (sendora://docs/…), an API operation (sendora://reference/…), the error codes (sendora://errors) or an SDK's README and rules for agents (sendora://sdk/readme and sendora://sdk/skill for TypeScript, sendora://sdk/python/readme and sendora://sdk/python/skill for Python, sendora://sdk/php/readme and sendora://sdk/php/skill for PHP, sendora://sdk/laravel/readme for Laravel, sendora://sdk/java/readme and sendora://sdk/java/skill for Java, and sendora://sdk/go/readme and sendora://sdk/go/skill for Go). ${INDEX_URI} lists every document; search_docs finds the right one.`,
56
56
  inputSchema: z.object({
57
57
  uri: z.string().min(1).describe(`A document's address, such as ${INDEX_URI}.`),
58
58
  }),
59
- annotations: READING,
59
+ annotations: { title: 'Read a Sendora document', ...READING },
60
60
  }, ({ uri }) => {
61
61
  const doc = docs.find(uri);
62
62
  if (doc === undefined) {
@@ -58,7 +58,7 @@ export const listDomainsTool = {
58
58
  outputSchema: z.object({
59
59
  domains: z.array(domainOutput).describe('Every sending domain of the account.'),
60
60
  }),
61
- annotations: READING,
61
+ annotations: { title: 'List the sending domains', ...READING },
62
62
  }, async () => {
63
63
  try {
64
64
  const list = await accountConnectionOf(connection).account.domains.list();
@@ -87,7 +87,7 @@ export const checkDomainTool = {
87
87
  domainId: z.uuid().describe('The domain, from list_domains or add_domain.'),
88
88
  }),
89
89
  outputSchema: checkedDomainOutput,
90
- annotations: { ...READING, openWorldHint: true },
90
+ annotations: { title: 'Check a sending domain', ...READING, openWorldHint: true },
91
91
  _meta: shownIn(domainRecords),
92
92
  }, async ({ domainId }) => {
93
93
  try {
@@ -120,6 +120,7 @@ export const addDomainTool = {
120
120
  }),
121
121
  outputSchema: domainOutput,
122
122
  annotations: {
123
+ title: 'Add a sending domain',
123
124
  readOnlyHint: false,
124
125
  destructiveHint: false,
125
126
  idempotentHint: false,
@@ -41,7 +41,7 @@ export const listInboundDomainsTool = {
41
41
  outputSchema: z.object({
42
42
  domains: z.array(inboundDomainOutput).describe('Every inbound domain of the server.'),
43
43
  }),
44
- annotations: READING,
44
+ annotations: { title: 'List the domains for receiving', ...READING },
45
45
  }, async (_input, { sendora }) => {
46
46
  try {
47
47
  const list = await sendora.inboundDomains.list();
@@ -69,7 +69,7 @@ export const checkInboundDomainTool = {
69
69
  inboundDomainId: z.uuid().describe('The domain, from list_inbound_domains.'),
70
70
  }),
71
71
  outputSchema: checkedInboundDomainOutput,
72
- annotations: { ...READING, openWorldHint: true },
72
+ annotations: { title: 'Check a domain for receiving', ...READING, openWorldHint: true },
73
73
  }, async ({ inboundDomainId }, { sendora }) => {
74
74
  try {
75
75
  const domain = await sendora.inboundDomains.verify(inboundDomainId);
@@ -101,6 +101,7 @@ export const addInboundDomainTool = {
101
101
  }),
102
102
  outputSchema: inboundDomainOutput,
103
103
  annotations: {
104
+ title: 'Add a domain for receiving',
104
105
  readOnlyHint: false,
105
106
  destructiveHint: false,
106
107
  idempotentHint: false,
@@ -164,7 +164,7 @@ export const searchInboundTool = {
164
164
  .nullable()
165
165
  .describe('Pass as after for the next page; null on the last.'),
166
166
  }),
167
- annotations: READING,
167
+ annotations: { title: 'Search received mail', ...READING },
168
168
  }, async (search, { sendora }) => {
169
169
  try {
170
170
  const page = await sendora.inbound.search(search);
@@ -194,7 +194,7 @@ export const readInboundMessageTool = {
194
194
  includeHtml: z.boolean().default(false).describe('Also answer the HTML body.'),
195
195
  includeHeaders: z.boolean().default(false).describe('Also answer every header.'),
196
196
  }),
197
- annotations: READING,
197
+ annotations: { title: 'Read a received message', ...READING },
198
198
  }, async ({ inboundMessageId, includeHtml, includeHeaders }, { sendora }) => {
199
199
  let message;
200
200
  try {
@@ -27,7 +27,7 @@ export const listKeysTool = {
27
27
  outputSchema: z.object({
28
28
  tokens: z.array(listedKeyOutput).describe("The server's keys."),
29
29
  }),
30
- annotations: READING,
30
+ annotations: { title: "List the server's keys", ...READING },
31
31
  }, async (_input, { sendora, ownKey }) => {
32
32
  try {
33
33
  const { tokens } = await sendora.tokens.list();
@@ -202,7 +202,7 @@ export const searchMessagesTool = {
202
202
  .nullable()
203
203
  .describe('Pass as after for the next page; null on the last.'),
204
204
  }),
205
- annotations: READING,
205
+ annotations: { title: 'Search the message log', ...READING },
206
206
  }, async (search, { sendora }) => {
207
207
  try {
208
208
  const page = await sendora.messages.search(search);
@@ -231,7 +231,7 @@ export const getMessageTool = {
231
231
  messageId: z.uuid().describe('The message, from send_email or search_messages.'),
232
232
  }),
233
233
  outputSchema: messageDetailOutput,
234
- annotations: READING,
234
+ annotations: { title: 'Read one message and its timeline', ...READING },
235
235
  _meta: shownIn(messageTimeline),
236
236
  }, async ({ messageId }, { sendora }) => {
237
237
  try {
@@ -122,6 +122,7 @@ export const sendEmailTool = {
122
122
  inputSchema: sendInput,
123
123
  outputSchema: sentOutput,
124
124
  annotations: {
125
+ title: 'Send one email',
125
126
  readOnlyHint: false,
126
127
  destructiveHint: false,
127
128
  idempotentHint: false,
@@ -129,7 +129,7 @@ export const getServerTool = {
129
129
  description: connection.kind === 'grant' ? GRANT_DESCRIPTION : KEY_DESCRIPTION,
130
130
  inputSchema: z.object({}),
131
131
  outputSchema,
132
- annotations: READING,
132
+ annotations: { title: 'Read the server this key belongs to', ...READING },
133
133
  }, async (_input, { kind, writes, sendora }) => {
134
134
  const changes = kind === 'test' || writes;
135
135
  try {
@@ -41,7 +41,7 @@ export const listServersTool = {
41
41
  ? 'Every server this connection reaches.'
42
42
  : 'Every server of the account.'),
43
43
  }),
44
- annotations: READING,
44
+ annotations: { title: "List the account's servers", ...READING },
45
45
  }, async () => {
46
46
  try {
47
47
  const list = connection.kind === 'grant'
@@ -87,6 +87,7 @@ export const deleteTestServerTool = {
87
87
  name: z.string().describe('Its name, to tell the user which server went.'),
88
88
  }),
89
89
  annotations: {
90
+ title: 'Delete a test server',
90
91
  readOnlyHint: false,
91
92
  destructiveHint: true,
92
93
  idempotentHint: true,
@@ -34,6 +34,7 @@ export const createStreamTool = {
34
34
  }),
35
35
  outputSchema: streamOutput,
36
36
  annotations: {
37
+ title: 'Add a stream',
37
38
  readOnlyHint: false,
38
39
  destructiveHint: false,
39
40
  idempotentHint: false,
@@ -68,6 +69,7 @@ export const archiveStreamTool = {
68
69
  }),
69
70
  outputSchema: streamOutput,
70
71
  annotations: {
72
+ title: 'Archive a stream',
71
73
  readOnlyHint: false,
72
74
  destructiveHint: true,
73
75
  idempotentHint: true,
@@ -48,7 +48,7 @@ export const listSuppressionsTool = {
48
48
  .nullable()
49
49
  .describe('Pass as after for the next page; null on the last.'),
50
50
  }),
51
- annotations: READING,
51
+ annotations: { title: "List a stream's suppression list", ...READING },
52
52
  }, async (query, { sendora }) => {
53
53
  try {
54
54
  const page = await sendora.suppressions.list(query);
@@ -86,6 +86,7 @@ export const removeSuppressionTool = {
86
86
  }),
87
87
  outputSchema: removedOutput,
88
88
  annotations: {
89
+ title: 'Lift a suppression',
89
90
  readOnlyHint: false,
90
91
  destructiveHint: false,
91
92
  idempotentHint: true,
@@ -76,7 +76,7 @@ export const listTrackingDomainsTool = {
76
76
  .array(trackingDomainOutput)
77
77
  .describe('Every tracking domain of the account.'),
78
78
  }),
79
- annotations: READING,
79
+ annotations: { title: 'List the tracking domains', ...READING },
80
80
  }, async () => {
81
81
  try {
82
82
  const list = await accountConnectionOf(connection).account.trackingDomains.list();
@@ -105,7 +105,7 @@ export const checkTrackingDomainTool = {
105
105
  .describe('The tracking domain, from list_tracking_domains or add_tracking_domain.'),
106
106
  }),
107
107
  outputSchema: trackingDomainOutput,
108
- annotations: { ...READING, openWorldHint: true },
108
+ annotations: { title: 'Check a tracking domain', ...READING, openWorldHint: true },
109
109
  }, async ({ trackingDomainId }) => {
110
110
  try {
111
111
  const domain = await accountConnectionOf(connection).account.trackingDomains.verify(trackingDomainId);
@@ -135,6 +135,7 @@ export const addTrackingDomainTool = {
135
135
  }),
136
136
  outputSchema: trackingDomainOutput,
137
137
  annotations: {
138
+ title: 'Add a tracking domain',
138
139
  readOnlyHint: false,
139
140
  destructiveHint: false,
140
141
  idempotentHint: false,
@@ -46,7 +46,7 @@ export const listTrackingOptOutsTool = {
46
46
  .nullable()
47
47
  .describe('Pass as after for the next page; null on the last.'),
48
48
  }),
49
- annotations: READING,
49
+ annotations: { title: 'List the not-tracked addresses', ...READING },
50
50
  }, async (query, { sendora }) => {
51
51
  try {
52
52
  const page = await sendora.trackingOptOuts.list(query);
@@ -74,6 +74,7 @@ export const addTrackingOptOutTool = {
74
74
  }),
75
75
  outputSchema: trackingOptOutOutput,
76
76
  annotations: {
77
+ title: 'Add a not-tracked address',
77
78
  readOnlyHint: false,
78
79
  destructiveHint: false,
79
80
  idempotentHint: true,
@@ -114,6 +115,7 @@ export const removeTrackingOptOutTool = {
114
115
  }),
115
116
  outputSchema: removedTrackingOptOutOutput,
116
117
  annotations: {
118
+ title: 'Remove a not-tracked address',
117
119
  readOnlyHint: false,
118
120
  destructiveHint: false,
119
121
  idempotentHint: true,
@@ -101,7 +101,7 @@ export const listWebhooksTool = {
101
101
  outputSchema: z.object({
102
102
  webhooks: z.array(webhookOutput).describe("The server's webhooks."),
103
103
  }),
104
- annotations: READING,
104
+ annotations: { title: "List the server's webhooks", ...READING },
105
105
  }, async (_input, { sendora }) => {
106
106
  try {
107
107
  const list = await sendora.webhooks.list();
@@ -147,7 +147,7 @@ export const listWebhookDeliveriesTool = {
147
147
  .nullable()
148
148
  .describe('Pass as after for the next page; null on the last.'),
149
149
  }),
150
- annotations: READING,
150
+ annotations: { title: "List a webhook's deliveries", ...READING },
151
151
  }, async ({ webhookId: id, ...query }, { sendora }) => {
152
152
  try {
153
153
  const page = await sendora.webhooks.deliveries(id, query);
@@ -177,6 +177,7 @@ export const replayWebhookDeliveryTool = {
177
177
  }),
178
178
  outputSchema: deliveryOutput,
179
179
  annotations: {
180
+ title: 'Replay a webhook delivery',
180
181
  readOnlyHint: false,
181
182
  destructiveHint: false,
182
183
  idempotentHint: false,
@@ -204,10 +205,11 @@ export const createWebhookTool = {
204
205
  operations: ['POST /v1/webhooks'],
205
206
  register: (server, { connection, targets }) => registerServerTool(server, targets, 'create_webhook', {
206
207
  title: 'Add a webhook',
207
- description: "Adds a webhook to this test server and answers its signing secret, shown this once: put it in the project's environment, such as SENDORA_WEBHOOK_SECRET in .env, never in a file under version control, and verify every delivery with the SDK: webhooks.receive or verifyWebhook in TypeScript, verify_webhook in Python, WebhookVerifier::verify() in PHP, the package's route in Laravel, or WebhookVerifier.of(secret).verify() in Java or Kotlin. The API takes only a public https URL, so a local endpoint needs a tunnel. Events arrive as the simulator plays out each message.",
208
+ description: "Adds a webhook to this test server and answers its signing secret, shown this once: put it in the project's environment, such as SENDORA_WEBHOOK_SECRET in .env, never in a file under version control, and verify every delivery with the SDK: webhooks.receive or verifyWebhook in TypeScript, verify_webhook in Python, WebhookVerifier::verify() in PHP, the package's route in Laravel, WebhookVerifier.of(secret).verify() in Java or Kotlin, or sendora.NewWebhookHandler or sendora.VerifyWebhook in Go. The API takes only a public https URL, so a local endpoint needs a tunnel. Events arrive as the simulator plays out each message.",
208
209
  inputSchema: createWebhookInput,
209
210
  outputSchema: createdWebhookOutput,
210
211
  annotations: {
212
+ title: 'Add a webhook',
211
213
  readOnlyHint: false,
212
214
  destructiveHint: false,
213
215
  idempotentHint: false,
@@ -241,6 +243,7 @@ export const deleteWebhookTool = {
241
243
  webhookId: z.string().describe('The webhook deleted.'),
242
244
  }),
243
245
  annotations: {
246
+ title: 'Delete a webhook',
244
247
  readOnlyHint: false,
245
248
  destructiveHint: true,
246
249
  idempotentHint: true,
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.8';
2
+ export const MCP_VERSION = '2.0.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendora/mcp",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "description": "The official MCP server for Sendora: its documentation and API for coding agents.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "vitest": "^4.1.11",
42
42
  "@sendora/api": "0.0.0",
43
43
  "@sendora/db": "0.0.0",
44
- "@sendora/domain": "0.0.0",
45
44
  "@sendora/observability": "0.0.0",
45
+ "@sendora/domain": "0.0.0",
46
46
  "@sendora/site": "0.0.0"
47
47
  },
48
48
  "scripts": {