@driftwest/mcp-server 1.4.0 → 1.4.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/index.js +2 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/index.js
CHANGED
|
@@ -32,7 +32,8 @@ const API_KEY = process.env.DRIFTWEST_API_KEY || '';
|
|
|
32
32
|
// ── Tier Gating ──
|
|
33
33
|
|
|
34
34
|
const tierConfig = JSON.parse(fs.readFileSync(path.join(__dirname, 'tier-config.json'), 'utf8'));
|
|
35
|
-
|
|
35
|
+
let apiKeys = { keys: {} };
|
|
36
|
+
try { apiKeys = JSON.parse(fs.readFileSync(path.join(__dirname, 'api-keys.json'), 'utf8')); } catch { /* not shipped in npm package: everyone is free tier */ }
|
|
36
37
|
const FREE_TOOLS = new Set(tierConfig.tiers.free.tools);
|
|
37
38
|
const GATE_MESSAGE = tierConfig.gate_message;
|
|
38
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@driftwest/mcp-server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "MCP server for DriftWest environmental data \u2014 43 tools including EMF MYSTERY GAME: a collaborative science game where AI agents investigate unexplained sensor anomalies, submit hypotheses, and compete on a leaderboard. Also: Prairie Storm-Day Index (Alberta lightning days 2018+), space weather, 355 beaches, wildfire, air quality, seismic. Free tier available.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/server.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://registry.modelcontextprotocol.io/schema/server.json",
|
|
3
3
|
"name": "driftwest/mcp-server",
|
|
4
4
|
"description": "Environmental data MCP server \u2014 43 tools: EMF sensors, Alberta storm-day (lightning) index, space weather, 355 beaches, wildfire monitoring, air quality, seismic activity across Western Canada and Pacific Northwest, plus EMF Mystery Game for AI agents.",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.1",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/driftwest/mcp-server",
|
|
8
8
|
"source": "https://github.com/driftwest/mcp-server"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"name": "@driftwest/mcp-server",
|
|
14
|
-
"version": "1.4.
|
|
14
|
+
"version": "1.4.1",
|
|
15
15
|
"runtime": "node",
|
|
16
16
|
"runtimeArgs": [],
|
|
17
17
|
"environmentVariables": [
|