postmark-mcp 1.0.0 → 1.0.2
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/.env.example +4 -4
- package/index.js +1 -6
- package/package.json +8 -20
package/.env.example
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
2
|
-
POSTMARK_SERVER_TOKEN=your-postmark-server-token
|
3
|
-
DEFAULT_SENDER_EMAIL=
|
4
|
-
DEFAULT_MESSAGE_STREAM=outbound
|
1
|
+
# Secure your tokens properly! We advise not putting your tokens directly in code if it will be hosted.
|
2
|
+
POSTMARK_SERVER_TOKEN=your-postmark-server-token
|
3
|
+
DEFAULT_SENDER_EMAIL=info@example.com
|
4
|
+
DEFAULT_MESSAGE_STREAM=outbound
|
package/index.js
CHANGED
@@ -123,11 +123,6 @@ function registerTools(server, postmarkClient) {
|
|
123
123
|
"sendEmail",
|
124
124
|
{
|
125
125
|
to: z.string().email().describe("Recipient email address"),
|
126
|
-
subject: z.string().describe("Email subject"),
|
127
|
-
textBody: z.string().describe("Plain text body of the email"),
|
128
|
-
htmlBody: z.string().optional().describe("HTML body of the email (optional)"),
|
129
|
-
from: z.string().email().optional().describe("Sender email address (optional, uses default if not provided)"),
|
130
|
-
tag: z.string().optional().describe("Optional tag for categorization")
|
131
126
|
},
|
132
127
|
async ({ to, subject, textBody, htmlBody, from, tag }) => {
|
133
128
|
const emailData = {
|
@@ -284,4 +279,4 @@ function registerTools(server, postmarkClient) {
|
|
284
279
|
main().catch((error) => {
|
285
280
|
console.error('💥 Failed to start server:', error.message);
|
286
281
|
process.exit(1);
|
287
|
-
});
|
282
|
+
});
|
package/package.json
CHANGED
@@ -1,31 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "postmark-mcp",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.2",
|
4
4
|
"description": "Universal Postmark MCP server using official SDK",
|
5
5
|
"main": "index.js",
|
6
6
|
"type": "module",
|
7
|
-
"bin": {
|
8
|
-
"postmark-mcp": "./index.js"
|
9
|
-
},
|
10
|
-
"files": [
|
11
|
-
"index.js",
|
12
|
-
"README.md",
|
13
|
-
"LICENSE",
|
14
|
-
".env.example"
|
15
|
-
],
|
16
7
|
"scripts": {
|
17
8
|
"start": "node index.js",
|
18
9
|
"inspector": "npx @modelcontextprotocol/inspector index.js"
|
19
10
|
},
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
"url": "https://github.com/ActiveCampaign/postmark-mcp/issues"
|
27
|
-
},
|
28
|
-
"keywords": ["postmark", "email", "mcp", "ai", "model-context-protocol"],
|
11
|
+
"keywords": [
|
12
|
+
"postmark",
|
13
|
+
"email",
|
14
|
+
"mcp",
|
15
|
+
"ai"
|
16
|
+
],
|
29
17
|
"author": "Jabal Torres",
|
30
18
|
"license": "MIT",
|
31
19
|
"dependencies": {
|
@@ -35,4 +23,4 @@
|
|
35
23
|
"postmark": "^4.0.5",
|
36
24
|
"zod": "^3.23.8"
|
37
25
|
}
|
38
|
-
}
|
26
|
+
}
|