@mcpjam/cli 2.1.0 → 3.1.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 +21 -1
- package/dist/index.js +2171 -457
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -27,6 +27,7 @@ Options:
|
|
|
27
27
|
-v, --version output the CLI version
|
|
28
28
|
--timeout <ms> Request timeout in milliseconds (default: 30000)
|
|
29
29
|
--rpc Include RPC logs in JSON output
|
|
30
|
+
--quiet Suppress non-result progress output
|
|
30
31
|
--format <format> Output format
|
|
31
32
|
-h, --help display help for command
|
|
32
33
|
|
|
@@ -38,6 +39,7 @@ Commands:
|
|
|
38
39
|
apps MCP Apps utilities, widget extraction, and conformance checks
|
|
39
40
|
oauth Run MCP OAuth login, proxy, and conformance flows
|
|
40
41
|
protocol MCP protocol inspection and conformance checks
|
|
42
|
+
inspector Start or attach to the local MCPJam Inspector
|
|
41
43
|
```
|
|
42
44
|
|
|
43
45
|
## Quick start
|
|
@@ -55,6 +57,10 @@ mcpjam oauth login --url https://your-server.com/mcp --protocol-version 2025-11-
|
|
|
55
57
|
# MCP Apps conformance
|
|
56
58
|
mcpjam apps conformance --url https://your-server.com/mcp --access-token $TOKEN
|
|
57
59
|
|
|
60
|
+
# MCP Apps render debugging in Inspector
|
|
61
|
+
mcpjam apps debug --url https://your-server.com/mcp --access-token $TOKEN \
|
|
62
|
+
--tool-name create_view --params @params.json --ui --quiet --format json
|
|
63
|
+
|
|
58
64
|
# List tools with full schemas
|
|
59
65
|
mcpjam tools list --url https://your-server.com/mcp --access-token $TOKEN --format json
|
|
60
66
|
```
|
|
@@ -89,7 +95,7 @@ diff <(jq -S . before.json) <(jq -S . after.json)
|
|
|
89
95
|
Cover the full registration × protocol version × auth mode matrix from a single config file. Outputs JUnit XML.
|
|
90
96
|
|
|
91
97
|
```bash
|
|
92
|
-
mcpjam oauth conformance-suite --config ./oauth-matrix.json --
|
|
98
|
+
mcpjam oauth conformance-suite --config ./oauth-matrix.json --reporter junit-xml > report.xml
|
|
93
99
|
```
|
|
94
100
|
|
|
95
101
|
### Verify tokens work end-to-end
|
|
@@ -141,6 +147,20 @@ mcpjam tools list --url $URL --access-token $TOKEN --format json \
|
|
|
141
147
|
| jq '.tools[] | {name, description, inputSchema}'
|
|
142
148
|
```
|
|
143
149
|
|
|
150
|
+
### JSON input ergonomics
|
|
151
|
+
|
|
152
|
+
JSON-valued flags accept inline JSON, `@path`, or `-` for stdin:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
mcpjam tools call --url $URL --access-token $TOKEN \
|
|
156
|
+
--tool-name search_docs --tool-args @params.json --quiet --format json
|
|
157
|
+
|
|
158
|
+
echo '{"query":"setup guide"}' | mcpjam tools call --url $URL --access-token $TOKEN \
|
|
159
|
+
--tool-name search_docs --tool-args - --quiet --format json
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Use `--format json|human` for the raw command result. Use `--reporter json-summary|junit-xml` on conformance and diff commands when CI needs a report artifact. `server validate` uses `--debug-out` for validation artifacts.
|
|
163
|
+
|
|
144
164
|
## GitHub Actions
|
|
145
165
|
|
|
146
166
|
```yaml
|