@geogenio/mcp-server 1.0.0 → 1.0.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.
package/README.md CHANGED
@@ -4,19 +4,11 @@ MCP (Model Context Protocol) server for the GeoGen LLM SEO tracking platform. Le
4
4
 
5
5
  ## Setup
6
6
 
7
- ### 1. Install & Build
8
-
9
- ```bash
10
- cd mcp-server
11
- npm install
12
- npm run build
13
- ```
14
-
15
- ### 2. Get Your API Key
7
+ ### 1. Get Your API Key
16
8
 
17
9
  Go to your GeoGen workspace **Settings > API Keys** and create a new key.
18
10
 
19
- ### 3. Configure Your AI Client
11
+ ### 2. Configure Your AI Client
20
12
 
21
13
  #### Claude Desktop
22
14
 
@@ -26,11 +18,11 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
26
18
  {
27
19
  "mcpServers": {
28
20
  "geogen": {
29
- "command": "node",
30
- "args": ["/absolute/path/to/mcp-server/build/index.js"],
21
+ "command": "npx",
22
+ "args": ["-y", "@geogenio/mcp-server"],
31
23
  "env": {
32
24
  "GEOGEN_API_KEY": "your-api-key-here",
33
- "GEOGEN_BASE_URL": "https://your-app.convex.site"
25
+ "GEOGEN_BASE_URL": "https://api.geogen.io"
34
26
  }
35
27
  }
36
28
  }
@@ -40,13 +32,13 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
40
32
  #### Claude Code
41
33
 
42
34
  ```bash
43
- claude mcp add geogen -- node /absolute/path/to/mcp-server/build/index.js
35
+ claude mcp add geogen -- npx -y @geogenio/mcp-server
44
36
  ```
45
37
 
46
- Then set the environment variables in your shell or `.env` file:
38
+ Then set the environment variables:
47
39
  ```bash
48
40
  export GEOGEN_API_KEY="your-api-key-here"
49
- export GEOGEN_BASE_URL="https://your-app.convex.site"
41
+ export GEOGEN_BASE_URL="https://api.geogen.io"
50
42
  ```
51
43
 
52
44
  #### Cursor / Windsurf
@@ -56,11 +48,11 @@ Add to your MCP settings (see each IDE's documentation for the config location):
56
48
  ```json
57
49
  {
58
50
  "geogen": {
59
- "command": "node",
60
- "args": ["/absolute/path/to/mcp-server/build/index.js"],
51
+ "command": "npx",
52
+ "args": ["-y", "@geogenio/mcp-server"],
61
53
  "env": {
62
54
  "GEOGEN_API_KEY": "your-api-key-here",
63
- "GEOGEN_BASE_URL": "https://your-app.convex.site"
55
+ "GEOGEN_BASE_URL": "https://api.geogen.io"
64
56
  }
65
57
  }
66
58
  }
@@ -113,4 +105,4 @@ Once configured, you can ask your AI assistant things like:
113
105
  | Variable | Required | Description |
114
106
  |----------|----------|-------------|
115
107
  | `GEOGEN_API_KEY` | Yes | Your GeoGen workspace API key |
116
- | `GEOGEN_BASE_URL` | Yes | Your Convex site URL (e.g. `https://your-app.convex.site`) |
108
+ | `GEOGEN_BASE_URL` | Yes | GeoGen API URL (`https://api.geogen.io`) |
package/build/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Configuration via environment variables:
9
9
  * GEOGEN_API_KEY - Your GeoGen workspace API key (required)
10
- * GEOGEN_BASE_URL - Your Convex site URL (required)
10
+ * GEOGEN_BASE_URL - GeoGen API URL (required)
11
11
  */
12
12
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
13
13
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -23,7 +23,7 @@ function main() {
23
23
  }
24
24
  if (!baseUrl) {
25
25
  console.error("Error: GEOGEN_BASE_URL environment variable is required.");
26
- console.error("Set it to your Convex site URL (e.g. https://your-app.convex.site).");
26
+ console.error("Set it to https://api.geogen.io");
27
27
  process.exit(1);
28
28
  }
29
29
  // Create the API client
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geogenio/mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "MCP server for GeoGen LLM SEO tracking platform",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * Configuration via environment variables:
10
10
  * GEOGEN_API_KEY - Your GeoGen workspace API key (required)
11
- * GEOGEN_BASE_URL - Your Convex site URL (required)
11
+ * GEOGEN_BASE_URL - GeoGen API URL (required)
12
12
  */
13
13
 
14
14
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
@@ -28,7 +28,7 @@ function main() {
28
28
 
29
29
  if (!baseUrl) {
30
30
  console.error("Error: GEOGEN_BASE_URL environment variable is required.");
31
- console.error("Set it to your Convex site URL (e.g. https://your-app.convex.site).");
31
+ console.error("Set it to https://api.geogen.io");
32
32
  process.exit(1);
33
33
  }
34
34