@digestseo/mcp-gsc 0.4.9 → 0.4.10

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/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.10] - 2026-09-21
11
+
12
+ ### Fixed
13
+ - The published `npx` launcher now resolves `wrangler.example.jsonc` from the installed package instead of the caller's working directory, so `npx -y @digestseo/mcp-gsc` works outside a cloned repository.
14
+
10
15
  ## [0.4.9] - 2026-09-21
11
16
 
12
17
  ### Changed
package/README.md CHANGED
@@ -22,7 +22,7 @@ The self-hosting launcher is available as [`@digestseo/mcp-gsc`](https://www.npm
22
22
  npx -y @digestseo/mcp-gsc
23
23
  ```
24
24
 
25
- The npm launcher starts a loopback-only **Streamable HTTP** Worker on `127.0.0.1` (port `8080` by default); it is not a stdio MCP process. Clients that launch the package should connect to `http://127.0.0.1:8080/mcp` after supplying the Google OAuth and token-encryption environment variables described in [SETUP.md](SETUP.md). Before the first OAuth sign-in, authorize the exact callback `http://127.0.0.1:8080/google/callback` in Google Cloud (or use the same custom `PORT` you launch with); the launcher prints both URLs at startup.
25
+ The npm launcher starts a loopback-only **Streamable HTTP** Worker on `127.0.0.1` (port `8080` by default); it is not a stdio MCP process. You can run the `npx` command from any directory because the launcher resolves its bundled Worker configuration from the installed package. Clients that launch the package should connect to `http://127.0.0.1:8080/mcp` after supplying the Google OAuth and token-encryption environment variables described in [SETUP.md](SETUP.md). Before the first OAuth sign-in, authorize the exact callback `http://127.0.0.1:8080/google/callback` in Google Cloud (or use the same custom `PORT` you launch with); the launcher prints both URLs at startup.
26
26
 
27
27
  The local launcher defaults to `GSC_ACCESS_MODE=readwrite`. For least-privilege analytics/reporting-only use, set `GSC_ACCESS_MODE=readonly` in the environment before running `npx`; the launcher forwards that value into the local Worker so OAuth requests only the read-only Search Console scope and the five mutation tools stay unregistered.
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digestseo/mcp-gsc",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "private": false,
5
5
  "main": "scripts/glama-start.mjs",
6
6
  "bin": {
@@ -1,10 +1,14 @@
1
1
  import { spawn } from 'node:child_process';
2
2
  import { createRequire } from 'node:module';
3
+ import { fileURLToPath } from 'node:url';
3
4
 
4
5
  const port = process.env.PORT || '8080';
5
6
  const localBaseUrl = `http://127.0.0.1:${port}`;
6
7
  const mcpUrl = `${localBaseUrl}/mcp`;
7
8
  const googleRedirectUri = `${localBaseUrl}/google/callback`;
9
+ const wranglerConfig = fileURLToPath(
10
+ new URL('../wrangler.example.jsonc', import.meta.url),
11
+ );
8
12
  const forwardedVariables = [
9
13
  'GOOGLE_CLIENT_ID',
10
14
  'GOOGLE_CLIENT_SECRET',
@@ -15,7 +19,7 @@ const forwardedVariables = [
15
19
  const args = [
16
20
  'dev',
17
21
  '--config',
18
- 'wrangler.example.jsonc',
22
+ wranglerConfig,
19
23
  '--local',
20
24
  '--ip',
21
25
  '127.0.0.1',