@danainnovations/cortex-mcp 1.0.97 → 1.0.99

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/index.d.ts CHANGED
@@ -45,7 +45,7 @@ interface StdioServerOptions {
45
45
  declare function startStdioServer(options: StdioServerOptions): Promise<void>;
46
46
 
47
47
  /** Supported AI client types */
48
- type ClientType = "claude-desktop" | "claude-code" | "cursor" | "vscode" | "antigravity" | "codex" | "perplexity" | "stdio" | "claude-ai";
48
+ type ClientType = "claude-desktop" | "claude-code" | "cursor" | "vscode" | "antigravity" | "codex" | "perplexity" | "stdio" | "claude-ai" | "claude-cowork";
49
49
  /** Stored configuration */
50
50
  interface CortexMcpConfig {
51
51
  version: number;
package/dist/index.js CHANGED
@@ -1326,6 +1326,12 @@ function detectClients() {
1326
1326
  configPath: null,
1327
1327
  detected: true
1328
1328
  });
1329
+ clients.push({
1330
+ type: "claude-cowork",
1331
+ name: "Claude CoWork",
1332
+ configPath: null,
1333
+ detected: true
1334
+ });
1329
1335
  clients.push({
1330
1336
  type: "stdio",
1331
1337
  name: "OpenClaw",
@@ -1590,6 +1596,10 @@ function configureClaudeAi(serverUrl, _apiKey, _mcps) {
1590
1596
  const url = `${serverUrl}/mcp/cortex`;
1591
1597
  return 'Add Cortex to Claude.ai & Mobile:\n\n1. Open claude.ai/settings/integrations\n2. Click "Add custom integration"\n3. Paste this URL: ' + url + "\n4. Click Add \u2014 Claude handles SSO authentication automatically\n\nOnce added, Cortex tools are available on claude.ai, Claude Desktop (web), and the Claude mobile app.";
1592
1598
  }
1599
+ function configureClaudeCowork(serverUrl, _apiKey, _mcps) {
1600
+ const url = `${serverUrl}/mcp/cortex`;
1601
+ return 'Add Cortex to Claude CoWork:\n\n1. Open Claude Desktop \u2192 Settings \u2192 Connectors\n2. Click "Add custom connector"\n3. Name: Cortex CoWork\n4. Remote MCP server URL: ' + url + "\n5. Click Add \u2014 sign in via Okta when prompted\n6. Cortex tools are now available in CoWork sessions";
1602
+ }
1593
1603
  function generateStdioSnippet(_apiKey) {
1594
1604
  const isWindowsTarget = getPlatform() === "windows" || isWSL();
1595
1605
  const config = {
@@ -1634,6 +1644,8 @@ function configureClient(clientType, serverUrl, apiKey, mcps) {
1634
1644
  return configurePerplexity(serverUrl, apiKey, mcps);
1635
1645
  case "claude-ai":
1636
1646
  return configureClaudeAi(serverUrl, apiKey, mcps);
1647
+ case "claude-cowork":
1648
+ return configureClaudeCowork(serverUrl, apiKey, mcps);
1637
1649
  case "stdio":
1638
1650
  return "Add this to your client config:\n\n" + generateStdioSnippet(apiKey);
1639
1651
  }