@agent-tasks/mcp-bridge 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.
- package/README.md +8 -6
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Zero-setup MCP bridge for [agent-tasks](https://agent-tasks.opentriologue.ai) — distributes the governed backend as a single `npx` command so any MCP-capable client (Claude Code, triologue, …) can claim, transition, and inspect tasks without touching REST.
|
|
4
4
|
|
|
5
|
-
See the [agent-tasks
|
|
5
|
+
See the [agent-tasks README](https://github.com/LanNguyenSi/agent-tasks#readme) for how the bridge relates to mcp-server and the backend.
|
|
6
6
|
|
|
7
7
|
## Quickstart
|
|
8
8
|
|
|
@@ -11,18 +11,20 @@ npx -y @agent-tasks/mcp-bridge login --token "$MY_TOKEN" # store once (or
|
|
|
11
11
|
claude mcp add agent-tasks -- npx -y @agent-tasks/mcp-bridge # register with Claude Code
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
The agent now sees the v2 `task_*` workflow verbs (`task_pickup`, `task_start`, `task_finish`, ...), `workflow_primer`, `tasks_get`, `project_tasks`, `projects_get_effective_gates`, `signals_poll`/`signals_ack` and the `pull_requests_create`/`pull_requests_merge` delegation tools; see [mcp-server's tool list](https://github.com/LanNguyenSi/agent-tasks/tree/master/mcp-server#tools). All governance (claim gates, preconditions, review locks, audit trails) is enforced by the remote backend; the bridge is a thin stdio transport with a token cache.
|
|
15
15
|
|
|
16
|
-
> **Note:** passing `--token` on the command line may end up in shell history. Prefer the interactive `login` prompt (input is masked) when possible. For non-interactive use from a secret manager, pipe stdin
|
|
16
|
+
> **Note:** passing `--token` on the command line may end up in shell history. Prefer the interactive `login` prompt (input is masked) when possible. For non-interactive use from a secret manager, pipe stdin, for example `pass show agent-tasks | npx -y @agent-tasks/mcp-bridge login`, rather than putting the token on the command line.
|
|
17
17
|
|
|
18
18
|
## Commands
|
|
19
19
|
|
|
20
20
|
| Command | What it does |
|
|
21
21
|
| -------- | ------------------------------------------------------------------- |
|
|
22
|
-
| *(none)* | Start the MCP server over stdio (default
|
|
22
|
+
| *(none)* or `serve` | Start the MCP server over stdio (default, used by MCP clients) |
|
|
23
23
|
| `login` | Validate a token against the backend, store it in the keychain |
|
|
24
24
|
| `logout` | Remove the stored token |
|
|
25
25
|
| `status` | Check that the stored token is still valid |
|
|
26
|
+
| `--version` | Print the package version and exit (no token lookup, no network) |
|
|
27
|
+
| `--help` | Show usage |
|
|
26
28
|
|
|
27
29
|
## Token storage
|
|
28
30
|
|
|
@@ -42,7 +44,7 @@ AGENT_TASKS_BASE_URL=https://staging.example.com npx -y @agent-tasks/mcp-bridge
|
|
|
42
44
|
still-deprecated v1 verbs from its default tool registration (rc-v1-C007;
|
|
43
45
|
see [`mcp-server/README.md`](https://github.com/LanNguyenSi/agent-tasks/tree/master/mcp-server#tools)
|
|
44
46
|
for the full list and their v2 replacements). Set `AGENT_TASKS_MCP_LEGACY=1`
|
|
45
|
-
in the bridge process's environment to register
|
|
47
|
+
in the bridge process's environment to register the full legacy set (40 tools) instead:
|
|
46
48
|
|
|
47
49
|
```sh
|
|
48
50
|
AGENT_TASKS_MCP_LEGACY=1 npx -y @agent-tasks/mcp-bridge
|
|
@@ -50,7 +52,7 @@ AGENT_TASKS_MCP_LEGACY=1 npx -y @agent-tasks/mcp-bridge
|
|
|
50
52
|
|
|
51
53
|
## Uninstalling
|
|
52
54
|
|
|
53
|
-
`npm uninstall` / removing the `npx` cache does **not** delete the token from the OS keychain. Run `agent-tasks
|
|
55
|
+
`npm uninstall` / removing the `npx` cache does **not** delete the token from the OS keychain. Run `npx -y @agent-tasks/mcp-bridge logout` first, or delete the keychain entry for service `agent-tasks-mcp-bridge` manually.
|
|
54
56
|
|
|
55
57
|
## License
|
|
56
58
|
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export declare const PACKAGE_VERSION = "0.
|
|
2
|
+
export declare const PACKAGE_VERSION = "0.10.0";
|
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import { runLogin, runLogout, runStatus } from "./login.js";
|
|
|
5
5
|
// Single source of truth for the version string emitted by `--version`.
|
|
6
6
|
// Bump alongside package.json on release; the cli-version vitest reads
|
|
7
7
|
// package.json#version and asserts spawnSync stdout matches.
|
|
8
|
-
export const PACKAGE_VERSION = "0.
|
|
8
|
+
export const PACKAGE_VERSION = "0.10.0";
|
|
9
9
|
const USAGE = `agent-tasks-mcp-bridge — zero-setup MCP bridge for agent-tasks
|
|
10
10
|
|
|
11
11
|
Usage:
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5D,wEAAwE;AACxE,uEAAuE;AACvE,6DAA6D;AAC7D,MAAM,CAAC,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5D,wEAAwE;AACxE,uEAAuE;AACvE,6DAA6D;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,MAAM,SAAS,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAChC,OAAO;IACT,CAAC;IAED,MAAM,KAAK,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,CAAC;IAChC,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,uBAAuB,EAAE,CAAC,CAAC;IAC7C,CAAC;IACD,6EAA6E;IAC7E,uEAAuE;IACvE,qEAAqE;IACrE,kEAAkE;IAClE,MAAM,cAAc,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,sBAAsB,KAAK,GAAG,EAAE,CAAC,CAAC;AACnG,CAAC;AAED,SAAS,QAAQ,CAAC,GAAW;IAC3B,OAAO,GAAG,CAAC,OAAO,CAAC,gCAAgC,EAAE,eAAe,CAAC,CAAC;AACxE,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACnB,MAAM,GAAG,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC7D,sCAAsC;IACtC,OAAO,CAAC,KAAK,CAAC,iCAAiC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAChE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-tasks/mcp-bridge",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Zero-setup MCP bridge for agent-tasks: npx-distributable wrapper around @agent-tasks/mcp-server with interactive login and OS-keychain token storage",
|
|
5
5
|
"homepage": "https://github.com/LanNguyenSi/agent-tasks/tree/master/mcp-bridge#readme",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typecheck:test": "tsc --noEmit -p tsconfig.test.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@agent-tasks/mcp-server": "0.
|
|
33
|
+
"@agent-tasks/mcp-server": "0.17.0"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
36
|
"keytar": "^7.9.0"
|