mcp-supervisor 0.4.0 → 0.6.4
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 +62 -0
- package/install.js +1 -1
- package/package.json +19 -2
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/miyamiyaz/mcp-supervisor/main/icon.png" width="140" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">mcp-supervisor</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">MCP server that dynamically starts and manages other MCP servers.</p>
|
|
8
|
+
|
|
9
|
+
MCP client configs are static — if a child MCP server needs dynamic arguments (e.g. a CDP endpoint that changes every launch), you have to edit the config and restart your client. mcp-supervisor solves this by starting child MCP servers on demand and proxying their tools through a single connection.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx mcp-supervisor
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Or install globally:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install -g mcp-supervisor
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Configure
|
|
24
|
+
|
|
25
|
+
### Claude Code
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
claude mcp add supervisor -- npx mcp-supervisor
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Claude Desktop
|
|
32
|
+
|
|
33
|
+
Add to `claude_desktop_config.json`:
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"mcpServers": {
|
|
38
|
+
"supervisor": {
|
|
39
|
+
"command": "npx",
|
|
40
|
+
"args": ["mcp-supervisor"]
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Tools
|
|
47
|
+
|
|
48
|
+
| Tool | Description |
|
|
49
|
+
|---|---|
|
|
50
|
+
| `start_mcp` | Start a child MCP server and proxy its tools |
|
|
51
|
+
| `stop_mcp` | Stop a child MCP server and remove its tools |
|
|
52
|
+
| `list_mcps` | List all running child MCP servers |
|
|
53
|
+
|
|
54
|
+
When a child MCP is started with `name: "pw"`, all its tools become available with a `pw.` prefix (e.g. `pw.browser_click`).
|
|
55
|
+
|
|
56
|
+
## Documentation
|
|
57
|
+
|
|
58
|
+
See the [GitHub repository](https://github.com/miyamiyaz/mcp-supervisor) for full documentation, examples, and skills.
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
MIT
|
package/install.js
CHANGED
|
@@ -53,7 +53,7 @@ function fetch(url) {
|
|
|
53
53
|
function extractTarGz(buf, destDir) {
|
|
54
54
|
const tmp = path.join(destDir, "_archive.tar.gz");
|
|
55
55
|
fs.writeFileSync(tmp, buf);
|
|
56
|
-
execSync(
|
|
56
|
+
execSync("tar", ["xzf", tmp, "-C", destDir]);
|
|
57
57
|
fs.unlinkSync(tmp);
|
|
58
58
|
}
|
|
59
59
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-supervisor",
|
|
3
|
-
"version": "0.4
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "MCP server that dynamically starts and manages other MCP servers",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"mcp",
|
|
8
|
+
"model-context-protocol",
|
|
9
|
+
"mcp-server",
|
|
10
|
+
"mcp-manager",
|
|
11
|
+
"mcp-proxy",
|
|
12
|
+
"mcp-orchestrator",
|
|
13
|
+
"claude-code",
|
|
14
|
+
"codex",
|
|
15
|
+
"opencode",
|
|
16
|
+
"cline",
|
|
17
|
+
"cursor",
|
|
18
|
+
"gemini-cli",
|
|
19
|
+
"copilot",
|
|
20
|
+
"ai-agent",
|
|
21
|
+
"llm"
|
|
22
|
+
],
|
|
6
23
|
"repository": {
|
|
7
24
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/miyamiyaz/mcp-supervisor"
|
|
25
|
+
"url": "git+https://github.com/miyamiyaz/mcp-supervisor.git"
|
|
9
26
|
},
|
|
10
27
|
"bin": {
|
|
11
28
|
"supervisor-mcp": "run.js"
|