consulti-mcp 2.6.4 → 2.6.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/dist/server.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
- export declare const VERSION = "2.6.4";
2
+ export declare const VERSION = "2.6.6";
3
3
  export type ConsultiMcpApiPost = (path: string, body: Record<string, unknown>) => Promise<string>;
4
4
  export type ConsultiMcpApiGet = (path: string) => Promise<string>;
5
5
  /**
package/dist/server.js CHANGED
@@ -2,7 +2,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
2
  import { z } from "zod";
3
3
  import { DEFAULT_BASE_URL, PACKAGE_NAME } from "./constants.js";
4
4
  import { handleSearchB2bLeads, searchB2bLeadsInputObjectSchema } from "./leads-search.js";
5
- export const VERSION = "2.6.4";
5
+ export const VERSION = "2.6.6";
6
6
  /**
7
7
  * Build the Consulti MCP server with every stable tool registered.
8
8
  * Import-safe: does not connect a transport, read env, or start stdio.
@@ -16,7 +16,7 @@ export function createConsultiMcpServer(options) {
16
16
  server.tool("verify_email", "Verify if an email address is valid and deliverable. Cost: 1 verification credit per call.", { email: z.string().describe("The email address to verify") }, async ({ email }) => ({
17
17
  content: [{ type: "text", text: await apiPost("/verify", { email }) }],
18
18
  }));
19
- server.tool("verify_catchall", "Resolve whether a specific mailbox on a catch-all domain actually exists — the ESP-engine probe that plain SMTP (verify_email) cannot do. Use it on addresses verify_email returns with is_catch_all=true. Cost: 5 verification credits per call; requires a plan with catch-all verification enabled (Pro or higher). A call usually answers within about 50 seconds and can run for up to 300; this client waits longer than that. A 503 verifier_unavailable means no verdict in time and the credits were refunded; a 500 refund_unconfirmed means the refund could not be confirmed, so check get_credits before retrying.", { email: z.string().describe("The email address on a catch-all domain to resolve") }, async ({ email }) => ({
19
+ server.tool("verify_catchall", "Resolve whether a specific mailbox on a catch-all domain actually exists — the ESP-engine probe that plain SMTP (verify_email) cannot do. Use it on addresses verify_email returns with is_catch_all=true. Cost: 5 verification credits per call; requires a plan with catch-all verification enabled (Pro or higher). A call usually answers within about 50 seconds and can run for up to 300; this client waits longer than that. A 503 verifier_unavailable means no verdict in time and the credits were refunded. A retry of the same address within 15 minutes of the original request is answered at once from the verdict that arrived late, when that verdict is exists or not_exists, and is billed 5 credits like any other answer. A 500 refund_unconfirmed means the refund could not be confirmed, so check get_credits before retrying.", { email: z.string().describe("The email address on a catch-all domain to resolve") }, async ({ email }) => ({
20
20
  content: [{ type: "text", text: await apiPost("/verify/catchall", { email }) }],
21
21
  }));
22
22
  server.tool("enrich_lead", "Enrich a lead's full profile using their email address, including company-level funding, traffic, HQ, followers, and specialties when the lead is linked to a company. Cost: 1 lead credit, only deducted on a successful match. On a 404 the reserved credit is refunded, but the refund is not verified, so check get_credits if it matters.", { email: z.string().describe("The email address of the lead to enrich") }, async ({ email }) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "consulti-mcp",
3
- "version": "2.6.4",
3
+ "version": "2.6.6",
4
4
  "description": "Consulti.ai MCP server — 14 stable tools for email verification (incl. catch-all mailbox resolution), B2B lead search/enrichment, LinkedIn-URL enrichment, Instagram profile search, list management, inbox placement tests, and credit-balance checks. Stable surface only; beta endpoints are not exposed via MCP. Compatible with Claude Desktop, Cursor, and any MCP client.",
5
5
  "type": "module",
6
6
  "bin": {