conductor-node-mcp 14.23.7 → 14.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.
Files changed (65) hide show
  1. package/README.md +10 -7
  2. package/bridge.d.mts +11 -0
  3. package/bridge.d.mts.map +1 -0
  4. package/bridge.d.ts +11 -0
  5. package/bridge.d.ts.map +1 -0
  6. package/bridge.js +92 -0
  7. package/bridge.js.map +1 -0
  8. package/bridge.mjs +89 -0
  9. package/bridge.mjs.map +1 -0
  10. package/code-tool-paths.cjs +6 -0
  11. package/code-tool-paths.cjs.map +1 -1
  12. package/code-tool-paths.d.cts +1 -0
  13. package/code-tool-paths.d.cts.map +1 -1
  14. package/code-tool.d.mts.map +1 -1
  15. package/code-tool.d.ts.map +1 -1
  16. package/code-tool.js +4 -3
  17. package/code-tool.js.map +1 -1
  18. package/code-tool.mjs +3 -2
  19. package/code-tool.mjs.map +1 -1
  20. package/deno-bootstrap/index.ts +72 -0
  21. package/deno-http-worker/DenoHTTPWorker.d.mts +96 -0
  22. package/deno-http-worker/DenoHTTPWorker.d.mts.map +1 -0
  23. package/deno-http-worker/DenoHTTPWorker.d.ts +96 -0
  24. package/deno-http-worker/DenoHTTPWorker.d.ts.map +1 -0
  25. package/deno-http-worker/DenoHTTPWorker.js +310 -0
  26. package/deno-http-worker/DenoHTTPWorker.js.map +1 -0
  27. package/deno-http-worker/DenoHTTPWorker.mjs +302 -0
  28. package/deno-http-worker/DenoHTTPWorker.mjs.map +1 -0
  29. package/deno-http-worker/index.d.mts +2 -0
  30. package/deno-http-worker/index.d.mts.map +1 -0
  31. package/deno-http-worker/index.d.ts +2 -0
  32. package/deno-http-worker/index.d.ts.map +1 -0
  33. package/deno-http-worker/index.js +8 -0
  34. package/deno-http-worker/index.js.map +1 -0
  35. package/deno-http-worker/index.mjs +3 -0
  36. package/deno-http-worker/index.mjs.map +1 -0
  37. package/index.js +4 -3
  38. package/index.js.map +1 -1
  39. package/index.mjs +4 -3
  40. package/index.mjs.map +1 -1
  41. package/package.json +32 -3
  42. package/server.d.mts +1 -0
  43. package/server.d.mts.map +1 -1
  44. package/server.d.ts +1 -0
  45. package/server.d.ts.map +1 -1
  46. package/server.js +3 -2
  47. package/server.js.map +1 -1
  48. package/server.mjs +2 -1
  49. package/server.mjs.map +1 -1
  50. package/src/bridge.ts +113 -0
  51. package/src/code-tool-paths.cts +6 -0
  52. package/src/code-tool.ts +3 -2
  53. package/src/deno-http-worker/DenoHTTPWorker.ts +404 -0
  54. package/src/deno-http-worker/index.ts +8 -0
  55. package/src/index.ts +9 -8
  56. package/src/server.ts +3 -1
  57. package/src/stdio.ts +51 -12
  58. package/stdio.d.mts +3 -2
  59. package/stdio.d.mts.map +1 -1
  60. package/stdio.d.ts +3 -2
  61. package/stdio.d.ts.map +1 -1
  62. package/stdio.js +43 -11
  63. package/stdio.js.map +1 -1
  64. package/stdio.mjs +42 -10
  65. package/stdio.mjs.map +1 -1
package/stdio.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.d.mts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,sBAAkB;AAIvC,eAAO,MAAM,iBAAiB,GAAU,YAAY,UAAU,kBAW7D,CAAC"}
1
+ {"version":3,"file":"stdio.d.mts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,sBAAkB;AAGvC,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAQhE,eAAO,MAAM,iBAAiB,GAAU,YAAY,UAAU,kBAW7D,CAAC"}
package/stdio.d.ts CHANGED
@@ -1,3 +1,4 @@
1
- import { McpOptions } from "./options.js";
2
- export declare const launchStdioServer: (mcpOptions: McpOptions) => Promise<void>;
1
+ import { CLIOptions } from "./options.js";
2
+ export declare const DEFAULT_UPSTREAM_URL = "https://mcp.conductor.is/";
3
+ export declare const launchStdioServer: (mcpOptions: CLIOptions) => Promise<void>;
3
4
  //# sourceMappingURL=stdio.d.ts.map
