@openziti/ziti-mcp-server 0.9.0 → 0.10.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.
@@ -0,0 +1,45 @@
1
+ import { BaseClientManager } from './base.js';
2
+ import type { ServerConfig } from './types.js';
3
+ import type { ClientOptions } from '../utils/types.js';
4
+ /**
5
+ * Configuration scope options for Claude Code.
6
+ *
7
+ * - `user` — written to ~/.claude.json; available across all projects.
8
+ * - `project` — written to .mcp.json in the current working directory; committed with the repo.
9
+ */
10
+ export type ClaudeCodeScope = 'user' | 'project';
11
+ /**
12
+ * Client manager implementation for Claude Code.
13
+ *
14
+ * Supports both user-scoped (~/.claude.json) and project-scoped (.mcp.json) configuration.
15
+ * Claude Code requires a `"type": "stdio"` field on each MCP server entry.
16
+ *
17
+ * @see {@link https://code.claude.com/docs/en/mcp | Claude Code MCP Documentation}
18
+ */
19
+ export declare class ClaudeCodeClientManager extends BaseClientManager {
20
+ private selectedScope;
21
+ constructor();
22
+ /**
23
+ * Prompts for configuration scope, then delegates to the base configure flow.
24
+ *
25
+ * @param options - Client configuration options.
26
+ */
27
+ configure(options: ClientOptions): Promise<void>;
28
+ /**
29
+ * Returns the config file path for the selected scope.
30
+ *
31
+ * - User scope: ~/.claude.json
32
+ * - Project scope: .mcp.json in the current working directory
33
+ *
34
+ * @returns The absolute path to the configuration file.
35
+ */
36
+ getConfigPath(): string;
37
+ /**
38
+ * Extends the base server config with the `type: "stdio"` field required by Claude Code.
39
+ *
40
+ * @param options - Client configuration options.
41
+ * @returns A ServerConfig with the stdio transport type set.
42
+ */
43
+ protected createServerConfig(options: ClientOptions): ServerConfig;
44
+ private promptForScope;
45
+ }
@@ -0,0 +1,81 @@
1
+ import * as path from 'path';
2
+ import * as os from 'os';
3
+ import chalk from 'chalk';
4
+ import { BaseClientManager } from './base.js';
5
+ import { log } from '../utils/logger.js';
6
+ import { cliOutput, promptForChoice } from '../utils/terminal.js';
7
+ /**
8
+ * Client manager implementation for Claude Code.
9
+ *
10
+ * Supports both user-scoped (~/.claude.json) and project-scoped (.mcp.json) configuration.
11
+ * Claude Code requires a `"type": "stdio"` field on each MCP server entry.
12
+ *
13
+ * @see {@link https://code.claude.com/docs/en/mcp | Claude Code MCP Documentation}
14
+ */
15
+ export class ClaudeCodeClientManager extends BaseClientManager {
16
+ selectedScope = 'user';
17
+ constructor() {
18
+ super({
19
+ clientType: 'claude-code',
20
+ displayName: 'Claude Code',
21
+ capabilities: ['tools'],
22
+ });
23
+ }
24
+ /**
25
+ * Prompts for configuration scope, then delegates to the base configure flow.
26
+ *
27
+ * @param options - Client configuration options.
28
+ */
29
+ async configure(options) {
30
+ this.selectedScope = await this.promptForScope();
31
+ const configPath = this.getConfigPath();
32
+ const config = this.readConfig(configPath);
33
+ const mcpServers = config.mcpServers || {};
34
+ const serverConfig = this.createServerConfig(options);
35
+ mcpServers['ziti'] = serverConfig;
36
+ config.mcpServers = mcpServers;
37
+ this.writeConfig(configPath, config);
38
+ log(`Updated ${this.displayName} config file at: ${configPath}`);
39
+ const scopeLabel = this.selectedScope === 'user'
40
+ ? `user scope (${configPath})`
41
+ : `project scope (${configPath})`;
42
+ cliOutput(`\n${chalk.green('✓')} OpenZiti MCP server configured for Claude Code at ${scopeLabel}.\n` +
43
+ `${chalk.yellow('Start a new Claude Code session')} in this project to apply changes.\n`);
44
+ }
45
+ /**
46
+ * Returns the config file path for the selected scope.
47
+ *
48
+ * - User scope: ~/.claude.json
49
+ * - Project scope: .mcp.json in the current working directory
50
+ *
51
+ * @returns The absolute path to the configuration file.
52
+ */
53
+ getConfigPath() {
54
+ if (this.selectedScope === 'user') {
55
+ return path.join(os.homedir(), '.claude.json');
56
+ }
57
+ return path.join(process.cwd(), '.mcp.json');
58
+ }
59
+ /**
60
+ * Extends the base server config with the `type: "stdio"` field required by Claude Code.
61
+ *
62
+ * @param options - Client configuration options.
63
+ * @returns A ServerConfig with the stdio transport type set.
64
+ */
65
+ createServerConfig(options) {
66
+ return { ...super.createServerConfig(options), type: 'stdio' };
67
+ }
68
+ async promptForScope() {
69
+ return promptForChoice('Where would you like to configure the OpenZiti MCP server for Claude Code?', [
70
+ {
71
+ label: 'User — available across all your projects (~/.claude.json)',
72
+ value: 'user',
73
+ },
74
+ {
75
+ label: 'Project — this project only (.mcp.json in current directory)',
76
+ value: 'project',
77
+ },
78
+ ], 'user');
79
+ }
80
+ }
81
+ //# sourceMappingURL=claude-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claude-code.js","sourceRoot":"","sources":["../../src/clients/claude-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAG9C,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAUlE;;;;;;;GAOG;AACH,MAAM,OAAO,uBAAwB,SAAQ,iBAAiB;IACpD,aAAa,GAAoB,MAAM,CAAC;IAEhD;QACE,KAAK,CAAC;YACJ,UAAU,EAAE,aAAa;YACzB,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,KAAK,CAAC,SAAS,CAAC,OAAsB;QACpC,IAAI,CAAC,aAAa,GAAG,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAEjD,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACxC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,IAAI,EAAE,CAAC;QAC3C,MAAM,YAAY,GAAG,IAAI,CAAC,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6,6 +6,7 @@
6
6
  * @module clients
