wezterm-agent-mcp 0.1.4 → 0.1.5
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/README.md +11 -10
- package/build/cli.js +31 -23
- package/build/cli.js.map +1 -1
- package/build/init.d.ts +7 -1
- package/build/init.js +80 -46
- package/build/init.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,27 +54,28 @@ Turns [Wezterm](https://wezfurlong.org/wezterm/) into a remote-controllable term
|
|
|
54
54
|
|
|
55
55
|
### Install and configure
|
|
56
56
|
|
|
57
|
-
One command
|
|
57
|
+
One command:
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
npx wezterm-agent-mcp init
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
This checks that Wezterm is installed, then
|
|
63
|
+
This checks that Wezterm is installed, then registers the MCP server globally for all AI coding tools:
|
|
64
64
|
|
|
65
|
-
|
|
|
65
|
+
| Config file | For |
|
|
66
66
|
|---|---|
|
|
67
|
-
|
|
|
68
|
-
|
|
|
69
|
-
|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
67
|
+
| `~/.claude/settings.json` | Claude Code, Codex |
|
|
68
|
+
| `~/.cursor/mcp.json` | Cursor |
|
|
69
|
+
| VS Code user `mcp.json` | VS Code (platform-specific path) |
|
|
70
|
+
| `~/.gemini/settings.json` | Gemini CLI |
|
|
71
|
+
| `~/.config/opencode/...` | OpenCode (platform-specific path) |
|
|
72
72
|
|
|
73
|
-
Existing config files are merged — other MCP servers
|
|
73
|
+
One run, every project, every tool. Existing config files are merged — other MCP servers won't be touched. Re-running is safe (idempotent).
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
For per-project setup instead (writes config into the project directory):
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
+
npx wezterm-agent-mcp init --project
|
|
78
79
|
npx wezterm-agent-mcp init --root /path/to/project
|
|
79
80
|
```
|
|
80
81
|
|
package/build/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { parseArgs } from 'node:util';
|
|
3
|
-
import { initProject } from './init.js';
|
|
3
|
+
import { initGlobal, initProject } from './init.js';
|
|
4
4
|
import { runServer } from './wez-mcp.js';
|
|
5
5
|
function printHelp() {
|
|
6
6
|
console.log(`wezterm-agent-mcp — terminal control plane for multi-agent AI workflows
|
|
@@ -11,14 +11,14 @@ Usage:
|
|
|
11
11
|
wezterm-agent-mcp help
|
|
12
12
|
|
|
13
13
|
Commands:
|
|
14
|
-
init
|
|
14
|
+
init Register wezterm-agent-mcp with all AI coding tools
|
|
15
15
|
help Show this help
|
|
16
16
|
|
|
17
17
|
When no command is given, the stdio MCP server starts (default behavior).
|
|
18
18
|
|
|
19
19
|
Examples:
|
|
20
|
-
npx wezterm-agent-mcp init
|
|
21
|
-
npx wezterm-agent-mcp init --
|
|
20
|
+
npx wezterm-agent-mcp init # global setup (all projects)
|
|
21
|
+
npx wezterm-agent-mcp init --project # per-project setup (current dir)
|
|
22
22
|
npx wezterm-agent-mcp
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
@@ -27,45 +27,53 @@ function runInitCli(args) {
|
|
|
27
27
|
args,
|
|
28
28
|
options: {
|
|
29
29
|
help: { type: 'boolean', short: 'h' },
|
|
30
|
+
project: { type: 'boolean' },
|
|
30
31
|
root: { type: 'string' },
|
|
31
32
|
},
|
|
32
33
|
allowPositionals: false,
|
|
33
34
|
strict: true,
|
|
34
35
|
});
|
|
35
36
|
if (parsed.values.help) {
|
|
36
|
-
console.log(`
|
|
37
|
+
console.log(`Register wezterm-agent-mcp with all AI coding tools
|
|
37
38
|
|
|
38
39
|
Usage:
|
|
39
40
|
wezterm-agent-mcp init [options]
|
|
40
41
|
|
|
41
42
|
Options:
|
|
42
|
-
--
|
|
43
|
+
--project Per-project mode (write config into project directory)
|
|
44
|
+
--root <path> Project root directory (implies --project, default: cwd)
|
|
43
45
|
-h, --help Show help
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
opencode
|
|
47
|
+
Default (no flags) registers globally for all projects:
|
|
48
|
+
~/.claude/settings.json Claude Code, Codex
|
|
49
|
+
~/.cursor/mcp.json Cursor
|
|
50
|
+
VS Code user mcp.json VS Code (platform-specific path)
|
|
51
|
+
~/.gemini/settings.json Gemini CLI
|
|
52
|
+
~/.config/opencode/... OpenCode (platform-specific path)
|
|
53
|
+
|
|
54
|
+
With --project, writes per-project config files:
|
|
55
|
+
.mcp.json Claude Code, Codex
|
|
56
|
+
.cursor/mcp.json Cursor
|
|
57
|
+
.vscode/mcp.json VS Code
|
|
58
|
+
.gemini/settings.json Gemini CLI
|
|
59
|
+
opencode.json OpenCode
|
|
51
60
|
`);
|
|
52
61
|
return;
|
|
53
62
|
}
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
63
|
+
const isProjectMode = parsed.values.project === true || parsed.values.root !== undefined;
|
|
64
|
+
const result = isProjectMode
|
|
65
|
+
? initProject({ projectRoot: parsed.values.root })
|
|
66
|
+
: initGlobal();
|
|
57
67
|
if (result.updatedFiles.length === 0) {
|
|
58
|
-
console.log(`wezterm-agent-mcp already configured — no changes needed
|
|
59
|
-
|
|
60
|
-
Project root: ${result.projectRoot}
|
|
61
|
-
`);
|
|
68
|
+
console.log(`wezterm-agent-mcp already configured — no changes needed.`);
|
|
62
69
|
return;
|
|
63
70
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
71
|
+
const header = result.mode === 'global'
|
|
72
|
+
? 'wezterm-agent-mcp registered globally for all projects'
|
|
73
|
+
: `wezterm-agent-mcp configured for ${result.projectRoot}`;
|
|
74
|
+
console.log(`${header}
|
|
67
75
|
|
|
68
|
-
Updated
|
|
76
|
+
Updated:
|
|
69
77
|
${result.updatedFiles.map((f) => ` ${f}`).join('\n')}
|
|
70
78
|
`);
|
|
71
79
|
}
|
package/build/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,SAAS,SAAS;IAChB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;CAiBb,CAAC,CAAC;AACH,CAAC;AAED,SAAS,UAAU,CAAC,IAAc;IAChC,MAAM,MAAM,GAAG,SAAS,CAAC;QACvB,IAAI;QACJ,OAAO,EAAE;YACP,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,EAAE;YACrC,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;YAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;SACzB;QACD,gBAAgB,EAAE,KAAK;QACvB,MAAM,EAAE,IAAI;KACb,CAAC,CAAC;IAEH,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACvB,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAuBf,CAAC,CAAC;QACC,OAAO;IACT,CAAC;IAED,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,KAAK,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC;IAEzF,MAAM,MAAM,GAAG,aAAa;QAC1B,CAAC,CAAC,WAAW,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC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init.d.ts
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
export type InitOptions = {
|
|
2
|
+
/** Per-project mode: write config files into this directory */
|
|
2
3
|
projectRoot?: string;
|
|
3
4
|
};
|
|
4
5
|
export type InitResult = {
|
|
5
|
-
|
|
6
|
+
mode: 'global' | 'project';
|
|
6
7
|
updatedFiles: string[];
|
|
8
|
+
/** Only set in project mode */
|
|
9
|
+
projectRoot?: string;
|
|
7
10
|
};
|
|
11
|
+
/** Global init — writes to user-level config files for all tools */
|
|
12
|
+
export declare function initGlobal(): InitResult;
|
|
13
|
+
/** Project init — writes to project-level config files */
|
|
8
14
|
export declare function initProject(options?: InitOptions): InitResult;
|
package/build/init.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
|
-
import {
|
|
2
|
+
import { homedir } from 'node:os';
|
|
3
|
+
import { dirname, join, resolve } from 'node:path';
|
|
3
4
|
import { OS } from './platform.js';
|
|
4
5
|
// ---------------------------------------------------------------------------
|
|
5
6
|
// JSON helpers
|
|
@@ -18,9 +19,17 @@ function writeJsonIfChanged(filePath, nextValue, existing, updatedFiles) {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
// ---------------------------------------------------------------------------
|
|
21
|
-
// Server entry builders
|
|
22
|
+
// Server entry builders
|
|
22
23
|
// ---------------------------------------------------------------------------
|
|
23
|
-
|
|
24
|
+
/** Global entry — no WEZ_PROJECT_ROOT, server uses process.cwd() at runtime */
|
|
25
|
+
function globalEntry() {
|
|
26
|
+
return {
|
|
27
|
+
command: 'wezterm-agent-mcp',
|
|
28
|
+
args: [],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
/** Project entry — pins WEZ_PROJECT_ROOT to specific directory */
|
|
32
|
+
function projectEntry(projectRoot) {
|
|
24
33
|
return {
|
|
25
34
|
command: 'wezterm-agent-mcp',
|
|
26
35
|
args: [],
|
|
@@ -28,61 +37,56 @@ function stdioEntry(projectRoot) {
|
|
|
28
37
|
};
|
|
29
38
|
}
|
|
30
39
|
// ---------------------------------------------------------------------------
|
|
31
|
-
//
|
|
40
|
+
// Global config paths (per platform)
|
|
32
41
|
// ---------------------------------------------------------------------------
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
function home() {
|
|
43
|
+
return homedir();
|
|
44
|
+
}
|
|
45
|
+
function globalVsCodeMcpPath() {
|
|
46
|
+
switch (OS.name) {
|
|
47
|
+
case 'macos':
|
|
48
|
+
return join(home(), 'Library', 'Application Support', 'Code', 'User', 'mcp.json');
|
|
49
|
+
case 'windows':
|
|
50
|
+
return join(process.env['APPDATA'] ?? join(home(), 'AppData', 'Roaming'), 'Code', 'User', 'mcp.json');
|
|
51
|
+
default: // linux
|
|
52
|
+
return join(process.env['XDG_CONFIG_HOME'] ?? join(home(), '.config'), 'Code', 'User', 'mcp.json');
|
|
53
|
+
}
|
|
43
54
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
55
|
+
function globalOpenCodePath() {
|
|
56
|
+
switch (OS.name) {
|
|
57
|
+
case 'windows':
|
|
58
|
+
return join(home(), '.config', 'opencode', 'opencode.json');
|
|
59
|
+
default: // linux, macos
|
|
60
|
+
return join(process.env['XDG_CONFIG_HOME'] ?? join(home(), '.config'), 'opencode', 'opencode.json');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// ---------------------------------------------------------------------------
|
|
64
|
+
// Shared writers (work for both global and project paths)
|
|
65
|
+
// ---------------------------------------------------------------------------
|
|
66
|
+
function writeMcpServersFile(filePath, entry, updatedFiles) {
|
|
47
67
|
const existing = readJsonFile(filePath) ?? {};
|
|
48
68
|
const existingServers = (existing['mcpServers'] ?? {});
|
|
49
69
|
const nextValue = {
|
|
50
70
|
...existing,
|
|
51
|
-
mcpServers: { ...existingServers, 'wezterm-agent-mcp':
|
|
71
|
+
mcpServers: { ...existingServers, 'wezterm-agent-mcp': entry },
|
|
52
72
|
};
|
|
53
73
|
writeJsonIfChanged(filePath, nextValue, existing, updatedFiles);
|
|
54
74
|
}
|
|
55
|
-
|
|
56
|
-
function writeVsCodeMcpJson(projectRoot, updatedFiles) {
|
|
57
|
-
const filePath = resolve(projectRoot, '.vscode', 'mcp.json');
|
|
75
|
+
function writeVsCodeFile(filePath, entry, updatedFiles) {
|
|
58
76
|
const existing = readJsonFile(filePath) ?? {};
|
|
59
77
|
const existingServers = (existing['servers'] ?? {});
|
|
60
78
|
const nextValue = {
|
|
61
79
|
...existing,
|
|
62
80
|
servers: {
|
|
63
81
|
...existingServers,
|
|
64
|
-
'wezterm-agent-mcp': { type: 'stdio', ...
|
|
82
|
+
'wezterm-agent-mcp': { type: 'stdio', ...entry },
|
|
65
83
|
},
|
|
66
84
|
};
|
|
67
85
|
writeJsonIfChanged(filePath, nextValue, existing, updatedFiles);
|
|
68
86
|
}
|
|
69
|
-
|
|
70
|
-
function writeGeminiSettings(projectRoot, updatedFiles) {
|
|
71
|
-
const filePath = resolve(projectRoot, '.gemini', 'settings.json');
|
|
72
|
-
const existing = readJsonFile(filePath) ?? {};
|
|
73
|
-
const existingServers = (existing['mcpServers'] ?? {});
|
|
74
|
-
const nextValue = {
|
|
75
|
-
...existing,
|
|
76
|
-
mcpServers: { ...existingServers, 'wezterm-agent-mcp': stdioEntry(projectRoot) },
|
|
77
|
-
};
|
|
78
|
-
writeJsonIfChanged(filePath, nextValue, existing, updatedFiles);
|
|
79
|
-
}
|
|
80
|
-
/** opencode.json — OpenCode */
|
|
81
|
-
function writeOpenCodeJson(projectRoot, updatedFiles) {
|
|
82
|
-
const filePath = resolve(projectRoot, 'opencode.json');
|
|
87
|
+
function writeOpenCodeFile(filePath, entry, updatedFiles) {
|
|
83
88
|
const existing = readJsonFile(filePath) ?? {};
|
|
84
89
|
const existingMcp = (existing['mcp'] ?? {});
|
|
85
|
-
const entry = stdioEntry(projectRoot);
|
|
86
90
|
const nextValue = {
|
|
87
91
|
...existing,
|
|
88
92
|
mcp: {
|
|
@@ -91,29 +95,59 @@ function writeOpenCodeJson(projectRoot, updatedFiles) {
|
|
|
91
95
|
type: 'local',
|
|
92
96
|
command: [String(entry.command), ...(entry.args ?? [])],
|
|
93
97
|
enabled: true,
|
|
94
|
-
environment:
|
|
98
|
+
...(entry.env ? { environment: entry.env } : {}),
|
|
95
99
|
},
|
|
96
100
|
},
|
|
97
101
|
};
|
|
98
102
|
writeJsonIfChanged(filePath, nextValue, existing, updatedFiles);
|
|
99
103
|
}
|
|
100
104
|
// ---------------------------------------------------------------------------
|
|
101
|
-
//
|
|
105
|
+
// Preflight
|
|
102
106
|
// ---------------------------------------------------------------------------
|
|
103
|
-
|
|
107
|
+
function preflight() {
|
|
104
108
|
if (!OS.isWezInstalled()) {
|
|
105
109
|
console.error(`Error: Wezterm is not installed or not found in PATH.
|
|
106
110
|
|
|
107
111
|
Install Wezterm first: https://wezfurlong.org/wezterm/installation`);
|
|
108
112
|
process.exit(1);
|
|
109
113
|
}
|
|
114
|
+
}
|
|
115
|
+
// ---------------------------------------------------------------------------
|
|
116
|
+
// Public API
|
|
117
|
+
// ---------------------------------------------------------------------------
|
|
118
|
+
/** Global init — writes to user-level config files for all tools */
|
|
119
|
+
export function initGlobal() {
|
|
120
|
+
preflight();
|
|
121
|
+
const entry = globalEntry();
|
|
122
|
+
const updatedFiles = [];
|
|
123
|
+
// Claude Code / Codex — ~/.claude/settings.json
|
|
124
|
+
writeMcpServersFile(join(home(), '.claude', 'settings.json'), entry, updatedFiles);
|
|
125
|
+
// Cursor — ~/.cursor/mcp.json
|
|
126
|
+
writeMcpServersFile(join(home(), '.cursor', 'mcp.json'), entry, updatedFiles);
|
|
127
|
+
// VS Code — platform-specific path
|
|
128
|
+
writeVsCodeFile(globalVsCodeMcpPath(), entry, updatedFiles);
|
|
129
|
+
// Gemini CLI — ~/.gemini/settings.json
|
|
130
|
+
writeMcpServersFile(join(home(), '.gemini', 'settings.json'), entry, updatedFiles);
|
|
131
|
+
// OpenCode — platform-specific path
|
|
132
|
+
writeOpenCodeFile(globalOpenCodePath(), entry, updatedFiles);
|
|
133
|
+
return { mode: 'global', updatedFiles };
|
|
134
|
+
}
|
|
135
|
+
/** Project init — writes to project-level config files */
|
|
136
|
+
export function initProject(options = {}) {
|
|
137
|
+
preflight();
|
|
110
138
|
const projectRoot = resolve(options.projectRoot ?? process.cwd());
|
|
139
|
+
const entry = projectEntry(projectRoot);
|
|
111
140
|
const updatedFiles = [];
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
141
|
+
// .mcp.json — Claude Code, Codex
|
|
142
|
+
writeMcpServersFile(resolve(projectRoot, '.mcp.json'), entry, updatedFiles);
|
|
143
|
+
// .cursor/mcp.json — Cursor
|
|
144
|
+
writeMcpServersFile(resolve(projectRoot, '.cursor', 'mcp.json'), entry, updatedFiles);
|
|
145
|
+
// .vscode/mcp.json — VS Code
|
|
146
|
+
writeVsCodeFile(resolve(projectRoot, '.vscode', 'mcp.json'), entry, updatedFiles);
|
|
147
|
+
// .gemini/settings.json — Gemini CLI
|
|
148
|
+
writeMcpServersFile(resolve(projectRoot, '.gemini', 'settings.json'), entry, updatedFiles);
|
|
149
|
+
// opencode.json — OpenCode
|
|
150
|
+
writeOpenCodeFile(resolve(projectRoot, 'opencode.json'), entry, updatedFiles);
|
|
151
|
+
return { mode: 'project', updatedFiles, projectRoot };
|
|
118
152
|
}
|
|
119
153
|
//# sourceMappingURL=init.js.map
|
package/build/init.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.js","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E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