package/stdio.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,qBAAkB;AAIvC,eAAO,MAAM,iBAAiB,GAAU,YAAY,UAAU,kBAW7D,CAAC"}
1
+ {"version":3,"file":"stdio.d.ts","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,qBAAkB;AAGvC,eAAO,MAAM,oBAAoB,8BAA8B,CAAC;AAQhE,eAAO,MAAM,iBAAiB,GAAU,YAAY,UAAU,kBAW7D,CAAC"}
package/stdio.js CHANGED
@@ -1,18 +1,50 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.launchStdioServer = void 0;
4
- const stdio_js_1 = require("@modelcontextprotocol/sdk/server/stdio.js");
5
- const server_1 = require("./server.js");
3
+ exports.launchStdioServer = exports.DEFAULT_UPSTREAM_URL = void 0;
4
+ const bridge_1 = require("./bridge.js");
6
5
  const logger_1 = require("./logger.js");
6
+ const util_1 = require("./util.js");
7
+ exports.DEFAULT_UPSTREAM_URL = 'https://mcp.conductor.is/';
8
+ // The literal from the docs config blocks; pasted wholesale it is the most
9
+ // common setup mistake, so refuse it before the client sees a confusing error.
10
+ const PLACEHOLDER_KEY = 'sk_conductor_...';
11
+ // Over stdio the package is a bridge to the hosted Conductor MCP server:
12
+ // nothing executes locally, and the only configuration is the secret key.
7
13
  const launchStdioServer = async (mcpOptions) => {
8
- const server = await (0, server_1.newMcpServer)({
9
- stainlessApiKey: mcpOptions.stainlessApiKey,
10
- customInstructionsPath: mcpOptions.customInstructionsPath,
11
- });
12
- await (0, server_1.initMcpServer)({ server, mcpOptions, stainlessApiKey: mcpOptions.stainlessApiKey });
13
- const transport = new stdio_js_1.StdioServerTransport();
14
- await server.connect(transport);
15
- (0, logger_1.getLogger)().info('MCP Server running on stdio');
14
+ rejectHttpOnlyOptionsOrExit(mcpOptions);
15
+ const apiKey = readSecretKeyOrExit();
16
+ const upstreamUrl = (0, util_1.readEnv)('CONDUCTOR_MCP_URL') ?? exports.DEFAULT_UPSTREAM_URL;
17
+ const permissions = {
18
+ ...(mcpOptions.codeAllowHttpGets !== undefined && { allow_http_gets: mcpOptions.codeAllowHttpGets }),
19
+ ...(mcpOptions.codeAllowedMethods && { allowed_methods: mcpOptions.codeAllowedMethods }),
20
+ ...(mcpOptions.codeBlockedMethods && { blocked_methods: mcpOptions.codeBlockedMethods }),
21
+ };
22
+ (0, logger_1.getLogger)().info({ upstreamUrl, permissions }, 'MCP bridge running on stdio');
23
+ await (0, bridge_1.runBridge)({ upstreamUrl, apiKey, permissions });
16
24
  };
17
25
  exports.launchStdioServer = launchStdioServer;