7
7
  */
8
8
  import { ClaudeClientManager } from './claude.js';
9
+ import { ClaudeCodeClientManager } from './claude-code.js';
9
10
  import { CursorClientManager } from './cursor.js';
10
11
  import { WindsurfClientManager } from './windsurf.js';
11
12
  import { VSCodeClientManager } from './vscode.js';
@@ -26,6 +27,7 @@ import { VSCodeClientManager } from './vscode.js';
26
27
  */
27
28
  export declare const clients: {
28
29
  claude: ClaudeClientManager;
30
+ 'claude-code': ClaudeCodeClientManager;
29
31
  cursor: CursorClientManager;
30
32
  windsurf: WindsurfClientManager;
31
33
  vscode: VSCodeClientManager;
@@ -7,11 +7,13 @@
7
7
  */
8
8
  // Import client classes
9
9
  import { ClaudeClientManager } from './claude.js';
10
+ import { ClaudeCodeClientManager } from './claude-code.js';
10
11
  import { CursorClientManager } from './cursor.js';
11
12
  import { WindsurfClientManager } from './windsurf.js';
12
13
  import { VSCodeClientManager } from './vscode.js';
13
14
  // Create client manager instances
14
15
  const claude = new ClaudeClientManager();
16
+ const claudeCode = new ClaudeCodeClientManager();
15
17
  const cursor = new CursorClientManager();
16
18
  const windsurf = new WindsurfClientManager();
17
19
  const vscode = new VSCodeClientManager();
@@ -32,6 +34,7 @@ const vscode = new VSCodeClientManager();
32
34
  */
33
35
  export const clients = {
34
36
  claude,
37
+ 'claude-code': claudeCode,
35
38
  cursor,
36
39
  windsurf,
37
40
  vscode,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,wBAAwB;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,kCAAkC;AAClC,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AACzC,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AACzC,MAAM,QAAQ,GAAG,IAAI,qBAAqB,EAAE,CAAC;AAC7C,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM;IACN,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/clients/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,wBAAwB;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,kCAAkC;AAClC,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AACzC,MAAM,UAAU,GAAG,IAAI,uBAAuB,EAAE,CAAC;AACjD,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AACzC,MAAM,QAAQ,GAAG,IAAI,qBAAqB,EAAE,CAAC;AAC7C,MAAM,MAAM,GAAG,IAAI,mBAAmB,EAAE,CAAC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,MAAM;IACN,aAAa,EAAE,UAAU;IACzB,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC"}
@@ -4,7 +4,7 @@ import type { ClientOptions } from '../utils/types.js';
4
4
  *
5
5
  * Represents the set of known MCP client applications supported by this project.
6
6
  */
7
- export type ClientType = 'claude' | 'cursor' | 'windsurf' | 'vscode';
7
+ export type ClientType = 'claude' | 'claude-code' | 'cursor' | 'windsurf' | 'vscode';
8
8
  /**
9
9
  * MCP server configuration object used in client configuration files.
10
10
  *
@@ -19,6 +19,8 @@ export interface ServerConfig {
19
19
  env?: Record<string, string>;
20
20
  /** Optional list of capabilities supported by the client integration. */
21
21
  capabilities?: string[];
22
+ /** Transport type; required by some clients (e.g. Claude Code requires "stdio"). */
23
+ type?: string;
22
24
  }
23
25
  /**
24
26
  * Generic client configuration format shared across different MCP clients.
package/dist/index.js CHANGED
@@ -55,6 +55,7 @@ Examples:
55
55
  npx ${packageName} init --auth-mode device-auth --ziti-controller-host <host> --idp-domain <domain> --idp-client-id <id> --idp-audience <audience>
56
56
  npx ${packageName} init --auth-mode client-credentials --ziti-controller-host <host> --idp-domain <domain> --idp-client-id <id> --idp-client-secret <secret>
57
57
  npx ${packageName} init --auth-mode device-auth --tools 'list*' --client claude ...
58
+ npx ${packageName} init --auth-mode device-auth --tools 'list*' --client claude-code ...
58
59
  npx ${packageName} init --auth-mode device-auth --read-only --client claude ...
59
60
  npx ${packageName} run
60
61
  npx ${packageName} run --read-only
@@ -67,7 +68,7 @@ program
67
68
  .command('init')
68
69
  .description('Initialize the server (authenticate and configure)')
69
70
  .requiredOption('--auth-mode <mode>', 'Authentication mode: "device-auth" (interactive browser login) or "client-credentials" (service account)')
70
- .option('--client <client>', 'Configure specific client (claude, windsurf, cursor, or vscode)', 'claude')
71
+ .option('--client <client>', 'Configure specific client (claude, claude-code, windsurf, cursor, or vscode)', 'claude')
71
72
  .option('--ziti-controller-host <ziti controller host>', 'Ziti controller (required for Ziti network authentication)')
72
73
  .option('--idp-domain <idp domain>', 'IdP domain (required for Private Cloud authentication)')
73
74
  .option('--idp-client-id <idp ClientId>', 'Client ID (required for Private Cloud authentication)')
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAA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AAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,oDAAoD,CAAC;KACjE,MAAM,CAAC,OAAO,CAAC,CAAC;AAEnB,8CAA8C;AAC9C,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACnC,QAAQ,CAAC,0BAA0B,EAAE,KAAK,CAAC,CAAC;IAC5C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openziti/ziti-mcp-server",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "OpenZiti Model Context Protocol (MCP) Server — A secure implementation of an MCP server that provides AI assistants with controlled access to the OpenZiti Controller's Management API through natural language. It enables AI-assisted Ziti Network management while enforcing best practices around security, least-privilege access, and zero-trust.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",