@mailfn/mcp 0.1.0 → 0.1.1
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/README.md +1 -1
- package/dist/server.js +1 -1
- package/package.json +44 -10
package/README.md
CHANGED
|
@@ -6,4 +6,4 @@ Agent-safe MCP server for focused MailFn workflows.
|
|
|
6
6
|
MAILFN_URL=https://mail.example.com MAILFN_TOKEN=... mailfn-mcp
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Tools cover expiring inbox creation, message wait/list/read, OTP/link extraction, and token
|
|
9
|
+
Tools cover expiring inbox creation, message wait/list/read, OTP/link extraction, and inbox deletion: `mailfn_revoke_inbox` deletes the inbox and revokes all of its inbox-scoped credentials. Revoke a single token with the CLI (`mailfn token revoke <inbox-id> <token-id>`) or `client.revokeToken()`. Tool schemas are narrow, results are redacted by default, and content or verification values require an explicit read/extract action. Give agents inbox-scoped credentials containing only the scopes needed for their task.
|
package/dist/server.js
CHANGED
|
@@ -67,7 +67,7 @@ export class MailFnMcpServer {
|
|
|
67
67
|
? requested
|
|
68
68
|
: SUPPORTED_PROTOCOL_VERSIONS[0],
|
|
69
69
|
capabilities: { tools: {} },
|
|
70
|
-
serverInfo: { name: 'mailfn', version: '0.1.
|
|
70
|
+
serverInfo: { name: 'mailfn', version: '0.1.1' },
|
|
71
71
|
}));
|
|
72
72
|
}
|
|
73
73
|
if (request.method === 'ping')
|
package/package.json
CHANGED
|
@@ -1,19 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailfn/mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Agent-safe MCP server for MailFn inbox workflows",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
6
|
+
"bin": {
|
|
7
|
+
"mailfn-mcp": "./dist/cli.js"
|
|
8
|
+
},
|
|
7
9
|
"main": "./dist/index.js",
|
|
8
10
|
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsc",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"lint": "tsc --noEmit",
|
|
26
|
+
"clean": "rm -rf dist"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"mailfn",
|
|
30
|
+
"mcp",
|
|
31
|
+
"agents",
|
|
32
|
+
"email"
|
|
33
|
+
],
|
|
13
34
|
"author": "21n",
|
|
14
35
|
"license": "MIT",
|
|
15
|
-
"repository": {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/21nCo/superfunctions.git",
|
|
39
|
+
"directory": "mailfn/mcp"
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@mailfn/client": "0.1.1"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^22.0.0",
|
|
49
|
+
"typescript": "^5.6.0",
|
|
50
|
+
"vitest": "3.2.4"
|
|
51
|
+
},
|
|
52
|
+
"gitHead": "699d9d09932199d660333c57fe7bc646492ea3bf"
|
|
19
53
|
}
|