26
+ // The hosted server chooses its own tools, docs and instructions; refuse the
27
+ // flags that would silently do nothing over stdio.
28
+ function rejectHttpOnlyOptionsOrExit(options) {
29
+ const flag = options.includeCodeTool === false || options.includeDocsTools === false ? '--no-tools'
30
+ : options.includeCodeTool !== undefined || options.includeDocsTools !== undefined ? '--tools'
31
+ : options.docsDir !== undefined ? '--docs-dir'
32
+ : options.customInstructionsPath !== undefined ? '--custom-instructions-path'
33
+ : options.socket !== undefined ? '--socket'
34
+ : undefined;
35
+ if (flag !== undefined) {
36
+ console.error(`${flag} only applies to --transport=http. Over stdio this package bridges to the hosted Conductor MCP server, which serves its own tools and instructions.`);
37
+ process.exit(1);
38
+ }
39
+ }
40
+ function readSecretKeyOrExit() {
41
+ // Tolerate an accidental "Bearer " prefix; do not enforce an sk_conductor_
42
+ // prefix, legacy keys without it are still active.
43
+ const apiKey = ((0, util_1.readEnv)('CONDUCTOR_SECRET_KEY') ?? '').replace(/^Bearer\s+/i, '').trim();
44
+ if (apiKey === '' || apiKey.includes(PLACEHOLDER_KEY)) {
45
+ console.error('CONDUCTOR_SECRET_KEY is not set or is still the sk_conductor_... placeholder. Create a secret key at https://dashboard.conductor.is/ and put it in the "env" block of your MCP config (https://docs.conductor.is/usage/mcp).');
46
+ process.exit(1);
47
+ }
48
+ return apiKey;
49
+ }
18
50
  //# sourceMappingURL=stdio.js.map
