@nulib/dc-api-mcp 2.11.0 → 2.11.5
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 +7 -7
- package/dist/apps/mcp/lambda.js +27995 -51
- package/package.json +10 -15
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ The server reads the following environment variables:
|
|
|
79
79
|
#### stdio (for Claude Desktop / Claude Code)
|
|
80
80
|
|
|
81
81
|
```bash
|
|
82
|
-
|
|
82
|
+
bun run stdio
|
|
83
83
|
```
|
|
84
84
|
|
|
85
85
|
Or via the wrapper script (activates the correct Node.js version via mise):
|
|
@@ -91,7 +91,7 @@ bin/run.sh
|
|
|
91
91
|
#### HTTP (Streamable HTTP transport, port 3000)
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
|
|
94
|
+
bun run http
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
### Configuring Claude Desktop (local build)
|
|
@@ -112,10 +112,10 @@ Replace `/path/to/dc-api-v2/mcp` with the absolute path to this directory. Resta
|
|
|
112
112
|
|
|
113
113
|
| Command | Result |
|
|
114
114
|
| ------------------- | ------------------------------------------------------------ |
|
|
115
|
-
| `
|
|
116
|
-
| `
|
|
117
|
-
| `
|
|
118
|
-
| `
|
|
115
|
+
| `bun run test` | Run the test suite |
|
|
116
|
+
| `bun test:watch` | Run the test suite, watching for changes |
|
|
117
|
+
| `bun test:coverage` | Run the test suite and calculate coverage |
|
|
118
|
+
| `bun test:record` | Run the test suite against live data and record new fixtures |
|
|
119
119
|
|
|
120
120
|
- By default, the test suite uses pre-recorded HTTP fixtures. Set `MSW_MODE=live` to run against live data.
|
|
121
|
-
- `
|
|
121
|
+
- `bun test:record` records new fixtures (requires `mitmproxy`: `pip install mitmproxy`).
|