@anymailfinder/mcp-server 1.0.4 → 1.0.6
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/build/index.js +3 -3
- package/build/server.js +1 -1
- package/package.json +3 -2
package/build/index.js
CHANGED
|
@@ -3,9 +3,9 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|
|
3
3
|
import { AnymailFinderClient } from "./api-client.js";
|
|
4
4
|
import { createServer } from "./server.js";
|
|
5
5
|
const NODE_MAJOR = parseInt(process.versions.node.split(".")[0], 10);
|
|
6
|
-
if (NODE_MAJOR <
|
|
7
|
-
console.error(`Error: Node.js
|
|
8
|
-
console.error("Install Node
|
|
6
|
+
if (NODE_MAJOR < 18) {
|
|
7
|
+
console.error(`Error: Node.js 18 or later is required (current: ${process.version}).`);
|
|
8
|
+
console.error("Install Node 18+: https://nodejs.org");
|
|
9
9
|
process.exit(1);
|
|
10
10
|
}
|
|
11
11
|
const client = new AnymailFinderClient();
|
package/build/server.js
CHANGED
|
@@ -13,7 +13,7 @@ const formatError = (err) => {
|
|
|
13
13
|
export const createServer = (client) => {
|
|
14
14
|
const server = new McpServer({
|
|
15
15
|
name: "anymailfinder",
|
|
16
|
-
version: "1.0.
|
|
16
|
+
version: "1.0.6",
|
|
17
17
|
});
|
|
18
18
|
server.registerTool("find_person_email", {
|
|
19
19
|
description: "Find a person's email using their name and company.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anymailfinder/mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"mcpName": "io.github.anymailfinder/mcp-server",
|
|
4
5
|
"description": "MCP server for Anymail Finder API - find and verify email addresses via AI assistants",
|
|
5
6
|
"author": {
|
|
6
7
|
"name": "Anymail Finder"
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"start": "node build/index.js"
|
|
36
37
|
},
|
|
37
38
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
39
|
+
"node": ">=18"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
42
|
"@modelcontextprotocol/sdk": "^1.12.0",
|