package/stdio.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.js","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":";;;AAAA,wEAAiF;AAEjF,wCAAuD;AACvD,wCAAqC;AAE9B,MAAM,iBAAiB,GAAG,KAAK,EAAE,UAAsB,EAAE,EAAE;IAChE,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAY,EAAC;QAChC,eAAe,EAAE,UAAU,CAAC,eAAe;QAC3C,sBAAsB,EAAE,UAAU,CAAC,sBAAsB;KAC1D,CAAC,CAAC;IAEH,MAAM,IAAA,sBAAa,EAAC,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAEzF,MAAM,SAAS,GAAG,IAAI,+BAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,IAAA,kBAAS,GAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AAClD,CAAC,CAAC;AAXW,QAAA,iBAAiB,qBAW5B"}
1
+ {"version":3,"file":"stdio.js","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":";;;AAAA,wCAA6D;AAC7D,wCAAqC;AAErC,oCAAiC;AAEpB,QAAA,oBAAoB,GAAG,2BAA2B,CAAC;AAEhE,2EAA2E;AAC3E,+EAA+E;AAC/E,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C,yEAAyE;AACzE,0EAA0E;AACnE,MAAM,iBAAiB,GAAG,KAAK,EAAE,UAAsB,EAAE,EAAE;IAChE,2BAA2B,CAAC,UAAU,CAAC,CAAC;IACxC,MAAM,MAAM,GAAG,mBAAmB,EAAE,CAAC;IACrC,M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,OAAO,CAAC,KAAK,CACX,GAAG,IAAI,qJAAqJ,CAC7J,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB;IAC1B,2EAA2E;IAC3E,mDAAmD;IACnD,MAAM,MAAM,GAAG,CAAC,IAAA,cAAO,EAAC,sBAAsB,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IACzF,IAAI,MAAM,KAAK,EAAE,IAAI,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;QACtD,OAAO,CAAC,KAAK,CACX,8NAA8N,CAC/N,CAAC;QACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/stdio.mjs CHANGED
@@ -1,14 +1,46 @@
1
- import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
2
- import { initMcpServer, newMcpServer } from "./server.mjs";
1
+ import { runBridge } from "./bridge.mjs";
3
2
  import { getLogger } from "./logger.mjs";
3
+ import { readEnv } from "./util.mjs";
4
+ export const DEFAULT_UPSTREAM_URL = 'https://mcp.conductor.is/';
5
+ // The literal from the docs config blocks; pasted wholesale it is the most
6
+ // common setup mistake, so refuse it before the client sees a confusing error.
7
+ const PLACEHOLDER_KEY = 'sk_conductor_...';
8
+ // Over stdio the package is a bridge to the hosted Conductor MCP server:
9
+ // nothing executes locally, and the only configuration is the secret key.
4
10
  export const launchStdioServer = async (mcpOptions) => {
5
- const server = await newMcpServer({
6
- stainlessApiKey: mcpOptions.stainlessApiKey,
7
- customInstructionsPath: mcpOptions.customInstructionsPath,
8
- });
9
- await initMcpServer({ server, mcpOptions, stainlessApiKey: mcpOptions.stainlessApiKey });
10
- const transport = new StdioServerTransport();
11
- await server.connect(transport);
12
- getLogger().info('MCP Server running on stdio');
11
+ rejectHttpOnlyOptionsOrExit(mcpOptions);
12
+ const apiKey = readSecretKeyOrExit();
13
+ const upstreamUrl = readEnv('CONDUCTOR_MCP_URL') ?? DEFAULT_UPSTREAM_URL;
14
+ const permissions = {
15
+ ...(mcpOptions.codeAllowHttpGets !== undefined && { allow_http_gets: mcpOptions.codeAllowHttpGets }),
16
+ ...(mcpOptions.codeAllowedMethods && { allowed_methods: mcpOptions.codeAllowedMethods }),
17
+ ...(mcpOptions.codeBlockedMethods && { blocked_methods: mcpOptions.codeBlockedMethods }),
18
+ };
19
+ getLogger().info({ upstreamUrl, permissions }, 'MCP bridge running on stdio');
20
+ await runBridge({ upstreamUrl, apiKey, permissions });
13
21
  };
22
+ // The hosted server chooses its own tools, docs and instructions; refuse the
23
+ // flags that would silently do nothing over stdio.
24
+ function rejectHttpOnlyOptionsOrExit(options) {
25
+ const flag = options.includeCodeTool === false || options.includeDocsTools === false ? '--no-tools'
26
+ : options.includeCodeTool !== undefined || options.includeDocsTools !== undefined ? '--tools'
27
+ : options.docsDir !== undefined ? '--docs-dir'
28
+ : options.customInstructionsPath !== undefined ? '--custom-instructions-path'
29
+ : options.socket !== undefined ? '--socket'
30
+ : undefined;
31
+ if (flag !== undefined) {
32
+ console.error(`${flag} only applies to --transport=http. Over stdio this package bridges to the hosted Conductor MCP server, which serves its own tools and instructions.`);
33
+ process.exit(1);
34
+ }
35
+ }
36
+ function readSecretKeyOrExit() {
37
+ // Tolerate an accidental "Bearer " prefix; do not enforce an sk_conductor_
38
+ // prefix, legacy keys without it are still active.
39
+ const apiKey = (readEnv('CONDUCTOR_SECRET_KEY') ?? '').replace(/^Bearer\s+/i, '').trim();
40
+ if (apiKey === '' || apiKey.includes(PLACEHOLDER_KEY)) {
41
+ console.error('CONDUCTOR_SECRET_KEY is not set or is still the sk_conductor_... placeholder. Create a secret key at https://dashboard.conductor.is/ and put it in the "env" block of your MCP config (https://docs.conductor.is/usage/mcp).');
42
+ process.exit(1);
43
+ }
44
+ return apiKey;
45
+ }
14
46
  //# sourceMappingURL=stdio.mjs.map
package/stdio.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"stdio.mjs","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEjF,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAiB;AACvD,OAAO,EAAE,SAAS,EAAE,qBAAiB;AAErC,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EAAE,UAAsB,EAAE,EAAE;IAChE,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC;QAChC,eAAe,EAAE,UAAU,CAAC,eAAe;QAC3C,sBAAsB,EAAE,UAAU,CAAC,sBAAsB;KAC1D,CAAC,CAAC;IAEH,MAAM,aAAa,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;IAEzF,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,SAAS,EAAE,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;AAClD,CAAC,CAAC"}
1
+ {"version":3,"file":"stdio.mjs","sourceRoot":"","sources":["src/stdio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA0B,qBAAiB;AAC7D,OAAO,EAAE,SAAS,EAAE,qBAAiB;AAErC,OAAO,EAAE,OAAO,EAAE,mBAAe;AAEjC,MAAM,CAAC,MAAM,oBAAoB,GAAG,2BAA2B,CAAC;AAEhE,2EAA2E;AAC3E,+EAA+E;AAC/E,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C,yEAAyE;AACzE,0EAA0E;AAC1E,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EAAE,UAAsB,EAAE,EAAE;IAChE,2BAA2B,CAAC,UAAU,CAAC,CAAC;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