@agenticmail/mcp 0.5.39 → 0.5.40
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/dist/index.js +4 -0
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -129,6 +129,7 @@ async function heartbeat() {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
// src/tools.ts
|
|
132
|
+
import { recordToolCall } from "@agenticmail/core";
|
|
132
133
|
var API_URL = process.env.AGENTICMAIL_API_URL ?? "http://127.0.0.1:3100";
|
|
133
134
|
var API_KEY = process.env.AGENTICMAIL_API_KEY ?? "";
|
|
134
135
|
var MASTER_KEY = process.env.AGENTICMAIL_MASTER_KEY ?? "";
|
|
@@ -1020,6 +1021,7 @@ function mcpBuildSecuritySection(security, attachments) {
|
|
|
1020
1021
|
${lines.join("\n")}`;
|
|
1021
1022
|
}
|
|
1022
1023
|
async function handleToolCall(name, args) {
|
|
1024
|
+
recordToolCall(name);
|
|
1023
1025
|
const useMaster = MASTER_KEY_TOOLS.has(name);
|
|
1024
1026
|
switch (name) {
|
|
1025
1027
|
case "send_email": {
|
|
@@ -2171,6 +2173,8 @@ ${lines.join("\n")}`;
|
|
|
2171
2173
|
}
|
|
2172
2174
|
|
|
2173
2175
|
// src/index.ts
|
|
2176
|
+
import { setTelemetryVersion } from "@agenticmail/core";
|
|
2177
|
+
setTelemetryVersion("0.5.39");
|
|
2174
2178
|
var server = new McpServer({
|
|
2175
2179
|
name: "\u{1F380} AgenticMail",
|
|
2176
2180
|
version: "0.2.26",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticmail/mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.40",
|
|
4
4
|
"description": "MCP server for AgenticMail \u2014 give any AI client real email and SMS capabilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
31
|
-
"zod": "^3.24.0"
|
|
31
|
+
"zod": "^3.24.0",
|
|
32
|
+
"@agenticmail/core": "^0.5.39"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"tsup": "^8.4.0",
|
|
@@ -62,4 +63,4 @@
|
|
|
62
63
|
},
|
|
63
64
|
"author": "Ope Olatunji",
|
|
64
65
|
"license": "MIT"
|
|
65
|
-
}
|
|
66
|
+
}
|