@fluidgrids/cli 2026.1116.1 → 2026.1124.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/README.md +21 -0
- package/dist/cli.js +523 -136
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -580,6 +580,27 @@ fluidgrids admin system-info
|
|
|
580
580
|
Destructive commands ask for confirmation; pass `--force` in scripts.
|
|
581
581
|
Every data command takes `-f, --format json|table|yaml` (JSON when not on a terminal).
|
|
582
582
|
|
|
583
|
+
## MCP clients: `mcp connect`
|
|
584
|
+
|
|
585
|
+
`fluidgrids mcp connect <url>` lets a stdio MCP client (Claude Desktop, Cursor, Claude Code) use a
|
|
586
|
+
FluidGrids MCP endpoint: an MCP Server Trigger at `/mcp/fluidgrids/<workspace id>/s/<path>`, or
|
|
587
|
+
the workspace's published tool set at `/mcp/fluidgrids/<workspace id>`. Those endpoints need an
|
|
588
|
+
app token and the app's workspace token, and the workspace token lasts 15 minutes, so the bridge
|
|
589
|
+
holds the app API key, mints both tokens, renews them before they expire (and once after a 401)
|
|
590
|
+
and relays the client's JSON-RPC messages over Streamable HTTP.
|
|
591
|
+
|
|
592
|
+
```bash
|
|
593
|
+
FLUIDGRIDS_MCP_API_KEY=... FLUIDGRIDS_MCP_API_SECRET=... \
|
|
594
|
+
fluidgrids mcp connect https://graphqlworkspaces.burdenoff.com/mcp/fluidgrids/<workspace id>/s/crm-tools
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
- The key and secret are read from the environment only, never from flags.
|
|
598
|
+
- The URL must be on the configured workspace gateway (`FLUIDGRIDS_WORKSPACE_ENDPOINT`); tokens
|
|
599
|
+
are never sent anywhere else.
|
|
600
|
+
- stdout carries MCP messages only; diagnostics go to stderr.
|
|
601
|
+
|
|
602
|
+
Client configuration examples: https://docs.fluidgrids.ai/users/mcp-server-trigger
|
|
603
|
+
|
|
583
604
|
## Configuration
|
|
584
605
|
|
|
585
606
|
State lives in `~/.config/fluidgrids-cli/` (`auth.json` is written `0600`).
|