19 lines
550 B
JavaScript
19 lines
550 B
JavaScript
// Generated, do not edit. sha256:35230db92740b73c0985590b9f5ef4f49deba0d1a3c63e124e62b21c8b219a63
|
|||
|
|
import { fileURLToPath } from 'node:url';
|
||
|
|
|
||
|
|
import { CONFIG } from '../../shared/config.js';
|
||
|
|
|
||
|
|
const STDIO_PAD = fileURLToPath(new URL('./stdio.mjs', import.meta.url));
|
||
|
|
|
||
|
|
export function mcpClientConfig() {
|
||
|
|
const document = {
|
||
|
|
mcpServers: {
|
||
|
|
[CONFIG.AI.SERVER_NAME]: { command: 'node', args: [STDIO_PAD] },
|
||
|
|
},
|
||
|
|
};
|
||
|
|
return {
|
||
|
|
serverKey: CONFIG.AI.SERVER_NAME,
|
||
|
|
path: STDIO_PAD,
|
||
|
|
snippet: JSON.stringify(document, null, 2),
|
||
|
|
};
|
||
|
|
}
|