@dougbots/avenor-mcp 0.1.0 → 0.2.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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @dougbots/avenor-mcp
2
2
 
3
+ > **Note:** Since v0.x, `avenor mcp` is the canonical Go-native MCP server built into the `avenor` binary itself — no Node/Bun required. See [`docs/mcp.md`](../../docs/mcp.md) for the primary MCP setup and tool reference. This Node.js package is an alternative for OpenCode-based setups or when you prefer npm-based tooling.
4
+
3
5
  MCP server that makes [avenor](https://github.com/dougbots/avenor) agent runs available as tools inside any MCP-compatible client (Claude Code, Claude Desktop, Cursor, etc.).
4
6
 
5
7
  ## When you need this
@@ -99,6 +101,8 @@ Start a new agent run.
99
101
  | `label` | no | Human-readable label for this run |
100
102
  | `timeout` | no | Duration string (`5m`, `1h`, `90s`) |
101
103
  | `model` | no | Model override for the agent |
104
+ | `backend` | no | Backend override (`opencode-http`, `opencode-acp`, `codex-app-server`) |
105
+ | `server_url` | no | Backend server URL, required by `opencode-http` unless configured by environment |
102
106
  | `supervisor_id` | no | Supervisor ID for multi-supervisor setups |
103
107
 
104
108
  Returns `{ run_id, label, supervisor_id }`. The `run_id` is what you pass to the other tools.
package/dist/index.js CHANGED
@@ -55,9 +55,11 @@ server.registerTool("avenor_spawn", {
55
55
  label: z.string().optional().describe("Human-readable label for this run"),
56
56
  timeout: z.string().optional().describe("Timeout duration (e.g. 5m, 1h)"),
57
57
  model: z.string().optional().describe("Model override"),
58
+ backend: z.string().optional().describe("Backend override"),
59
+ server_url: z.string().optional().describe("Backend server URL"),
58
60
  supervisor_id: z.string().optional().describe("Supervisor ID for multi-supervisor mode")
59
61
  }
60
- }, async ({ repo_dir, agent, prompt, prompt_file, label, timeout, model, supervisor_id }) => {
62
+ }, async ({ repo_dir, agent, prompt, prompt_file, label, timeout, model, backend, server_url, supervisor_id }) => {
61
63
  return spawnTool({
62
64
  agent,
63
65
  dir: repo_dir,
@@ -66,6 +68,8 @@ server.registerTool("avenor_spawn", {
66
68
  label,
67
69
  timeout,
68
70
  model,
71
+ backend,
72
+ serverUrl: server_url,
69
73
  supervisorId: supervisor_id
70
74
  });
71
75
  });
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@dougbots/avenor-mcp",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/sdougbrown/avenor",
8
+ "directory": "packages/mcp"
9
+ },
5
10
  "files": [
6
11
  "dist"
7
12
  ],