@qodalis/cli-core 2.0.0-beta.13 → 2.0.0-beta.15

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
@@ -288,6 +288,7 @@ All three implement the same API surface:
288
288
  | `/ws/v1/cli/events` | WS | Server-push event streaming |
289
289
  | `/ws/v1/cli/shell` | WS | Interactive PTY shell session |
290
290
  | `/api/cli/fs/*` | Various | Filesystem operations (ls, cat, upload, download, mkdir, rm) |
291
+ | `/api/qcli/mcp` | POST | MCP endpoint for AI clients (opt-in) |
291
292
 
292
293
  ### Connecting to a Server
293
294
 
@@ -320,6 +321,19 @@ The frontend includes built-in resilience features:
320
321
  - **HTTP retry** on transient fetch failures (1 retry with 1s delay)
321
322
  - **Configurable request timeout** per server (default 30s)
322
323
 
324
+ ### MCP
325
+
326
+ Each server can expose the whole system to AI clients such as Claude Code over the [Model Context Protocol](https://modelcontextprotocol.io) at `POST /api/qcli/mcp` (opt-in): CLI commands, the filesystem API, the data explorer, jobs and plugin-contributed tools, each with the caller's permissions. It works with or without the users plugin, whose `token create` command issues the API tokens MCP clients sign in with:
327
+
328
+ ```bash
329
+ # direct HTTP
330
+ claude mcp add --transport http qcli http://localhost:8047/api/qcli/mcp --header "Authorization: Bearer <token>"
331
+ # or the local stdio proxy @qodalis/mcp-cli (token or user/password, read-only mode, tool filters)
332
+ claude mcp add qcli -e QCLI_URL=http://localhost:8047 -e QCLI_TOKEN=<token> -- npx -y @qodalis/mcp-cli
333
+ ```
334
+
335
+ See [MCP endpoint](https://cli.qodalis.com/docs/server-integration#mcp-endpoint) for enabling it, the tools and permissions, and client setup.
336
+
323
337
  ### Server Plugins
324
338
 
325
339
  | Plugin | Servers | Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qodalis/cli-core",
3
- "version": "2.0.0-beta.13",
3
+ "version": "2.0.0-beta.15",
4
4
  "description": "Core interfaces, types, and utilities for the @qodalis CLI ecosystem.",
5
5
  "author": "Nicolae Lupei, Qodalis Solutions",
6
6
  "license": "MIT",