@breaknorm_hu/mcp-server 0.1.4 → 0.1.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/index.js +11 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -71,6 +71,8 @@ var tools = [
|
|
|
71
71
|
department: z.array(z.string()).optional().describe("sales, marketing, it, hr, finance, engineering, c_suite"),
|
|
72
72
|
employee_min: z.number().int().optional().describe("Min company employees"),
|
|
73
73
|
employee_max: z.number().int().optional().describe("Max company employees"),
|
|
74
|
+
revenue_min: z.number().optional().describe("Min annual revenue in HUF"),
|
|
75
|
+
revenue_max: z.number().optional().describe("Max annual revenue in HUF"),
|
|
74
76
|
has_email: z.enum(["yes", "maybe", "no"]).optional().describe("Filter by email availability"),
|
|
75
77
|
page: z.number().int().default(1).describe("Page number"),
|
|
76
78
|
limit: z.number().int().max(25).default(25).describe("Results per page (max 25)"),
|
|
@@ -86,6 +88,8 @@ var tools = [
|
|
|
86
88
|
department: arrayParam(args.department),
|
|
87
89
|
employee_min: str(args.employee_min),
|
|
88
90
|
employee_max: str(args.employee_max),
|
|
91
|
+
revenue_min: str(args.revenue_min),
|
|
92
|
+
revenue_max: str(args.revenue_max),
|
|
89
93
|
has_email: str(args.has_email),
|
|
90
94
|
page: str(args.page),
|
|
91
95
|
limit: str(args.limit),
|
|
@@ -103,6 +107,8 @@ var tools = [
|
|
|
103
107
|
city: z.array(z.string()).optional(),
|
|
104
108
|
employee_min: z.number().int().optional(),
|
|
105
109
|
employee_max: z.number().int().optional(),
|
|
110
|
+
revenue_min: z.number().optional().describe("Min annual revenue in HUF"),
|
|
111
|
+
revenue_max: z.number().optional().describe("Max annual revenue in HUF"),
|
|
106
112
|
has_website: z.boolean().optional(),
|
|
107
113
|
page: z.number().int().default(1),
|
|
108
114
|
limit: z.number().int().max(25).default(25),
|
|
@@ -117,6 +123,8 @@ var tools = [
|
|
|
117
123
|
city: arrayParam(args.city),
|
|
118
124
|
employee_min: str(args.employee_min),
|
|
119
125
|
employee_max: str(args.employee_max),
|
|
126
|
+
revenue_min: str(args.revenue_min),
|
|
127
|
+
revenue_max: str(args.revenue_max),
|
|
120
128
|
has_website: str(args.has_website),
|
|
121
129
|
page: str(args.page),
|
|
122
130
|
limit: str(args.limit),
|
|
@@ -162,11 +170,10 @@ var tools = [
|
|
|
162
170
|
precision: z.enum(["strict", "balanced", "broad"]).default("balanced").optional().describe("strict = exact match, balanced = recommended, broad = wider results")
|
|
163
171
|
}),
|
|
164
172
|
handler: async (client, args) => {
|
|
165
|
-
|
|
166
|
-
description: args.description,
|
|
167
|
-
precision: args.precision || "balanced"
|
|
173
|
+
return client.get("/search/naics-suggest", {
|
|
174
|
+
description: str(args.description),
|
|
175
|
+
precision: str(args.precision) || "balanced"
|
|
168
176
|
});
|
|
169
|
-
return result;
|
|
170
177
|
}
|
|
171
178
|
},
|
|
172
179
|
{
|