@project-ava-supernova/core 0.2.187 → 0.2.188
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/dist/agent/agent.d.ts +1 -1
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/agent.js +13 -3
- package/dist/agent/agent.js.map +1 -1
- package/dist/i18n/keep-english.d.ts.map +1 -1
- package/dist/i18n/keep-english.js +0 -4
- package/dist/i18n/keep-english.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +154 -33
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +154 -33
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +152 -32
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +154 -33
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +154 -33
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +154 -33
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +154 -33
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/id.d.ts.map +1 -1
- package/dist/i18n/locales/id.js +154 -33
- package/dist/i18n/locales/id.js.map +1 -1
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +154 -33
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +154 -33
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/ko.d.ts.map +1 -1
- package/dist/i18n/locales/ko.js +154 -33
- package/dist/i18n/locales/ko.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +154 -33
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +154 -33
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +154 -33
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +154 -33
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/th.d.ts.map +1 -1
- package/dist/i18n/locales/th.js +154 -33
- package/dist/i18n/locales/th.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +154 -33
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/uk.d.ts.map +1 -1
- package/dist/i18n/locales/uk.js +154 -33
- package/dist/i18n/locales/uk.js.map +1 -1
- package/dist/i18n/locales/vi.d.ts.map +1 -1
- package/dist/i18n/locales/vi.js +154 -33
- package/dist/i18n/locales/vi.js.map +1 -1
- package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/i18n/locales/zh-CN.js +154 -33
- package/dist/i18n/locales/zh-CN.js.map +1 -1
- package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/i18n/locales/zh-TW.js +154 -33
- package/dist/i18n/locales/zh-TW.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp/connection.d.ts +30 -3
- package/dist/mcp/connection.d.ts.map +1 -1
- package/dist/mcp/connection.js +70 -3
- package/dist/mcp/connection.js.map +1 -1
- package/dist/mcp/import.d.ts +47 -0
- package/dist/mcp/import.d.ts.map +1 -0
- package/dist/mcp/import.js +157 -0
- package/dist/mcp/import.js.map +1 -0
- package/dist/mcp/index.d.ts +25 -0
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +14 -0
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/manager.d.ts +144 -0
- package/dist/mcp/manager.d.ts.map +1 -0
- package/dist/mcp/manager.js +550 -0
- package/dist/mcp/manager.js.map +1 -0
- package/dist/mcp/oauth.d.ts +117 -0
- package/dist/mcp/oauth.d.ts.map +1 -0
- package/dist/mcp/oauth.js +382 -0
- package/dist/mcp/oauth.js.map +1 -0
- package/dist/mcp/page.d.ts +99 -0
- package/dist/mcp/page.d.ts.map +1 -0
- package/dist/mcp/page.js +287 -0
- package/dist/mcp/page.js.map +1 -0
- package/dist/mcp/permissions.d.ts +22 -0
- package/dist/mcp/permissions.d.ts.map +1 -0
- package/dist/mcp/permissions.js +35 -0
- package/dist/mcp/permissions.js.map +1 -0
- package/dist/mcp/registry.d.ts +63 -0
- package/dist/mcp/registry.d.ts.map +1 -0
- package/dist/mcp/registry.js +106 -0
- package/dist/mcp/registry.js.map +1 -0
- package/dist/mcp/risk.d.ts +23 -0
- package/dist/mcp/risk.d.ts.map +1 -0
- package/dist/mcp/risk.js +98 -0
- package/dist/mcp/risk.js.map +1 -0
- package/dist/mcp/secrets.d.ts +38 -0
- package/dist/mcp/secrets.d.ts.map +1 -0
- package/dist/mcp/secrets.js +82 -0
- package/dist/mcp/secrets.js.map +1 -0
- package/dist/mcp/servers-config.d.ts +107 -0
- package/dist/mcp/servers-config.d.ts.map +1 -0
- package/dist/mcp/servers-config.js +243 -0
- package/dist/mcp/servers-config.js.map +1 -0
- package/dist/mcp/setup.d.ts +75 -0
- package/dist/mcp/setup.d.ts.map +1 -0
- package/dist/mcp/setup.js +150 -0
- package/dist/mcp/setup.js.map +1 -0
- package/dist/mcp/suggested.d.ts +47 -0
- package/dist/mcp/suggested.d.ts.map +1 -0
- package/dist/mcp/suggested.js +91 -0
- package/dist/mcp/suggested.js.map +1 -0
- package/dist/tools/connection-tools.d.ts +61 -0
- package/dist/tools/connection-tools.d.ts.map +1 -0
- package/dist/tools/connection-tools.js +271 -0
- package/dist/tools/connection-tools.js.map +1 -0
- package/dist/tools/tool-registry.d.ts.map +1 -1
- package/dist/tools/tool-registry.js +21 -1
- package/dist/tools/tool-registry.js.map +1 -1
- package/dist/tools/tool-request-words.d.ts.map +1 -1
- package/dist/tools/tool-request-words.js +34 -0
- package/dist/tools/tool-request-words.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adding servers — shared by Ava's tools (tools/connection-tools.ts) and the
|
|
3
|
+
* Connections page (plan 2026-11-17-mcp-servers, Phase 4).
|
|
4
|
+
*
|
|
5
|
+
* Ava never handles a key's VALUE: anything typed in the chat goes to his AI
|
|
6
|
+
* provider. She names the keys a server needs; the entry gets
|
|
7
|
+
* `${secret:<server>.<NAME>}` slots, the server shows "needs a key", and he
|
|
8
|
+
* types the value on the Connections page (straight into the keychain).
|
|
9
|
+
* Imported servers are the exception that proves it: their keys move from
|
|
10
|
+
* the other app's file into the keychain without ever passing through her.
|
|
11
|
+
*/
|
|
12
|
+
import { type McpServerStatus } from './manager.js';
|
|
13
|
+
import { type McpServerEntry } from './servers-config.js';
|
|
14
|
+
import { type McpRiskNote } from './risk.js';
|
|
15
|
+
import { type McpImportApp } from './import.js';
|
|
16
|
+
export interface McpProposal {
|
|
17
|
+
/** What to call it (becomes its id: letters, digits, _ and -). */
|
|
18
|
+
name: string;
|
|
19
|
+
/** The whole command line, for a server on this computer. */
|
|
20
|
+
command?: string;
|
|
21
|
+
/** Its address, for an online server. */
|
|
22
|
+
url?: string;
|
|
23
|
+
/** Environment variables it needs that are SECRET: names only, he sets the values. */
|
|
24
|
+
keys?: string[];
|
|
25
|
+
/** An online server's fixed-key header (e.g. Authorization), value set by him. */
|
|
26
|
+
keyHeader?: string;
|
|
27
|
+
/** Environment variables that are NOT secret (a folder, a region…). */
|
|
28
|
+
settings?: Record<string, string>;
|
|
29
|
+
/** Her view, shown on its card. */
|
|
30
|
+
view?: string;
|
|
31
|
+
registry?: string;
|
|
32
|
+
repository?: string;
|
|
33
|
+
}
|
|
34
|
+
export type McpProposalCheck = {
|
|
35
|
+
ok: true;
|
|
36
|
+
id: string;
|
|
37
|
+
entry: McpServerEntry;
|
|
38
|
+
shows: string;
|
|
39
|
+
notes: McpRiskNote[];
|
|
40
|
+
slots: string[];
|
|
41
|
+
} | {
|
|
42
|
+
ok: false;
|
|
43
|
+
problem: string;
|
|
44
|
+
};
|
|
45
|
+
/** The entry a proposal would add, or what's wrong with it. Writes nothing. */
|
|
46
|
+
export declare function checkProposal(p: McpProposal): Promise<McpProposalCheck>;
|
|
47
|
+
/** Add servers (and keep any keys that came with them), then start them. */
|
|
48
|
+
export declare function addMcpServers(items: Array<{
|
|
49
|
+
id: string;
|
|
50
|
+
entry: McpServerEntry;
|
|
51
|
+
secrets?: Record<string, string>;
|
|
52
|
+
}>): Promise<void>;
|
|
53
|
+
/** Wait (up to `ms`) for these servers to finish starting, and say where they got to. */
|
|
54
|
+
export declare function settleMcpServers(ids: string[], ms?: number): Promise<McpServerStatus[]>;
|
|
55
|
+
export interface McpImportResult {
|
|
56
|
+
added: Array<{
|
|
57
|
+
id: string;
|
|
58
|
+
from: string;
|
|
59
|
+
keysMoved: number;
|
|
60
|
+
keysToSet: string[];
|
|
61
|
+
}>;
|
|
62
|
+
skipped: Array<{
|
|
63
|
+
app: string;
|
|
64
|
+
name: string;
|
|
65
|
+
why: string;
|
|
66
|
+
}>;
|
|
67
|
+
}
|
|
68
|
+
/** Bring in the servers he picked from the other apps. */
|
|
69
|
+
export declare function importMcpServers(picks: Array<{
|
|
70
|
+
app: McpImportApp;
|
|
71
|
+
name: string;
|
|
72
|
+
}>, paths?: Record<McpImportApp, string>): Promise<McpImportResult>;
|
|
73
|
+
/** A status in plain words, for Ava. */
|
|
74
|
+
export declare function statusInWords(s: McpServerStatus): string;
|
|
75
|
+
//# sourceMappingURL=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,CAAC,gBAAgB,CAAC,CA2C7E;AAED,4EAA4E;AAC5E,wBAAsB,aAAa,CAAC,KAAK,EAAE,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,cAAc,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAIxI;AAED,yFAAyF;AACzF,wBAAsB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAM7F;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IACnF,OAAO,EAAE,KAAK,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5D;AAED,0DAA0D;AAC1D,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,KAAK,CAAC;IAAE,GAAG,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAAK,+BAAmB,GAAG,OAAO,CAAC,eAAe,CAAC,CA4B5I;AAED,wCAAwC;AACxC,wBAAgB,aAAa,CAAC,CAAC,EAAE,eAAe,GAAG,MAAM,CAWxD"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adding servers — shared by Ava's tools (tools/connection-tools.ts) and the
|
|
3
|
+
* Connections page (plan 2026-11-17-mcp-servers, Phase 4).
|
|
4
|
+
*
|
|
5
|
+
* Ava never handles a key's VALUE: anything typed in the chat goes to his AI
|
|
6
|
+
* provider. She names the keys a server needs; the entry gets
|
|
7
|
+
* `${secret:<server>.<NAME>}` slots, the server shows "needs a key", and he
|
|
8
|
+
* types the value on the Connections page (straight into the keychain).
|
|
9
|
+
* Imported servers are the exception that proves it: their keys move from
|
|
10
|
+
* the other app's file into the keychain without ever passing through her.
|
|
11
|
+
*/
|
|
12
|
+
import { McpServers } from './manager.js';
|
|
13
|
+
import { cleanServerId, describeEntry, readMcpFile, updateMcpFile, } from './servers-config.js';
|
|
14
|
+
import { setMcpSecret } from './secrets.js';
|
|
15
|
+
import { checkServerUrl } from './connection.js';
|
|
16
|
+
import { redactSecrets, riskNotes } from './risk.js';
|
|
17
|
+
import { splitCommandLine } from './page.js';
|
|
18
|
+
import { MCP_IMPORT_APP_NAMES, mcpImportPaths, scanMcpImports } from './import.js';
|
|
19
|
+
const ENV_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
20
|
+
/** The entry a proposal would add, or what's wrong with it. Writes nothing. */
|
|
21
|
+
export async function checkProposal(p) {
|
|
22
|
+
if (!p.name?.trim())
|
|
23
|
+
return { ok: false, problem: 'It needs a name.' };
|
|
24
|
+
const id = cleanServerId(p.name);
|
|
25
|
+
const slots = [];
|
|
26
|
+
let entry;
|
|
27
|
+
if (p.url?.trim()) {
|
|
28
|
+
const url = p.url.trim();
|
|
29
|
+
const bad = checkServerUrl(url);
|
|
30
|
+
if (bad)
|
|
31
|
+
return { ok: false, problem: bad };
|
|
32
|
+
entry = { type: 'http', url };
|
|
33
|
+
if (p.keyHeader?.trim()) {
|
|
34
|
+
const header = p.keyHeader.trim();
|
|
35
|
+
const slot = `${id}.key`;
|
|
36
|
+
slots.push(slot);
|
|
37
|
+
entry.headers = { [header]: /^authorization$/i.test(header) ? `Bearer \${secret:${slot}}` : `\${secret:${slot}}` };
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else if (p.command?.trim()) {
|
|
41
|
+
const parts = splitCommandLine(p.command);
|
|
42
|
+
if (!parts[0])
|
|
43
|
+
return { ok: false, problem: 'The command is empty.' };
|
|
44
|
+
entry = { command: parts[0], ...(parts.length > 1 ? { args: parts.slice(1) } : {}) };
|
|
45
|
+
const env = {};
|
|
46
|
+
for (const [k, v] of Object.entries(p.settings ?? {})) {
|
|
47
|
+
if (!ENV_NAME.test(k))
|
|
48
|
+
return { ok: false, problem: `"${k}" isn't a usable setting name.` };
|
|
49
|
+
env[k] = String(v);
|
|
50
|
+
}
|
|
51
|
+
for (const k of p.keys ?? []) {
|
|
52
|
+
if (!ENV_NAME.test(k))
|
|
53
|
+
return { ok: false, problem: `"${k}" isn't a usable key name.` };
|
|
54
|
+
const slot = `${id}.${k}`;
|
|
55
|
+
slots.push(slot);
|
|
56
|
+
env[k] = `\${secret:${slot}}`;
|
|
57
|
+
}
|
|
58
|
+
if (Object.keys(env).length)
|
|
59
|
+
entry.env = env;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
return { ok: false, problem: 'It needs a command (a server on this computer) or an address (an online server).' };
|
|
63
|
+
}
|
|
64
|
+
const ava = {};
|
|
65
|
+
if (p.view?.trim())
|
|
66
|
+
ava.view = p.view.trim().slice(0, 1200);
|
|
67
|
+
if (p.registry?.trim())
|
|
68
|
+
ava.registry = p.registry.trim().slice(0, 200);
|
|
69
|
+
if (p.repository?.trim())
|
|
70
|
+
ava.repository = p.repository.trim().slice(0, 300);
|
|
71
|
+
if (Object.keys(ava).length)
|
|
72
|
+
entry.ava = { ...ava, at: new Date().toISOString() };
|
|
73
|
+
const { file } = await readMcpFile();
|
|
74
|
+
if (file.mcpServers[id])
|
|
75
|
+
return { ok: false, problem: `He already has a server called "${id}". Use another name, or he can remove that one on the Connections page.` };
|
|
76
|
+
return { ok: true, id, entry, shows: describeEntry(entry), notes: riskNotes(entry), slots };
|
|
77
|
+
}
|
|
78
|
+
/** Add servers (and keep any keys that came with them), then start them. */
|
|
79
|
+
export async function addMcpServers(items) {
|
|
80
|
+
for (const it of items)
|
|
81
|
+
for (const [name, value] of Object.entries(it.secrets ?? {}))
|
|
82
|
+
await setMcpSecret(name, value);
|
|
83
|
+
await updateMcpFile((f) => { for (const it of items)
|
|
84
|
+
f.mcpServers[it.id] = it.entry; });
|
|
85
|
+
await McpServers.current().reload();
|
|
86
|
+
}
|
|
87
|
+
/** Wait (up to `ms`) for these servers to finish starting, and say where they got to. */
|
|
88
|
+
export async function settleMcpServers(ids, ms = 30_000) {
|
|
89
|
+
const m = McpServers.current();
|
|
90
|
+
const mine = () => m.status().filter((s) => s.scope === 'user' && ids.includes(s.id));
|
|
91
|
+
const end = Date.now() + ms;
|
|
92
|
+
while (Date.now() < end && mine().some((s) => s.state === 'connecting'))
|
|
93
|
+
await new Promise((r) => setTimeout(r, 200));
|
|
94
|
+
return mine();
|
|
95
|
+
}
|
|
96
|
+
/** Bring in the servers he picked from the other apps. */
|
|
97
|
+
export async function importMcpServers(picks, paths = mcpImportPaths()) {
|
|
98
|
+
const sources = await scanMcpImports(paths);
|
|
99
|
+
const { file } = await readMcpFile();
|
|
100
|
+
const taken = new Set(Object.keys(file.mcpServers));
|
|
101
|
+
const result = { added: [], skipped: [] };
|
|
102
|
+
const items = [];
|
|
103
|
+
for (const pick of picks) {
|
|
104
|
+
const appName = MCP_IMPORT_APP_NAMES[pick.app] ?? pick.app;
|
|
105
|
+
const c = sources.find((s) => s.app === pick.app)?.servers.find((x) => x.name === pick.name);
|
|
106
|
+
if (!c) {
|
|
107
|
+
result.skipped.push({ app: appName, name: pick.name, why: 'not found there' });
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
if (c.here === 'same') {
|
|
111
|
+
result.skipped.push({ app: appName, name: pick.name, why: 'already in your list' });
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
let id = c.id;
|
|
115
|
+
if (taken.has(id))
|
|
116
|
+
id = cleanServerId(`${c.id}-${pick.app}`);
|
|
117
|
+
if (taken.has(id)) {
|
|
118
|
+
result.skipped.push({ app: appName, name: pick.name, why: `the name "${c.id}" is taken` });
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
taken.add(id);
|
|
122
|
+
// Renamed: its key slots follow the new name.
|
|
123
|
+
const rename = (v) => (id === c.id ? v : v.split(`\${secret:${c.id}.`).join(`\${secret:${id}.`));
|
|
124
|
+
const entry = JSON.parse(rename(JSON.stringify(c.entry)));
|
|
125
|
+
const secrets = Object.fromEntries(Object.entries(c.secrets).map(([k, v]) => [id === c.id ? k : `${id}.${k.slice(c.id.length + 1)}`, v]));
|
|
126
|
+
entry.ava = { from: appName, at: new Date().toISOString() };
|
|
127
|
+
items.push({ id, entry, secrets });
|
|
128
|
+
result.added.push({
|
|
129
|
+
id, from: appName, keysMoved: Object.keys(secrets).length,
|
|
130
|
+
keysToSet: c.slots.map((s) => (id === c.id ? s : `${id}.${s.slice(c.id.length + 1)}`)),
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
if (items.length)
|
|
134
|
+
await addMcpServers(items);
|
|
135
|
+
return result;
|
|
136
|
+
}
|
|
137
|
+
/** A status in plain words, for Ava. */
|
|
138
|
+
export function statusInWords(s) {
|
|
139
|
+
const where = s.online ? 'online' : 'on this computer';
|
|
140
|
+
switch (s.state) {
|
|
141
|
+
case 'ready': return `running (${where}), ${s.tools.length} tool${s.tools.length === 1 ? '' : 's'}: ${s.tools.map((t) => t.name).join(', ')}`;
|
|
142
|
+
case 'connecting': return 'still starting';
|
|
143
|
+
case 'needs-key': return `waiting for ${s.missing?.length === 1 ? 'a key' : 'keys'} he sets on the Connections page: ${(s.missing ?? []).join(', ')}`;
|
|
144
|
+
case 'needs-signin': return 'waiting for him to sign in (Sign in button on the Connections page)';
|
|
145
|
+
case 'waiting': return "a project's server, waiting for his yes on the Connections page";
|
|
146
|
+
case 'off': return 'switched off';
|
|
147
|
+
default: return `couldn't start: ${redactSecrets(s.message ?? 'no reason given')}`;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=setup.js.map
|
|
@@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 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Suggested servers — a short, free, checked list on the Connections page and
|
|
3
|
+
* known to Ava (plan 2026-11-17-mcp-servers; his call 17 Nov: "a selection of
|
|
4
|
+
* free helpful mcp's along with the ability for the user to add their own").
|
|
5
|
+
*
|
|
6
|
+
* Suggested, never installed: each one goes through the same card (exact
|
|
7
|
+
* address, warnings, his yes) as anything else. All are ONLINE servers from the
|
|
8
|
+
* company itself, so nothing is downloaded or run on his computer. Only gaps:
|
|
9
|
+
* Ava already reads files, runs git, fetches pages and browses, so servers that
|
|
10
|
+
* repeat those aren't here.
|
|
11
|
+
*
|
|
12
|
+
* Checked 17 Nov 2026, each against its live address (open / wants a sign-in /
|
|
13
|
+
* lets an app register itself) and the official MCP Registry, plus its own
|
|
14
|
+
* docs for "free". RE-CHECK EVERY RELEASE: run the probe in the plan, and
|
|
15
|
+
* drop anything that stops being free or official.
|
|
16
|
+
*
|
|
17
|
+
* Words for him (what it does, Ava's view) live in the locale files under
|
|
18
|
+
* mcp.suggest.<id>.*, so the page says them in his language.
|
|
19
|
+
*/
|
|
20
|
+
export type McpSuggestionKind = 'open' | 'signin' | 'key';
|
|
21
|
+
export interface McpSuggestion {
|
|
22
|
+
id: string;
|
|
23
|
+
/** What to call it on the page. */
|
|
24
|
+
name: string;
|
|
25
|
+
/** Who runs it. */
|
|
26
|
+
publisher: string;
|
|
27
|
+
/** Its name in the official MCP Registry (publisher verified there), if listed. */
|
|
28
|
+
registry?: string;
|
|
29
|
+
kind: McpSuggestionKind;
|
|
30
|
+
url: string;
|
|
31
|
+
/** Its own page about the server (checked 17 Nov: each answers and is about this server). */
|
|
32
|
+
docs: string;
|
|
33
|
+
/** 'key' servers: the header his key goes in (value set on the page). */
|
|
34
|
+
keyHeader?: string;
|
|
35
|
+
/** Sign-in permissions to ask for, when the server offers far more than its tools need. */
|
|
36
|
+
scopes?: string[];
|
|
37
|
+
/** In English, for Ava (the page uses mcp.suggest.<id>.what). */
|
|
38
|
+
what: string;
|
|
39
|
+
/** Ava's view, in English (the page uses mcp.suggest.<id>.view). */
|
|
40
|
+
view: string;
|
|
41
|
+
}
|
|
42
|
+
export declare const MCP_SUGGESTIONS: McpSuggestion[];
|
|
43
|
+
/** A suggested server, matched by its address. */
|
|
44
|
+
export declare function suggestionFor(url: string | undefined): McpSuggestion | undefined;
|
|
45
|
+
/** The permissions a suggested server should ask for, matched by address. */
|
|
46
|
+
export declare function suggestedScopes(url: string | undefined): string[] | undefined;
|
|
47
|
+
//# sourceMappingURL=suggested.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggested.d.ts","sourceRoot":"","sources":["../../src/mcp/suggested.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,QAAQ,GACR,KAAK,CAAC;AAEV,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,6FAA6F;IAC7F,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2FAA2F;IAC3F,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,EA4D1C,CAAC;AAEF,kDAAkD;AAClD,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAEhF;AAED,6EAA6E;AAC7E,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS,CAG7E"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Suggested servers — a short, free, checked list on the Connections page and
|
|
3
|
+
* known to Ava (plan 2026-11-17-mcp-servers; his call 17 Nov: "a selection of
|
|
4
|
+
* free helpful mcp's along with the ability for the user to add their own").
|
|
5
|
+
*
|
|
6
|
+
* Suggested, never installed: each one goes through the same card (exact
|
|
7
|
+
* address, warnings, his yes) as anything else. All are ONLINE servers from the
|
|
8
|
+
* company itself, so nothing is downloaded or run on his computer. Only gaps:
|
|
9
|
+
* Ava already reads files, runs git, fetches pages and browses, so servers that
|
|
10
|
+
* repeat those aren't here.
|
|
11
|
+
*
|
|
12
|
+
* Checked 17 Nov 2026, each against its live address (open / wants a sign-in /
|
|
13
|
+
* lets an app register itself) and the official MCP Registry, plus its own
|
|
14
|
+
* docs for "free". RE-CHECK EVERY RELEASE: run the probe in the plan, and
|
|
15
|
+
* drop anything that stops being free or official.
|
|
16
|
+
*
|
|
17
|
+
* Words for him (what it does, Ava's view) live in the locale files under
|
|
18
|
+
* mcp.suggest.<id>.*, so the page says them in his language.
|
|
19
|
+
*/
|
|
20
|
+
export const MCP_SUGGESTIONS = [
|
|
21
|
+
{
|
|
22
|
+
id: 'context7', name: 'Context7', publisher: 'Upstash', registry: 'io.github.upstash/context7', kind: 'open',
|
|
23
|
+
url: 'https://mcp.context7.com/mcp', docs: 'https://github.com/upstash/context7',
|
|
24
|
+
what: 'Up-to-date documentation for code libraries and frameworks.',
|
|
25
|
+
view: "Run by Upstash and verified in the MCP Registry. It helps me write code for the library version you actually use instead of an old one. It's free without an account at a lower hourly limit; a free Context7 key raises it. It only reads public docs.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: 'deepwiki', name: 'DeepWiki', publisher: 'Cognition', kind: 'open',
|
|
29
|
+
url: 'https://mcp.deepwiki.com/mcp', docs: 'https://docs.devin.ai/work-with-devin/deepwiki-mcp',
|
|
30
|
+
what: 'Explanations of, and answers about, any public GitHub repository.',
|
|
31
|
+
view: "Run by Cognition (the makers of Devin), free with no account. It isn't listed in the MCP Registry, so I've gone on Cognition's own announcement. It only sees public repositories, and the questions I ask it are sent to Cognition.",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
id: 'microsoft-learn', name: 'Microsoft Learn', publisher: 'Microsoft', registry: 'com.microsoft/microsoft-learn-mcp', kind: 'open',
|
|
35
|
+
url: 'https://learn.microsoft.com/api/mcp', docs: 'https://learn.microsoft.com/training/support/mcp',
|
|
36
|
+
what: "Microsoft's official documentation: Windows, .NET, Azure, PowerShell and more.",
|
|
37
|
+
view: "Microsoft's own server, verified in the MCP Registry. Free, no account, and read-only: it searches and reads Microsoft's public docs. Useful whenever you work with Windows, .NET or Azure.",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
id: 'cloudflare-docs', name: 'Cloudflare Docs', publisher: 'Cloudflare', registry: 'com.cloudflare.mcp/mcp', kind: 'open',
|
|
41
|
+
url: 'https://docs.mcp.cloudflare.com/mcp', docs: 'https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/',
|
|
42
|
+
what: "Cloudflare's official documentation.",
|
|
43
|
+
view: "Cloudflare's own server, verified in the MCP Registry. Free, no account, read-only: it searches Cloudflare's public docs. Only worth adding if you use Cloudflare.",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'huggingface', name: 'Hugging Face', publisher: 'Hugging Face', registry: 'co.huggingface/hf-mcp-server', kind: 'open',
|
|
47
|
+
url: 'https://huggingface.co/mcp', docs: 'https://huggingface.co/docs/hub/en/hf-mcp-server',
|
|
48
|
+
what: 'Search AI models, datasets, papers and Spaces on Hugging Face.',
|
|
49
|
+
view: "Hugging Face's own server, verified in the MCP Registry. Free with no account for its basic search tools; a free Hugging Face account unlocks more. It reads public information only.",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
id: 'notion', name: 'Notion', publisher: 'Notion', registry: 'com.notion/mcp', kind: 'signin',
|
|
53
|
+
url: 'https://mcp.notion.com/mcp', docs: 'https://developers.notion.com/docs/mcp',
|
|
54
|
+
what: 'Your Notion pages and databases: search, read, create and update.',
|
|
55
|
+
view: "Notion's own server, verified in the MCP Registry. It works on Notion's free plan (a few tools need a paid one). You sign in with Notion and choose which pages I can reach; it can change pages, so each of its tools asks you first.",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: 'linear', name: 'Linear', publisher: 'Linear', registry: 'app.linear/linear', kind: 'signin',
|
|
59
|
+
url: 'https://mcp.linear.app/mcp', docs: 'https://linear.app/docs/mcp',
|
|
60
|
+
what: 'Your Linear issues, projects and comments.',
|
|
61
|
+
view: "Linear's own server, verified in the MCP Registry, and included on Linear's free plan. You sign in with Linear. It can create and change issues, so each of its tools asks you first.",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: 'atlassian', name: 'Atlassian (Jira & Confluence)', publisher: 'Atlassian', registry: 'com.atlassian/atlassian-mcp-server', kind: 'signin',
|
|
65
|
+
url: 'https://mcp.atlassian.com/v2/mcp', docs: 'https://www.atlassian.com/platform/remote-mcp-server',
|
|
66
|
+
scopes: [
|
|
67
|
+
'read:me', 'read:account', 'offline_access',
|
|
68
|
+
'read:jira:agent-interface', 'write:jira:agent-interface', 'search:jira:agent-interface',
|
|
69
|
+
'read:confluence:agent-interface', 'write:confluence:agent-interface', 'search:confluence:agent-interface',
|
|
70
|
+
],
|
|
71
|
+
what: 'Your Jira issues and Confluence pages.',
|
|
72
|
+
view: "Atlassian's own server, verified in the MCP Registry, free on Atlassian's free plan (500 calls an hour). It offers about 40 permissions, including deleting; I ask only for reading, searching and writing Jira and Confluence, so it can't delete anything.",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'github', name: 'GitHub', publisher: 'GitHub', registry: 'io.github.github/github-mcp-server', kind: 'key',
|
|
76
|
+
url: 'https://api.githubcopilot.com/mcp/', docs: 'https://github.com/github/github-mcp-server', keyHeader: 'Authorization',
|
|
77
|
+
what: 'Your repositories, issues and pull requests.',
|
|
78
|
+
view: "GitHub's own server, verified in the MCP Registry. GitHub's sign-in doesn't let apps register themselves, so it takes a personal access token: make a fine-grained one at github.com/settings/personal-access-tokens with only the repositories and rights you want me to have. GitHub lists Copilot access as a requirement; Copilot's free plan counts.",
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
/** A suggested server, matched by its address. */
|
|
82
|
+
export function suggestionFor(url) {
|
|
83
|
+
return url ? MCP_SUGGESTIONS.find((s) => s.url === url) : undefined;
|
|
84
|
+
}
|
|
85
|
+
/** The permissions a suggested server should ask for, matched by address. */
|
|
86
|
+
export function suggestedScopes(url) {
|
|
87
|
+
if (!url)
|
|
88
|
+
return undefined;
|
|
89
|
+
return MCP_SUGGESTIONS.find((s) => s.url === url)?.scopes;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=suggested.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggested.js","sourceRoot":"","sources":["../../src/mcp/suggested.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AA6BH,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C;QACE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,4BAA4B,EAAE,IAAI,EAAE,MAAM;QAC5G,GAAG,EAAE,8BAA8B,EAAE,IAAI,EAAE,qCAAqC;QAChF,IAAI,EAAE,6DAA6D;QACnE,IAAI,EAAE,yPAAyP;KAChQ;IACD;QACE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM;QACtE,GAAG,EAAE,8BAA8B,EAAE,IAAI,EAAE,oDAAoD;QAC/F,I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
+
* Ava sets up his MCP servers (plan 2026-11-17-mcp-servers, Phase 4).
|
|
3
|
+
*
|
|
4
|
+
* connection_search the official MCP Registry: who publishes a server (verified
|
|
5
|
+
* namespace), its repository, the exact package and version,
|
|
6
|
+
* which keys it needs — the core of her research
|
|
7
|
+
* connection_list his servers and where each one is
|
|
8
|
+
* connection_add add one, with her view — ALWAYS shows him the card first
|
|
9
|
+
* connection_import what Claude Desktop, Cursor and VS Code have (scan), and
|
|
10
|
+
* bringing in the ones he picks (always asks)
|
|
11
|
+
*
|
|
12
|
+
* Not named mcp_*: that prefix is the servers' OWN tools (permissions.ts).
|
|
13
|
+
* Keys are never taken in the chat (mcp/setup.ts): she names them, he types
|
|
14
|
+
* them on the Connections page.
|
|
15
|
+
*/
|
|
16
|
+
import type { FunctionSchema } from '../providers/types.js';
|
|
17
|
+
import type { Tool, ToolExecutionContext, ToolResult, ToolRiskLevel } from './types.js';
|
|
18
|
+
import { type McpRiskNote } from '../mcp/risk.js';
|
|
19
|
+
/** The risk notes in words (the page says them in his language; the card and Ava read these). */
|
|
20
|
+
export declare function riskNoteInWords(n: McpRiskNote): string;
|
|
21
|
+
export declare class ConnectionSearchTool implements Tool {
|
|
22
|
+
readonly name = "connection_search";
|
|
23
|
+
readonly description = "Look a server up in the official MCP Registry";
|
|
24
|
+
readonly riskLevel: ToolRiskLevel;
|
|
25
|
+
readonly outputTrust: "untrusted";
|
|
26
|
+
readonly requiresConfirmation = false;
|
|
27
|
+
readonly schema: FunctionSchema;
|
|
28
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
29
|
+
}
|
|
30
|
+
export declare class ConnectionListTool implements Tool {
|
|
31
|
+
readonly name = "connection_list";
|
|
32
|
+
readonly description = "List his MCP servers and how each is doing";
|
|
33
|
+
readonly riskLevel: ToolRiskLevel;
|
|
34
|
+
readonly requiresConfirmation = false;
|
|
35
|
+
readonly schema: FunctionSchema;
|
|
36
|
+
execute(): Promise<ToolResult>;
|
|
37
|
+
}
|
|
38
|
+
export declare class ConnectionAddTool implements Tool {
|
|
39
|
+
readonly name = "connection_add";
|
|
40
|
+
readonly description = "Add an MCP server to his list (he sees it first)";
|
|
41
|
+
readonly riskLevel: ToolRiskLevel;
|
|
42
|
+
readonly requiresConfirmation = true;
|
|
43
|
+
readonly schema: FunctionSchema;
|
|
44
|
+
precheck(args: Record<string, unknown>): Promise<{
|
|
45
|
+
ok: true;
|
|
46
|
+
} | {
|
|
47
|
+
ok: false;
|
|
48
|
+
output: string;
|
|
49
|
+
}>;
|
|
50
|
+
deniedMessage(reason: string | null): string;
|
|
51
|
+
execute(args: Record<string, unknown>): Promise<ToolResult>;
|
|
52
|
+
}
|
|
53
|
+
export declare class ConnectionImportTool implements Tool {
|
|
54
|
+
readonly name = "connection_import";
|
|
55
|
+
readonly description = "Bring in his servers from Claude Desktop, Cursor or VS Code";
|
|
56
|
+
readonly riskLevel: ToolRiskLevel;
|
|
57
|
+
readonly requiresConfirmation = false;
|
|
58
|
+
readonly schema: FunctionSchema;
|
|
59
|
+
execute(args: Record<string, unknown>, _context: ToolExecutionContext): Promise<ToolResult>;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=connection-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connection-tools.d.ts","sourceRoot":"","sources":["../../src/tools/connection-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAQxF,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAajE,iGAAiG;AACjG,wBAAgB,eAAe,CAAC,CAAC,EAAE,WAAW,GAAG,MAAM,CActD;AAsBD,qBAAa,oBAAqB,YAAW,IAAI;IAC/C,QAAQ,CAAC,IAAI,u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