@mcpbridgeapp/cli 0.1.0 → 0.1.1
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/LICENSE +21 -21
- package/README.md +346 -346
- package/dist/index.js +23 -23
- package/dist/ui/page.js +416 -416
- package/package.json +95 -95
package/dist/index.js
CHANGED
|
@@ -16,29 +16,29 @@ function flag(argv, name) {
|
|
|
16
16
|
const index = argv.indexOf(name);
|
|
17
17
|
return index === -1 ? undefined : argv[index + 1];
|
|
18
18
|
}
|
|
19
|
-
const USAGE = `mcpbridgeapp - delegate work to another AI agent over MCP
|
|
20
|
-
|
|
21
|
-
mcpbridgeapp run as an MCP server over stdio (default)
|
|
22
|
-
mcpbridgeapp --http [port] run as an HTTP server on 127.0.0.1 (default port 8808)
|
|
23
|
-
mcpbridgeapp --agents print the configured agents and whether each is usable
|
|
24
|
-
mcpbridgeapp --ask <agent> <prompt>
|
|
25
|
-
delegate once from the terminal, to check an agent works
|
|
26
|
-
before wiring it into a client
|
|
27
|
-
mcpbridgeapp --example-config print a starter config; JSON on stdout, notes on stderr
|
|
28
|
-
mcpbridgeapp ui [--port N] [--no-open]
|
|
29
|
-
open a control panel on this computer: add agents and
|
|
30
|
-
their keys, test them, connect to the relay, all without
|
|
31
|
-
a terminal
|
|
32
|
-
mcpbridgeapp connect --relay <url> --token <token> [--device <name>]
|
|
33
|
-
keep this machine connected to a hosted relay, so clients
|
|
34
|
-
anywhere can delegate to the CLIs signed in here
|
|
35
|
-
mcpbridgeapp --help
|
|
36
|
-
|
|
37
|
-
Register it with a client once, e.g.
|
|
38
|
-
|
|
39
|
-
claude mcp add -s user mcpbridgeapp -- npx -y @mcpbridgeapp/cli
|
|
40
|
-
|
|
41
|
-
Agents come from ${configPath()} when it exists, otherwise from built-in defaults.
|
|
19
|
+
const USAGE = `mcpbridgeapp - delegate work to another AI agent over MCP
|
|
20
|
+
|
|
21
|
+
mcpbridgeapp run as an MCP server over stdio (default)
|
|
22
|
+
mcpbridgeapp --http [port] run as an HTTP server on 127.0.0.1 (default port 8808)
|
|
23
|
+
mcpbridgeapp --agents print the configured agents and whether each is usable
|
|
24
|
+
mcpbridgeapp --ask <agent> <prompt>
|
|
25
|
+
delegate once from the terminal, to check an agent works
|
|
26
|
+
before wiring it into a client
|
|
27
|
+
mcpbridgeapp --example-config print a starter config; JSON on stdout, notes on stderr
|
|
28
|
+
mcpbridgeapp ui [--port N] [--no-open]
|
|
29
|
+
open a control panel on this computer: add agents and
|
|
30
|
+
their keys, test them, connect to the relay, all without
|
|
31
|
+
a terminal
|
|
32
|
+
mcpbridgeapp connect --relay <url> --token <token> [--device <name>]
|
|
33
|
+
keep this machine connected to a hosted relay, so clients
|
|
34
|
+
anywhere can delegate to the CLIs signed in here
|
|
35
|
+
mcpbridgeapp --help
|
|
36
|
+
|
|
37
|
+
Register it with a client once, e.g.
|
|
38
|
+
|
|
39
|
+
claude mcp add -s user mcpbridgeapp -- npx -y @mcpbridgeapp/cli
|
|
40
|
+
|
|
41
|
+
Agents come from ${configPath()} when it exists, otherwise from built-in defaults.
|
|
42
42
|
`;
|
|
43
43
|
async function main() {
|
|
44
44
|
const argv = process.argv.slice(2);
|