@breaknorm_hu/mcp-server 0.1.4 → 0.1.5

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -162,11 +162,10 @@ var tools = [
162
162
  precision: z.enum(["strict", "balanced", "broad"]).default("balanced").optional().describe("strict = exact match, balanced = recommended, broad = wider results")
163
163
  }),
164
164
  handler: async (client, args) => {
165
- const result = await client.post("/search/naics-suggest", {
166
- description: args.description,
167
- precision: args.precision || "balanced"
165
+ return client.get("/search/naics-suggest", {
166
+ description: str(args.description),
167
+ precision: str(args.precision) || "balanced"
168
168
  });
169
- return result;
170
169
  }
171
170
  },
172
171
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breaknorm_hu/mcp-server",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Breaknorm MCP Server — AI agent interface for B2B contact database",
5
5
  "type": "module",
6
6
  "bin": {