@easyfunnel/mcp 0.1.0 → 0.1.1

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 -3
  2. package/package.json +13 -4
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ var import_stdio = require("@modelcontextprotocol/sdk/server/stdio.js");
7
7
  var import_types = require("@modelcontextprotocol/sdk/types.js");
8
8
 
9
9
  // src/api-client.ts
10
- var DEFAULT_BASE_URL = "https://easyfunnel.so";
10
+ var DEFAULT_BASE_URL = "https://easyfunnel.co";
11
11
  var ApiClient = class {
12
12
  constructor(apiKey2, baseUrl2) {
13
13
  this.apiKey = apiKey2;
@@ -157,7 +157,7 @@ async function setupSdk(args) {
157
157
  type: "text",
158
158
  text: `For HTML projects, add this script tag to your <head>:
159
159
 
160
- <script defer data-api-key="${project_api_key}" src="https://easyfunnel.so/sdk.js"></script>
160
+ <script defer data-api-key="${project_api_key}" src="https://easyfunnel.co/sdk.js"></script>
161
161
 
162
162
  This will automatically track page views and clicks on elements with data-ef-track attributes.`
163
163
  }
@@ -666,7 +666,7 @@ async function queryEvents(client2, args) {
666
666
  var apiKey = process.env.EASYFUNNEL_API_KEY;
667
667
  if (!apiKey) {
668
668
  console.error(
669
- "EASYFUNNEL_API_KEY environment variable is required. Get your account API key from https://easyfunnel.so/dashboard/settings"
669
+ "EASYFUNNEL_API_KEY environment variable is required. Get your account API key from https://easyfunnel.co/dashboard/settings"
670
670
  );
671
671
  process.exit(1);
672
672
  }
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@easyfunnel/mcp",
3
- "version": "0.1.0",
4
- "description": "MCP server for easyfunnel.so — AI-powered analytics tools for Claude/Cursor",
3
+ "version": "0.1.1",
4
+ "description": "MCP server for easyfunnel.co — AI-powered analytics tools for Claude/Cursor",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
7
  "easyfunnel-mcp": "dist/index.js"
8
8
  },
9
- "files": ["dist"],
9
+ "files": [
10
+ "dist"
11
+ ],
10
12
  "scripts": {
11
13
  "build": "tsup src/index.ts --format cjs --dts",
12
14
  "dev": "tsup src/index.ts --format cjs --dts --watch"
@@ -19,6 +21,13 @@
19
21
  "tsup": "^8.0.0",
20
22
  "typescript": "^5.0.0"
21
23
  },
22
- "keywords": ["mcp", "analytics", "funnel", "claude", "cursor", "easyfunnel"],
24
+ "keywords": [
25
+ "mcp",
26
+ "analytics",
27
+ "funnel",
28
+ "claude",
29
+ "cursor",
30
+ "easyfunnel"
31
+ ],
23
32
  "license": "MIT"
24
33
  }