signupgenius-mcp 1.1.0 → 1.1.2
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/auth.js +3 -17
- package/dist/bundle.js +581 -195
- package/dist/config.js +2 -11
- package/dist/index.js +28 -30
- package/dist/tools/_shared.js +2 -3
- package/package.json +4 -3
- package/server.json +2 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "MCP server for SignUpGenius — read sign-ups, slot reports, and groups; add group members.",
|
|
10
|
-
"version": "1.1.
|
|
10
|
+
"version": "1.1.2"
|
|
11
11
|
},
|
|
12
12
|
"plugins": [
|
|
13
13
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"displayName": "SignUpGenius",
|
|
16
16
|
"source": "./",
|
|
17
17
|
"description": "SignUpGenius MCP server for Claude — sign-ups, slot reports, and groups via natural language. Free or Pro accounts.",
|
|
18
|
-
"version": "1.1.
|
|
18
|
+
"version": "1.1.2",
|
|
19
19
|
"author": {
|
|
20
20
|
"name": "Chris Hall"
|
|
21
21
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "signupgenius-mcp",
|
|
3
3
|
"displayName": "SignUpGenius",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "SignUpGenius MCP server for Claude — read sign-ups, slot reports, and groups; add group members. Three auth paths: Pro API key, email/password, or sign in via the fetchproxy browser extension.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Chris Hall",
|
package/dist/auth.js
CHANGED
|
@@ -47,26 +47,12 @@
|
|
|
47
47
|
// legacy paths keep working unchanged.
|
|
48
48
|
import { bootstrap } from '@fetchproxy/bootstrap';
|
|
49
49
|
import { classifyBridgeError } from '@fetchproxy/server';
|
|
50
|
+
import { parseBoolEnv } from '@chrischall/mcp-utils';
|
|
50
51
|
import { loadAccount } from './config.js';
|
|
51
52
|
import pkg from '../package.json' with { type: 'json' };
|
|
52
|
-
function readEnv(key) {
|
|
53
|
-
const raw = process.env[key];
|
|
54
|
-
if (typeof raw !== 'string')
|
|
55
|
-
return undefined;
|
|
56
|
-
const trimmed = raw.trim();
|
|
57
|
-
if (trimmed.length === 0)
|
|
58
|
-
return undefined;
|
|
59
|
-
if (trimmed === 'undefined' || trimmed === 'null')
|
|
60
|
-
return undefined;
|
|
61
|
-
if (/^\$\{[^}]*\}$/.test(trimmed))
|
|
62
|
-
return undefined;
|
|
63
|
-
return trimmed;
|
|
64
|
-
}
|
|
65
53
|
function fetchproxyDisabled() {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
return false;
|
|
69
|
-
return ['1', 'true', 'yes', 'on'].includes(raw.toLowerCase());
|
|
54
|
+
// Fleet-standard *_DISABLE_* flag parser (placeholder/sentinel-safe).
|
|
55
|
+
return parseBoolEnv('SIGNUPGENIUS_DISABLE_FETCHPROXY');
|
|
70
56
|
}
|
|
71
57
|
/**
|
|
72
58
|
* The exact error message `loadAccount()` throws when NO auth env vars are
|