@easyfunnel/mcp 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 +8 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1495,18 +1495,18 @@ Next: I can set up the SDK in your project, or suggest conversion funnels based
1495
1495
  const scanData = {
1496
1496
  framework,
1497
1497
  router,
1498
- routes,
1498
+ routes: routes.slice(0, 50),
1499
+ routes_total: routes.length,
1499
1500
  product_type: productType.type,
1500
1501
  product_confidence: productType.confidence,
1501
1502
  detection_categories: categories,
1502
1503
  detection_count: detections.length,
1503
- detections: detections.map((d) => ({
1504
- category: d.category,
1505
- signal: d.signal,
1506
- file: d.file,
1507
- line: d.line,
1508
- confidence: d.confidence
1509
- }))
1504
+ detections_by_category: Object.fromEntries(
1505
+ categories.map((cat) => [
1506
+ cat,
1507
+ byCategory[cat].slice(0, 5).map((d) => d.signal)
1508
+ ])
1509
+ )
1510
1510
  };
1511
1511
  return {
1512
1512
  content: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyfunnel/mcp",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "MCP server for easyfunnel.co — AI-powered analytics tools for Claude/Cursor",
5
5
  "main": "dist/index.js",
6
6
  "bin": {