@solidnumber/cli 2.23.0 → 2.24.0
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 +2 -2
- package/dist/commands/ai.d.ts.map +1 -1
- package/dist/commands/ai.js +83 -1
- package/dist/commands/ai.js.map +1 -1
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +23 -4
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/connect.d.ts.map +1 -1
- package/dist/commands/connect.js +9 -1
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/find.d.ts +17 -2
- package/dist/commands/find.d.ts.map +1 -1
- package/dist/commands/find.js +66 -14
- package/dist/commands/find.js.map +1 -1
- package/dist/commands/mcp.d.ts +1 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +259 -7
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/switch.d.ts.map +1 -1
- package/dist/commands/switch.js +41 -0
- package/dist/commands/switch.js.map +1 -1
- package/dist/lib/ai-tool-connect.d.ts +75 -0
- package/dist/lib/ai-tool-connect.d.ts.map +1 -0
- package/dist/lib/ai-tool-connect.js +155 -0
- package/dist/lib/ai-tool-connect.js.map +1 -0
- package/dist/lib/mcp-providers.d.ts +162 -0
- package/dist/lib/mcp-providers.d.ts.map +1 -0
- package/dist/lib/mcp-providers.js +488 -0
- package/dist/lib/mcp-providers.js.map +1 -0
- package/dist/lib/mcp-sync.d.ts +51 -0
- package/dist/lib/mcp-sync.d.ts.map +1 -0
- package/dist/lib/mcp-sync.js +176 -0
- package/dist/lib/mcp-sync.js.map +1 -0
- package/dist/lib/mcp-tenant-check.d.ts +92 -0
- package/dist/lib/mcp-tenant-check.d.ts.map +1 -0
- package/dist/lib/mcp-tenant-check.js +220 -0
- package/dist/lib/mcp-tenant-check.js.map +1 -0
- package/dist/lib/ui.d.ts.map +1 -1
- package/dist/lib/ui.js +26 -2
- package/dist/lib/ui.js.map +1 -1
- package/package.json +3 -2
- package/platform-docs/llms.txt +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/commands/switch.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"switch.js","sourceRoot":"","sources":["../../src/commands/switch.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAAoC;AACpC,wDAAgC;AAChC,8CAAsB;AACtB,kDAA0B;AAC1B,0CAAuC;AACvC,kDAA8D;AAC9D,oDAA6D;AAEhD,QAAA,aAAa,GAAG,IAAI,mBAAO,CAAC,QAAQ,CAAC;KAC/C,WAAW,CAAC,uBAAuB,CAAC;KACpC,QAAQ,CAAC,UAAU,EAAE,iCAAiC,CAAC;KACvD,MAAM,CAAC,QAAQ,EAAE,6CAA6C,CAAC;KAC/D,MAAM,CAAC,QAAQ,EAAE,+BAA+B,CAAC;KACjD,MAAM,CAAC,KAAK,EAAE,MAA0B,EAAE,OAA2C,EAAE,EAAE;IACxF,IAAI,CAAC,eAAM,CAAC,UAAU,EAAE,EAAE,CAAC;QACzB,OAAO,CAAC,KAAK,CAAC,eAAK,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC,CAAC;QACzE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,OAAO,GAAG,IAAA,aAAG,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;IAEtF,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,sBAAS,CAAC,aAAa,EAAE,CAAC;QACjD,OAAO,CAAC,IAAI,EAAE,CAAC;QAEf,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,QAAQ,CAAC,IAAI,CAAC;QAEvD,+CAA+C;Q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AC,KAAK,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAClD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC;AAEL,oDAAmE;AACnE,IAAA,4BAAW,EAAC,qBAAa,EAAE;IACzB,EAAE,GAAG,EAAE,cAAc,EAAiB,GAAG,EAAE,0CAA0C,EAAE;IACvF,EAAE,GAAG,EAAE,mBAAmB,EAAY,GAAG,EAAE,yEAAyE,EAAE;IACtH,EAAE,GAAG,EAAE,cAAc,EAAiB,GAAG,EAAE,oBAAoB,EAAE;CAClE,CAAC,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `solid mcp connect <tool>` — the one-step "point my AI at this business".
|
|
3
|
+
*
|
|
4
|
+
* ⛔ WHY THIS IS NOT `solid connect`.
|
|
5
|
+
*
|
|
6
|
+
* `solid connect` is TAKEN and means something else entirely: importing
|
|
7
|
+
* external DATA (Figma, Slack, Notion, WordPress, CSV, GitHub, Sheets, Docs).
|
|
8
|
+
* Renaming a shipped public command would break every user's muscle memory and
|
|
9
|
+
* every doc line that names it, to save one word. This lives under the existing
|
|
10
|
+
* `solid mcp` namespace instead, next to `mcp install`, which is where someone
|
|
11
|
+
* looking for it will already be.
|
|
12
|
+
*
|
|
13
|
+
* ⛔ AND WHY IT IS NOT JUST AN ALIAS FOR `solid mcp install`.
|
|
14
|
+
*
|
|
15
|
+
* There are TWO transports and they are not interchangeable:
|
|
16
|
+
*
|
|
17
|
+
* STDIO `npx @solidnumber/mcp` with a static SOLID_API_KEY in the
|
|
18
|
+
* client's config file. Local, no browser, works offline-ish.
|
|
19
|
+
* ⚠️ The tenant comes from the KEY RECORD, not from the CLI
|
|
20
|
+
* session — `solid switch` does NOT move it. An agent wired this
|
|
21
|
+
* way keeps answering about whichever company the key belongs to,
|
|
22
|
+
* confidently, after the human has switched away.
|
|
23
|
+
*
|
|
24
|
+
* CONNECTOR https://api.solidnumber.com/mcp/connector over OAuth. No CLI,
|
|
25
|
+
* no npm, no key on disk; the person authorizes in a browser and
|
|
26
|
+
* picks the company then. This is the ONLY option for the
|
|
27
|
+
* browser-only tools (ChatGPT, Grok, Genspark, Manus, claude.ai)
|
|
28
|
+
* and it is the better default for everyone else.
|
|
29
|
+
*
|
|
30
|
+
* `mcp install` only ever spoke the first one. A user whose AI is ChatGPT had
|
|
31
|
+
* no documented path at all, and a user with no `claude` binary hit
|
|
32
|
+
* `command not found` with no guidance — the installer says it "wires Claude
|
|
33
|
+
* Code", which runs `claude mcp add` and no-ops silently when claude is absent.
|
|
34
|
+
*
|
|
35
|
+
* Pure module: no fs, no network, no process. The command layer does I/O.
|
|
36
|
+
*/
|
|
37
|
+
import { McpClient } from './mcp-client-config';
|
|
38
|
+
export declare const CONNECTOR_URL = "https://api.solidnumber.com/mcp/connector";
|
|
39
|
+
/** How a tool gets wired up. */
|
|
40
|
+
export type ConnectMethod =
|
|
41
|
+
/** We can write the client's config file ourselves. */
|
|
42
|
+
'config'
|
|
43
|
+
/** Browser/GUI only — we can print the exact steps, not perform them. */
|
|
44
|
+
| 'manual';
|
|
45
|
+
export interface AiTool {
|
|
46
|
+
id: string;
|
|
47
|
+
label: string;
|
|
48
|
+
method: ConnectMethod;
|
|
49
|
+
/** Which config file to write, when method === 'config'. */
|
|
50
|
+
client?: McpClient;
|
|
51
|
+
/** Transport the instructions describe. */
|
|
52
|
+
transport: 'stdio' | 'connector';
|
|
53
|
+
/** Exact, ordered steps a human follows. */
|
|
54
|
+
steps: string[];
|
|
55
|
+
/** Caveats that will otherwise become a support ticket. */
|
|
56
|
+
notes?: string[];
|
|
57
|
+
/** A prerequisite binary that must exist first, if any. */
|
|
58
|
+
requiresBinary?: string;
|
|
59
|
+
/** What to tell them when `requiresBinary` is missing. */
|
|
60
|
+
installHint?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* ⛔ ORDER IS THE PRODUCT. A new user reads the first entry and stops, so the
|
|
64
|
+
* no-install browser path leads. The tools that need something installed come
|
|
65
|
+
* after, because recommending them first is what produces `command not found`.
|
|
66
|
+
*/
|
|
67
|
+
export declare const AI_TOOLS: AiTool[];
|
|
68
|
+
export declare function findTool(id: string | undefined | null): AiTool | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Aliases exist because the failure mode is a dead end, not a typo message.
|
|
71
|
+
* "gpt" must not print "unknown tool" when chatgpt is right there.
|
|
72
|
+
*/
|
|
73
|
+
export declare const ALIASES: Record<string, string>;
|
|
74
|
+
export declare function toolIds(): string[];
|
|
75
|
+
//# sourceMappingURL=ai-tool-connect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-tool-connect.d.ts","sourceRoot":"","sources":["../../src/lib/ai-tool-connect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,aAAa,8CAA8C,CAAC;AAEzE,gCAAgC;AAChC,MAAM,MAAM,aAAa;AACvB,uDAAuD;AACrD,QAAQ;AACV,yEAAyE;GACvE,QAAQ,CAAC;AAEb,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,aAAa,CAAC;IACtB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2CAA2C;IAC3C,SAAS,EAAE,OAAO,GAAG,WAAW,CAAC;IACjC,4CAA4C;IAC5C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,2DAA2D;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,EA0G5B,CAAC;AAEF,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS,CAQ1E;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAa1C,CAAC;AAEF,wBAAgB,OAAO,IAAI,MAAM,EAAE,CAElC"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ALIASES = exports.AI_TOOLS = exports.CONNECTOR_URL = void 0;
|
|
4
|
+
exports.findTool = findTool;
|
|
5
|
+
exports.toolIds = toolIds;
|
|
6
|
+
exports.CONNECTOR_URL = 'https://api.solidnumber.com/mcp/connector';
|
|
7
|
+
const CONNECTOR_STEPS = (menuPath) => [
|
|
8
|
+
`Open ${menuPath}`,
|
|
9
|
+
`Add a custom / remote MCP server`,
|
|
10
|
+
`Paste this URL: ${exports.CONNECTOR_URL}`,
|
|
11
|
+
`Sign in with your Solid# account and authorize`,
|
|
12
|
+
`Choose the company, and grant read (or read + write)`,
|
|
13
|
+
];
|
|
14
|
+
/**
|
|
15
|
+
* ⛔ ORDER IS THE PRODUCT. A new user reads the first entry and stops, so the
|
|
16
|
+
* no-install browser path leads. The tools that need something installed come
|
|
17
|
+
* after, because recommending them first is what produces `command not found`.
|
|
18
|
+
*/
|
|
19
|
+
exports.AI_TOOLS = [
|
|
20
|
+
{
|
|
21
|
+
id: 'chatgpt',
|
|
22
|
+
label: 'ChatGPT',
|
|
23
|
+
method: 'manual',
|
|
24
|
+
transport: 'connector',
|
|
25
|
+
steps: CONNECTOR_STEPS('ChatGPT → Settings → Connectors'),
|
|
26
|
+
notes: [
|
|
27
|
+
'Custom connectors are gated by plan and may need developer mode — a free account often cannot see the option.',
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 'claude-web',
|
|
32
|
+
label: 'Claude (claude.ai / desktop app)',
|
|
33
|
+
method: 'manual',
|
|
34
|
+
transport: 'connector',
|
|
35
|
+
steps: CONNECTOR_STEPS('Claude → Settings → Connectors'),
|
|
36
|
+
notes: [
|
|
37
|
+
'This is the browser/app path and needs nothing installed. For Claude CODE in a terminal, use `solid mcp connect claude-code`.',
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: 'grok',
|
|
42
|
+
label: 'Grok',
|
|
43
|
+
method: 'manual',
|
|
44
|
+
transport: 'connector',
|
|
45
|
+
steps: CONNECTOR_STEPS('Grok → Settings → Connections / Integrations'),
|
|
46
|
+
notes: ['If Grok exposes no custom-MCP option on your plan, there is no connection path yet — say so rather than guessing.'],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'genspark',
|
|
50
|
+
label: 'Genspark',
|
|
51
|
+
method: 'manual',
|
|
52
|
+
transport: 'connector',
|
|
53
|
+
steps: CONNECTOR_STEPS('Genspark → Settings → Integrations / MCP'),
|
|
54
|
+
notes: ['Not yet verified end-to-end by us. The URL is standard remote MCP; if Genspark speaks it, it works.'],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: 'manus',
|
|
58
|
+
label: 'Manus',
|
|
59
|
+
method: 'manual',
|
|
60
|
+
transport: 'connector',
|
|
61
|
+
steps: CONNECTOR_STEPS('Manus → Settings → Integrations / MCP'),
|
|
62
|
+
notes: ['Not yet verified end-to-end by us. The URL is standard remote MCP; if Manus speaks it, it works.'],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: 'claude-code',
|
|
66
|
+
label: 'Claude Code (terminal)',
|
|
67
|
+
method: 'manual',
|
|
68
|
+
transport: 'connector',
|
|
69
|
+
requiresBinary: 'claude',
|
|
70
|
+
installHint: 'npm install -g @anthropic-ai/claude-code',
|
|
71
|
+
steps: [
|
|
72
|
+
`claude mcp add --transport http solidnumber ${exports.CONNECTOR_URL}`,
|
|
73
|
+
'claude',
|
|
74
|
+
'Authorize in the browser when prompted',
|
|
75
|
+
],
|
|
76
|
+
notes: [
|
|
77
|
+
'Claude Code is a separate program. The Solid# installer does NOT install it — it only wires it up if it is already there.',
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'cursor',
|
|
82
|
+
label: 'Cursor',
|
|
83
|
+
method: 'config',
|
|
84
|
+
client: 'cursor',
|
|
85
|
+
transport: 'stdio',
|
|
86
|
+
steps: ['solid mcp install cursor', 'Restart Cursor', 'Ask it: "list solid tools"'],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
id: 'windsurf',
|
|
90
|
+
label: 'Windsurf',
|
|
91
|
+
method: 'config',
|
|
92
|
+
client: 'windsurf',
|
|
93
|
+
transport: 'stdio',
|
|
94
|
+
steps: ['solid mcp install windsurf', 'Restart Windsurf', 'Ask it: "list solid tools"'],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
id: 'vscode',
|
|
98
|
+
label: 'VS Code (Claude Code extension)',
|
|
99
|
+
method: 'config',
|
|
100
|
+
client: 'vscode',
|
|
101
|
+
transport: 'stdio',
|
|
102
|
+
steps: ['solid mcp install vscode', 'Reload VS Code', 'Ask it: "list solid tools"'],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: 'claude-desktop',
|
|
106
|
+
label: 'Claude Desktop (local MCP server)',
|
|
107
|
+
method: 'config',
|
|
108
|
+
client: 'claude',
|
|
109
|
+
transport: 'stdio',
|
|
110
|
+
steps: ['solid mcp install claude', 'Quit and relaunch Claude Desktop', 'Ask it: "list solid tools"'],
|
|
111
|
+
notes: ['Prefer `claude-web` unless you specifically want the local server — the connector needs no key on disk.'],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
id: 'other',
|
|
115
|
+
label: 'Anything else that speaks MCP',
|
|
116
|
+
method: 'manual',
|
|
117
|
+
transport: 'connector',
|
|
118
|
+
steps: [
|
|
119
|
+
'Point your tool at this remote MCP URL:',
|
|
120
|
+
` ${exports.CONNECTOR_URL}`,
|
|
121
|
+
'It will run OAuth and ask which company to use.',
|
|
122
|
+
],
|
|
123
|
+
notes: ['If your tool speaks MCP, this is the whole integration. No CLI and no `claude` binary required.'],
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
function findTool(id) {
|
|
127
|
+
if (!id)
|
|
128
|
+
return undefined;
|
|
129
|
+
const needle = String(id).trim().toLowerCase();
|
|
130
|
+
return (exports.AI_TOOLS.find((t) => t.id === needle) ||
|
|
131
|
+
// Forgiving aliases — a user types what they call the thing, not our id.
|
|
132
|
+
exports.AI_TOOLS.find((t) => exports.ALIASES[needle] === t.id));
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Aliases exist because the failure mode is a dead end, not a typo message.
|
|
136
|
+
* "gpt" must not print "unknown tool" when chatgpt is right there.
|
|
137
|
+
*/
|
|
138
|
+
exports.ALIASES = {
|
|
139
|
+
gpt: 'chatgpt',
|
|
140
|
+
openai: 'chatgpt',
|
|
141
|
+
'chat-gpt': 'chatgpt',
|
|
142
|
+
claude: 'claude-web',
|
|
143
|
+
'claude-ai': 'claude-web',
|
|
144
|
+
claudecode: 'claude-code',
|
|
145
|
+
'claude-cli': 'claude-code',
|
|
146
|
+
code: 'claude-code',
|
|
147
|
+
xai: 'grok',
|
|
148
|
+
gemini: 'other',
|
|
149
|
+
mcp: 'other',
|
|
150
|
+
generic: 'other',
|
|
151
|
+
};
|
|
152
|
+
function toolIds() {
|
|
153
|
+
return exports.AI_TOOLS.map((t) => t.id);
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=ai-tool-connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-tool-connect.js","sourceRoot":"","sources":["../../src/lib/ai-tool-connect.ts"],"names":[],"mappings":";;;AA0LA,4BAQC;AAqBD,0BAEC;AAnLY,QAAA,aAAa,GAAG,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SAClD;QACD,KAAK,EAAE,CAAC,iGAAiG,CAAC;KAC3G;CACF,CAAC;AAEF,SAAgB,QAAQ,CAAC,EAA6B;IACpD,IAAI,CAAC,EAAE;QAAE,OAAO,SAAS,CAAC;IAC1B,MAAM,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC/C,OAAO,CACL,gBAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,MAAM,CAAC;QACrC,yEAAyE;QACzE,gBAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,eAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAC/C,CAAC;AACJ,CAAC;AAED;;;GAGG;AACU,QAAA,OAAO,GAA2B;IAC7C,GAAG,EAAE,SAAS;IACd,MAAM,EAAE,SAAS;IACjB,UAAU,EAAE,SAAS;IACrB,MAAM,EAAE,YAAY;IACpB,WAAW,EAAE,YAAY;IACzB,UAAU,EAAE,aAAa;IACzB,YAAY,EAAE,aAAa;IAC3B,IAAI,EAAE,aAAa;IACnB,GAAG,EAAE,MAAM;IACX,MAAM,EAAE,OAAO;IACf,GAAG,EAAE,OAAO;IACZ,OAAO,EAAE,OAAO;CACjB,CAAC;AAEF,SAAgB,OAAO;IACrB,OAAO,gBAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Enumerate EVERY Solid# MCP provider an AI on this machine can reach — and
|
|
3
|
+
* decide which company each one will actually serve.
|
|
4
|
+
*
|
|
5
|
+
* ⛔ WHY THIS EXISTS — 2026-09-15, and it is not the bug we already fixed.
|
|
6
|
+
*
|
|
7
|
+
* `mcp-tenant-check.ts` answers "does the local API key match my session?".
|
|
8
|
+
* That was necessary and insufficient, because it can only see credentials that
|
|
9
|
+
* live in a FILE. The failure Adam hit has two providers loaded at once:
|
|
10
|
+
*
|
|
11
|
+
* claude.ai Solid# https://api.solidnumber.com/mcp/connector (account-level)
|
|
12
|
+
* solid npx -y @solidnumber/mcp (local stdio)
|
|
13
|
+
*
|
|
14
|
+
* The first is an account-level connector. Its token was minted on the OAuth
|
|
15
|
+
* consent screen and is pinned to the (user, company_id) captured there; it
|
|
16
|
+
* lives on the backend, NOT in ~/.claude.json. `readMcpApiKey` therefore
|
|
17
|
+
* returns null for it, `checkMcpTenant` returns null, and the old guard
|
|
18
|
+
* concluded "nothing to compare" — the quietest possible answer to the loudest
|
|
19
|
+
* possible problem.
|
|
20
|
+
*
|
|
21
|
+
* Measured on this machine, this session:
|
|
22
|
+
* ~/.solid/config.json company 61 (ANGL, adam@anglebuild.com) ← the CLI
|
|
23
|
+
* claude.ai Solid# company 1 (Solid-dev) ← the AI
|
|
24
|
+
* solid (local stdio) no credential at all — /auth/me 404s
|
|
25
|
+
*
|
|
26
|
+
* Three credentials; the one the agent actually uses is the one the CLI cannot
|
|
27
|
+
* touch. `solid switch` moves the JWT, re-login re-mints the local key, and the
|
|
28
|
+
* agent goes right on reporting company 1. There was no authority deciding
|
|
29
|
+
* which provider wins, so the AI picked, and it picked the remote one.
|
|
30
|
+
*
|
|
31
|
+
* ⛔ THE RULE THIS MODULE ENFORCES: two active Solid# providers is not a
|
|
32
|
+
* preference to resolve, it is a refusal. When we cannot prove which company an
|
|
33
|
+
* agent will act on, we say so and stop — we never launch with a reassuring
|
|
34
|
+
* line. A tenant mix-up that announces itself costs a minute; one that reads
|
|
35
|
+
* correct and coherent about the wrong business costs whatever the agent then
|
|
36
|
+
* writes.
|
|
37
|
+
*/
|
|
38
|
+
import { type McpClient } from './mcp-client-config';
|
|
39
|
+
/** Where a provider is configured — this decides who can change it. */
|
|
40
|
+
export type ProviderScope = 'account' | 'user' | 'project' | 'unknown';
|
|
41
|
+
/** How the provider is reached. */
|
|
42
|
+
export type ProviderTransport = 'stdio' | 'remote';
|
|
43
|
+
export interface SolidProvider {
|
|
44
|
+
/** Server name exactly as the client knows it (`claude mcp remove` needs it). */
|
|
45
|
+
name: string;
|
|
46
|
+
scope: ProviderScope;
|
|
47
|
+
transport: ProviderTransport;
|
|
48
|
+
/** Command line or URL, as reported. */
|
|
49
|
+
target: string;
|
|
50
|
+
/** Health string from `claude mcp list`, when it came from there. */
|
|
51
|
+
health?: string;
|
|
52
|
+
/** False when the client reported it as failed/pending — it serves nothing. */
|
|
53
|
+
active: boolean;
|
|
54
|
+
/** Config file this came from, when it came from a file. */
|
|
55
|
+
configPath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Which client's config this entry belongs to.
|
|
58
|
+
*
|
|
59
|
+
* ⛔ REQUIRED FOR CORRECTNESS, NOT LABELLING. Every client names its server
|
|
60
|
+
* "solid", so a name is NOT a unique key across configs. Adam's machine had
|
|
61
|
+
* `solid` in BOTH Claude Desktop's config (a stale key on company 1) and
|
|
62
|
+
* ~/.claude.json (no key at all). Merging them by name attributed Desktop's
|
|
63
|
+
* company to the Claude Code entry and printed a company for a server that
|
|
64
|
+
* has no credential — a wrong answer produced by the very tool written to
|
|
65
|
+
* stop wrong answers.
|
|
66
|
+
*/
|
|
67
|
+
client?: McpClient;
|
|
68
|
+
/** Company this provider resolves to. null = we could not determine it. */
|
|
69
|
+
companyId: number | null;
|
|
70
|
+
companyName?: string;
|
|
71
|
+
/** Why companyId is null. Present ONLY when it is null. */
|
|
72
|
+
unresolved?: string;
|
|
73
|
+
/** True when no local action can re-point this provider. */
|
|
74
|
+
cliCanRepoint: boolean;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Is this MCP server one of ours?
|
|
78
|
+
*
|
|
79
|
+
* ⛔ Deliberately narrow. Matching /solid/ anywhere would claim "SolidWorks" or
|
|
80
|
+
* a customer's "solid-state" server and then refuse to launch over it — a false
|
|
81
|
+
* refusal trains people to pass --allow-tenant-mismatch by reflex, which
|
|
82
|
+
* disables the real check. Name must be `solid` as a word, or the target must
|
|
83
|
+
* name our package or our host.
|
|
84
|
+
*/
|
|
85
|
+
export declare function isSolidProvider(name: string, target: string): boolean;
|
|
86
|
+
interface ParsedLine {
|
|
87
|
+
name: string;
|
|
88
|
+
target: string;
|
|
89
|
+
health: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Parse `claude mcp list` stdout.
|
|
93
|
+
*
|
|
94
|
+
* The format is `name: target - health`, and BOTH separators are ambiguous:
|
|
95
|
+
* the target holds `://` and can hold ` - `. So we take the name up to the
|
|
96
|
+
* FIRST `: ` and the health after the LAST ` - `, which is the only split that
|
|
97
|
+
* survives `claude.ai Solid#: https://api.solidnumber.com/mcp/connector - ✔ Connected`.
|
|
98
|
+
*/
|
|
99
|
+
export declare function parseClaudeMcpList(stdout: string): ParsedLine[];
|
|
100
|
+
/** `Scope: claude.ai config` → 'account'. That line is the whole discriminator. */
|
|
101
|
+
export declare function parseScope(getStdout: string): ProviderScope;
|
|
102
|
+
/** A health string that means "this server is serving tools right now". */
|
|
103
|
+
export declare function isActiveHealth(health: string): boolean;
|
|
104
|
+
export interface EnumerateDeps {
|
|
105
|
+
apiUrl: string;
|
|
106
|
+
/** Override for tests. Returns stdout, or throws. */
|
|
107
|
+
runClaude?: (args: string[]) => Promise<string>;
|
|
108
|
+
/** Override for tests. */
|
|
109
|
+
readFileSync?: (p: string) => string;
|
|
110
|
+
existsSync?: (p: string) => boolean;
|
|
111
|
+
clients?: McpClient[];
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Ask the `claude` CLI what IT loads. This is the only way to see an
|
|
115
|
+
* account-level connector: it is not in any file on this machine.
|
|
116
|
+
*
|
|
117
|
+
* Returns [] when `claude` is absent or errors — a missing binary is a normal
|
|
118
|
+
* state (Cursor-only machine), not a fault to surface.
|
|
119
|
+
*/
|
|
120
|
+
export declare function providersFromClaudeCli(deps: EnumerateDeps): Promise<SolidProvider[]>;
|
|
121
|
+
/**
|
|
122
|
+
* Solid# providers configured in client config FILES, with their key resolved
|
|
123
|
+
* to a company. Covers Cursor/Windsurf/Desktop, which have no `claude mcp list`.
|
|
124
|
+
*/
|
|
125
|
+
export declare function providersFromConfigFiles(deps: EnumerateDeps): Promise<SolidProvider[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Every Solid# provider reachable from this machine, de-duplicated.
|
|
128
|
+
*
|
|
129
|
+
* When the same server appears both in `claude mcp list` and in a config file,
|
|
130
|
+
* we keep ONE entry and prefer the file's resolved company — the CLI read the
|
|
131
|
+
* actual credential there, where the CLI listing only knows a name.
|
|
132
|
+
*/
|
|
133
|
+
export declare function enumerateSolidProviders(deps: EnumerateDeps): Promise<SolidProvider[]>;
|
|
134
|
+
export type ProviderVerdict = 'ok' | 'none' | 'conflict' | 'mismatch' | 'unverified';
|
|
135
|
+
export interface ProviderAssessment {
|
|
136
|
+
verdict: ProviderVerdict;
|
|
137
|
+
providers: SolidProvider[];
|
|
138
|
+
active: SolidProvider[];
|
|
139
|
+
sessionCompanyId?: number;
|
|
140
|
+
/** One line stating the finding. */
|
|
141
|
+
headline: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Decide whether an AI may be launched.
|
|
145
|
+
*
|
|
146
|
+
* ⛔ ORDER MATTERS, AND IT IS NOT THE OBVIOUS ONE. `conflict` outranks
|
|
147
|
+
* `mismatch`: if two providers are live, a matching company on one of them
|
|
148
|
+
* proves nothing, because nothing guarantees the agent uses that one. Measured
|
|
149
|
+
* on this machine, the agent used the other one.
|
|
150
|
+
*/
|
|
151
|
+
export declare function assessProviders(providers: SolidProvider[], sessionCompanyId?: number): ProviderAssessment;
|
|
152
|
+
/**
|
|
153
|
+
* Render a verdict as operator-readable lines.
|
|
154
|
+
*
|
|
155
|
+
* ⛔ EVERY BRANCH ENDS IN A COMMAND OR A SETTING THE READER CAN ACT ON. The
|
|
156
|
+
* version of this that shipped told people their setup was fine, and the
|
|
157
|
+
* version before that said nothing at all. A diagnostic that names a problem
|
|
158
|
+
* without naming the fix just relocates the confusion.
|
|
159
|
+
*/
|
|
160
|
+
export declare function renderProviderVerdict(a: ProviderAssessment): string[];
|
|
161
|
+
export {};
|
|
162
|
+
//# sourceMappingURL=mcp-providers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-providers.d.ts","sourceRoot":"","sources":["../../src/lib/mcp-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAMH,OAAO,EAA0C,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAK7F,uEAAuE;AACvE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,MAAM,GACN,SAAS,GACT,SAAS,CAAC;AAEd,mCAAmC;AACnC,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,iFAAiF;IACjF,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,iBAAiB,CAAC;IAC7B,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2EAA2E;IAC3E,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,aAAa,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAA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