@transloadit/mcp-server 0.3.4 → 0.3.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 CHANGED
@@ -1,7 +1,6 @@
1
1
  # @transloadit/mcp-server
2
2
 
3
- Transloadit MCP server (Streamable HTTP + stdio). This package is thin glue over
4
- `@transloadit/node` and shared libraries.
3
+ Transloadit MCP Server (Streamable HTTP + stdio), built on top of `@transloadit/node`.
5
4
 
6
5
  ## Install
7
6
 
@@ -9,12 +8,73 @@ Transloadit MCP server (Streamable HTTP + stdio). This package is thin glue over
9
8
  npm install @transloadit/mcp-server
10
9
  ```
11
10
 
12
- ## Quick start (agents)
11
+ ## Quick start (self-hosted, recommended)
13
12
 
14
- Most users add the MCP server to their agent client. The client starts the server
15
- automatically (via `npx -y @transloadit/mcp-server stdio`).
13
+ For most teams, self-hosted MCP is the simplest happy path: run the server where your agent runs,
14
+ set `TRANSLOADIT_KEY` and `TRANSLOADIT_SECRET`, and the server handles API auth automatically.
16
15
 
17
- Claude Code:
16
+ ### Stdio (recommended)
17
+
18
+ ```bash
19
+ TRANSLOADIT_KEY=MY_AUTH_KEY TRANSLOADIT_SECRET=MY_SECRET_KEY npx -y @transloadit/mcp-server stdio
20
+ ```
21
+
22
+ ### HTTP
23
+
24
+ ```bash
25
+ TRANSLOADIT_KEY=MY_AUTH_KEY TRANSLOADIT_SECRET=MY_SECRET_KEY \
26
+ npx -y @transloadit/mcp-server http --host 127.0.0.1 --port 5723
27
+ ```
28
+
29
+ When binding HTTP mode to non-localhost hosts, `TRANSLOADIT_MCP_TOKEN` is required.
30
+
31
+ ### `TRANSLOADIT_MCP_TOKEN` explained
32
+
33
+ `TRANSLOADIT_MCP_TOKEN` is a self-hosted MCP transport token. It protects your own HTTP MCP endpoint
34
+ (`npx -y @transloadit/mcp-server http`), not API2.
35
+
36
+ - Set it yourself to any high-entropy secret.
37
+ - Send it from your MCP client as `Authorization: Bearer <TRANSLOADIT_MCP_TOKEN>`.
38
+ - It is **not** minted via `/token`.
39
+ - It is separate from API2 Bearer tokens used for `https://api2.transloadit.com/mcp`.
40
+
41
+ Generate one, then start HTTP mode:
42
+
43
+ ```bash
44
+ export TRANSLOADIT_MCP_TOKEN="$(openssl rand -hex 32)"
45
+ npx -y @transloadit/mcp-server http --host 0.0.0.0 --port 5723
46
+ ```
47
+
48
+ ## Hosted endpoint
49
+
50
+ If you cannot run `npx` where the agent runs, use the hosted endpoint:
51
+
52
+ ```text
53
+ https://api2.transloadit.com/mcp
54
+ ```
55
+
56
+ Use `Authorization: Bearer <token>`. Mint a token with:
57
+
58
+ ```bash
59
+ npx -y @transloadit/node auth token --aud mcp
60
+ ```
61
+
62
+ Generate this token in a trusted environment (backend, CI, or local shell), then hand it to the
63
+ agent runtime. You can mint it via:
64
+
65
+ - CLI: `npx -y @transloadit/node auth token --aud mcp`
66
+ - API: `POST https://api2.transloadit.com/token` (HTTP Basic Auth with key/secret)
67
+ - Node SDK: instantiate `Transloadit` with `authKey` + `authSecret`, then call
68
+ `client.mintBearerToken({ aud: 'mcp' })`
69
+
70
+ Bearer tokens satisfy signature auth on API2 requests; signature checks apply to key/secret
71
+ requests.
72
+
73
+ ## Agent client setup
74
+
75
+ Most users add the server to their MCP client and let the client start it automatically via stdio.
76
+
77
+ ### Claude Code
18
78
 
19
79
  ```bash
20
80
  claude mcp add --transport stdio transloadit \
@@ -23,9 +83,7 @@ claude mcp add --transport stdio transloadit \
23
83
  -- npx -y @transloadit/mcp-server stdio
24
84
  ```
25
85
 
26
- For non-interactive runs (e.g. `claude -p`), explicitly allow MCP tools. Claude MCP
27
- tools are named `mcp__<server>__<tool>`, so `mcp__transloadit__*` allows all tools
28
- from this server.
86
+ For non-interactive runs (for example `claude -p`), explicitly allow MCP tools:
29
87
 
30
88
  ```bash
31
89
  claude -p "List templates" \
@@ -33,7 +91,7 @@ claude -p "List templates" \
33
91
  --output-format json
34
92
  ```
35
93
 
36
- Codex CLI:
94
+ ### Codex CLI
37
95
 
38
96
  ```bash
39
97
  codex mcp add transloadit \
@@ -42,7 +100,7 @@ codex mcp add transloadit \
42
100
  -- npx -y @transloadit/mcp-server stdio
43
101
  ```
44
102
 
45
- To allowlist tools, add `enabled_tools` for the server in `~/.codex/config.toml`:
103
+ Allowlist tools in `~/.codex/config.toml`:
46
104
 
47
105
  ```toml
48
106
  [mcp_servers.transloadit]
@@ -51,7 +109,7 @@ args = ["-y", "@transloadit/mcp-server", "stdio"]
51
109
  enabled_tools = ["transloadit_list_templates"]
52
110
  ```
53
111
 
54
- Gemini CLI:
112
+ ### Gemini CLI
55
113
 
56
114
  ```bash
57
115
  gemini mcp add --scope user transloadit npx -y @transloadit/mcp-server stdio \
@@ -59,7 +117,7 @@ gemini mcp add --scope user transloadit npx -y @transloadit/mcp-server stdio \
59
117
  --env TRANSLOADIT_SECRET=...
60
118
  ```
61
119
 
62
- To allowlist tools, set `includeTools` for the server in `~/.gemini/settings.json`:
120
+ Allowlist tools in `~/.gemini/settings.json`:
63
121
 
64
122
  ```json
65
123
  {
@@ -77,7 +135,9 @@ To allowlist tools, set `includeTools` for the server in `~/.gemini/settings.jso
77
135
  }
78
136
  ```
79
137
 
80
- Cursor (`~/.cursor/mcp.json`):
138
+ ### Cursor
139
+
140
+ `~/.cursor/mcp.json`:
81
141
 
82
142
  ```json
83
143
  {
@@ -94,7 +154,9 @@ Cursor (`~/.cursor/mcp.json`):
94
154
  }
95
155
  ```
96
156
 
97
- OpenCode (`~/.config/opencode/opencode.json`):
157
+ ### OpenCode
158
+
159
+ `~/.config/opencode/opencode.json`:
98
160
 
99
161
  ```json
100
162
  {
@@ -111,74 +173,68 @@ OpenCode (`~/.config/opencode/opencode.json`):
111
173
  }
112
174
  ```
113
175
 
114
- If you cannot install packages where the agent runs (locked‑down or hosted environments),
115
- use the hosted MCP endpoint (`https://api2.transloadit.com/mcp`) with bearer tokens. This
116
- is a fallback — self‑hosted MCP is the default recommendation.
117
-
118
176
  ## Run the server manually
119
177
 
120
178
  HTTP:
121
179
 
122
180
  ```bash
123
- transloadit-mcp http --host 127.0.0.1 --port 5723
181
+ npx -y @transloadit/mcp-server http --host 127.0.0.1 --port 5723
124
182
  ```
125
183
 
126
184
  Stdio:
127
185
 
128
186
  ```bash
129
- transloadit-mcp stdio
187
+ npx -y @transloadit/mcp-server stdio
130
188
  ```
131
189
 
132
- ## MCP vs skills/CLI
133
-
134
- MCP is best for **embedded runtime** use: long‑lived or autonomous agent pipelines where
135
- Transloadit runs repeatedly (uploads → assemblies → polling → results).
136
-
137
- Skills/CLI are best for **human‑directed, one‑off work**: setting up integrations,
138
- generating templates, scaffolding code, or running a single processing task locally with
139
- full repo/tool access.
140
-
141
- These are guidelines, not hard rules. Some systems (for example Open Claw) can work
142
- beautifully with skills, and MCP can also be great for interactive, human‑in‑the‑loop
143
- flows. The right choice depends on your environment and preferences — and we’ll keep
144
- supporting both.
145
-
146
190
  ## Auth model
147
191
 
148
- **Hosted (api2.transloadit.com/mcp)**
192
+ ### Hosted (`https://api2.transloadit.com/mcp`)
149
193
 
150
- - Mint a token via `POST https://api2.transloadit.com/token` (HTTP Basic Auth with key+secret).
151
- - Use `Authorization: Bearer <access_token>` on API2 requests.
152
- - Bearer tokens **satisfy signature auth**; signature checks apply only to key/secret requests.
194
+ - Mint token via `POST https://api2.transloadit.com/token`.
195
+ - Send `Authorization: Bearer <access_token>`.
196
+ - Bearer auth satisfies signature auth; signature checks apply to key/secret requests.
153
197
 
154
- **Self-hosted**
198
+ ### Self-hosted
155
199
 
156
- - stdio and localhost HTTP require no MCP auth by default.
157
- - Non-localhost HTTP requires `TRANSLOADIT_MCP_TOKEN`.
158
- - API calls use `TRANSLOADIT_KEY` + `TRANSLOADIT_SECRET`, or bearer tokens if provided.
200
+ - Stdio and localhost HTTP need no MCP auth by default.
201
+ - Non-localhost HTTP requires `TRANSLOADIT_MCP_TOKEN` (a static secret you define).
202
+ - Live Transloadit API calls use:
203
+ - incoming Bearer token from MCP request headers, or
204
+ - `TRANSLOADIT_KEY` + `TRANSLOADIT_SECRET`.
159
205
 
160
206
  ## Configuration
161
207
 
162
- Environment:
208
+ ### Environment variables
163
209
 
164
210
  - `TRANSLOADIT_KEY`
165
211
  - `TRANSLOADIT_SECRET`
166
212
  - `TRANSLOADIT_MCP_TOKEN`
167
213
  - `TRANSLOADIT_ENDPOINT` (optional, default `https://api2.transloadit.com`)
168
214
  - `TRANSLOADIT_MCP_METRICS_PATH` (optional, default `/metrics`)
215
+ - `TRANSLOADIT_MCP_METRICS_USER` (optional)
216
+ - `TRANSLOADIT_MCP_METRICS_PASSWORD` (optional)
169
217
 
170
- CLI:
218
+ ### CLI flags
171
219
 
172
- - `transloadit-mcp http --host 127.0.0.1 --port 5723 --endpoint https://api2.transloadit.com`
173
- - `transloadit-mcp http --config path/to/config.json`
220
+ - `npx -y @transloadit/mcp-server http --host 127.0.0.1 --port 5723`
221
+ - `npx -y @transloadit/mcp-server http --endpoint https://api2.transloadit.com`
222
+ - `npx -y @transloadit/mcp-server http --config path/to/config.json`
174
223
 
175
- ## Metrics
224
+ ## Tool surface
176
225
 
177
- - Prometheus-compatible metrics are exposed at `GET /metrics` by default.
178
- - Customize the path via `TRANSLOADIT_MCP_METRICS_PATH` or config `metricsPath`.
179
- - Disable by setting `metricsPath: false` in the config or when creating the server/router.
180
- - Optional basic auth via `TRANSLOADIT_MCP_METRICS_USER` +
181
- `TRANSLOADIT_MCP_METRICS_PASSWORD` or config `metricsAuth`.
226
+ - `transloadit_lint_assembly_instructions`
227
+ - `transloadit_create_assembly`
228
+ - `transloadit_get_assembly_status`
229
+ - `transloadit_wait_for_assembly`
230
+ - `transloadit_list_robots`
231
+ - `transloadit_get_robot_help`
232
+ - `transloadit_list_templates`
233
+
234
+ `transloadit_list_templates` supports:
235
+
236
+ - `include_builtin`: `all`, `latest`, `exclusively-all`, `exclusively-latest`
237
+ - `include_content`: include parsed `steps` in each template item
182
238
 
183
239
  ## Input files
184
240
 
@@ -203,66 +259,103 @@ export type InputFile =
203
259
 
204
260
  ## Limits
205
261
 
206
- These limits apply only to inline JSON/base64 payloads. Small files can be sent inline, but large
207
- files should be passed as `path` or `url`. The MCP server uploads those via tus (the default), so
208
- the request body stays small and no extra MCP/LLM token budget is consumed.
209
-
210
- - Hosted default request body limit: **1 MB** (JSON).
211
- - Hosted default `maxBase64Bytes`: **512_000** (decoded bytes).
212
- - Self-hosted default request body limit: **10 MB** (configurable).
213
-
214
- ## URL inputs
215
-
216
- - By default URL files are **downloaded and uploaded via tus**. This keeps instructions unchanged
217
- and avoids large inline payloads (the transfer happens out-of-band).
218
- - If instructions already contain an `/http/import` step, the MCP server sets/overrides its `url`.
219
- - If multiple URLs and a single `/http/import` step exists, it supplies a `url` array.
220
- - When `template_id` is used, the MCP server fetches the template and
221
- chooses the safest URL path:
222
- - If the merged template contains a `/http/import` step, it overrides that step’s `url`.
223
- - If the template expects uploads (`:original` / `/upload/handle`), it downloads and uploads via
224
- tus.
225
- - If the template doesn’t take inputs (for example `/html/convert` with a `url`), URL inputs are
226
- ignored and a warning is returned.
227
- - If `allow_steps_override=false` and the template only supports `/http/import`, URL inputs are
228
- rejected (no safe override path).
262
+ These limits apply to inline JSON/base64 payloads. For larger files, prefer `path` or `url`.
263
+
264
+ - Hosted default request body limit: **1 MB**
265
+ - Hosted `maxBase64Bytes`: **512,000** decoded bytes
266
+ - Self-hosted default request body limit: **10 MB** (configurable)
267
+
268
+ ## URL inputs and template behavior
269
+
270
+ For URL inputs, behavior depends on the template/instructions:
271
+
272
+ - If an `/http/import` Step exists, MCP sets/overrides that Step's `url`.
273
+ - If the template expects uploads (`:original` or `/upload/handle`), MCP downloads then uploads via
274
+ tus.
275
+ - If the template does not take input files, URL inputs are ignored and a warning is returned.
276
+ - If `allow_steps_override=false` and only `/http/import` would work, URL inputs are rejected.
229
277
 
230
278
  ## Local vs hosted file access
231
279
 
232
- - `path` inputs only work when the MCP server can read the same filesystem (local/stdio).
233
- - Hosted MCP cannot access your disk. Use `url`/`base64` for small files, or upload locally with:
234
- `npx -y @transloadit/node upload ./file.ext --create-upload-endpoint <tus_url> --assembly <assembly_url> --field :original`
235
- - For remote flows, create the Assembly with `expected_uploads` so it stays open for out‑of‑band
236
- tus uploads.
280
+ - `path` inputs require filesystem access from the MCP process (local/self-hosted).
281
+ - Hosted MCP cannot read local disk.
282
+ - For remote workflows, use `url`, small `base64`, or upload locally with
283
+ `npx -y @transloadit/node upload`.
284
+ - Use `expected_uploads` to keep an Assembly open for out-of-band tus uploads.
237
285
 
238
286
  ## Resume behavior
239
287
 
240
- If `assembly_url` is provided, the MCP server resumes uploads using Assembly status
241
- (`tus_uploads` + `uploads`). This requires stable, unique `field` names and file metadata
242
- (`filename` + `size`). Only **path-based** inputs resume; non-file inputs start fresh uploads.
288
+ If `assembly_url` is provided, MCP resumes uploads using Assembly status (`tus_uploads` +
289
+ `uploads`). This requires stable field names and file metadata (`filename` + `size`).
290
+ Path-based file inputs can be resumed.
243
291
 
244
- ## Tool surface
292
+ ## Metrics and server card
245
293
 
246
- - `transloadit_create_assembly`
247
- - `transloadit_get_assembly_status`
248
- - `transloadit_wait_for_assembly`
249
- - `transloadit_lint_assembly_instructions`
250
- - `transloadit_list_robots`
251
- - `transloadit_get_robot_help`
252
- - `transloadit_list_templates`
294
+ - Prometheus metrics at `GET /metrics` by default.
295
+ - Configure via `TRANSLOADIT_MCP_METRICS_PATH` or `metricsPath`.
296
+ - Disable via `metricsPath: false`.
297
+ - Optional metrics basic auth via `TRANSLOADIT_MCP_METRICS_USER` +
298
+ `TRANSLOADIT_MCP_METRICS_PASSWORD` or `metricsAuth`.
299
+ - Public discovery endpoint at `/.well-known/mcp/server-card.json`.
300
+
301
+ ## MCP vs skills/CLI
302
+
303
+ - Use MCP for embedded runtime execution (uploads, Assemblies, polling, results).
304
+ - Use skills/CLI for human-directed and one-off workflows (setup, scaffolding, local automation).
305
+
306
+ These are guidelines, not strict rules. Many teams use both.
253
307
 
254
308
  ## Verify MCP clients
255
309
 
256
- Run a local smoke test that uses the latest published MCP server and your installed CLIs
257
- (Claude Code, Codex CLI, Gemini CLI). Requires `TRANSLOADIT_KEY` + `TRANSLOADIT_SECRET` and
258
- active CLI auth. The script fetches a template id directly, then asks each client to return that
259
- id via `transloadit_list_templates` (so it can’t pass without MCP). Missing CLIs are skipped.
260
- Override the per-command timeout with `MCP_VERIFY_TIMEOUT_MS`.
310
+ Run a local smoke test with published MCP server and installed CLIs (Claude Code, Codex CLI,
311
+ Gemini CLI). Requires `TRANSLOADIT_KEY` + `TRANSLOADIT_SECRET` and active CLI auth.
261
312
 
262
313
  ```bash
263
314
  node scripts/verify-mcp-clients.ts
264
315
  ```
265
316
 
266
- ## Roadmap
317
+ Set `MCP_VERIFY_TIMEOUT_MS` to override command timeout.
318
+
319
+ ## Docs
320
+
321
+ - Website docs: https://transloadit.com/docs/sdks/mcp-server/
322
+ - API token docs: https://transloadit.com/docs/api/token-post/
323
+
324
+ ## Contributing
325
+
326
+ ### Prerequisites
327
+
328
+ - Node.js 22+
329
+ - Corepack-enabled Yarn 4
330
+
331
+ ### Install dependencies
332
+
333
+ From repo root:
334
+
335
+ ```bash
336
+ corepack yarn install
337
+ ```
338
+
339
+ ### Validate changes
340
+
341
+ ```bash
342
+ corepack yarn --cwd packages/mcp-server check
343
+ ```
344
+
345
+ ### Run e2e tests
346
+
347
+ `test:e2e` requires valid Transloadit credentials in your environment.
348
+
349
+ ```bash
350
+ corepack yarn --cwd packages/mcp-server test:e2e
351
+ ```
352
+
353
+ ### Submit a change
354
+
355
+ - Add or update tests with behavior changes.
356
+ - Keep README and website docs aligned for user-facing behavior.
357
+ - Open a PR in `transloadit/node-sdk`.
358
+
359
+ ### Roadmap
267
360
 
268
361
  - Next.js Claude Web flow to mint and hand off bearer tokens for MCP.
@@ -131,7 +131,7 @@ export const buildServerCard = (endpoint, options = {}) => {
131
131
  version: packageJson.version,
132
132
  },
133
133
  description: 'Agent-native media processing: video encoding, image manipulation, document conversion, and more via 86+ Robots.',
134
- documentationUrl: 'https://transloadit.com/docs/topics/ai-agents/',
134
+ documentationUrl: 'https://transloadit.com/docs/sdks/mcp-server/',
135
135
  iconUrl: 'https://transloadit.com/favicon.ico',
136
136
  transport: {
137
137
  type: 'streamable-http',
@@ -1 +1 @@
1
- {"version":3,"file":"server-card.js","sourceRoot":"","sources":["../src/server-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAC5E,OAAO,WAAW,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAE/D,MAAM,CAAC,MAAM,cAAc,GAAG,mCAAmC,CAAA;AAyBjE,MAAM,KAAK,GAA+B;IACxC;QACE,IAAI,EAAE,wCAAwC;QAC9C,KAAK,EAAE,4BAA4B;QACnC,WAAW,EACT,qFAAqF;QACvF,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,cAAc,CAAC;YAC1B,UAAU,EAAE;gBACV,YAAY,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE;gBAClF,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2BAA2B,EAAE;gBACrE,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,2CAA2C,EAAE;aAC5F;SACF;KACF;IACD;QACE,IAAI,EAAE,6BAA6B;QACnC,KAAK,EAAE,8BAA8B;QACrC,WAAW,EACT,sFAAsF;QACxF,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,YAAY,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,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,CAAC,MAAM,eAAe,GAAG,CAC7B,QAAgB,EAChB,UAAqD,EAAE,EAC3C,EAAE;IACd,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAA;IAErE,OAAO;QACL,OAAO,EAAE,wEAAwE;QACjF,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,uBAAuB;QACxC,UAAU,EAAE;YACV,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,wBAAwB;YAC/B,OAAO,EAAE,WAAW,CAAC,OAAO;SAC7B;QACD,WAAW,EACT,kHAAkH;QACpH,gBAAgB,EAAE,+CAA+C;QACjE,OAAO,EAAE,qCAAqC;QAC9C,SAAS,EAAE;YACT,IAAI,EAAE,iBAAiB;YACvB,QAAQ;SACT;QACD,cAAc,EAAE;YACd,QAAQ,EAAE,CAAC,cAAc;YACzB,OAAO,EAAE,CAAC,QAAQ,CAAC;SACpB;QACD,YAAY,EAAE;YACZ,KAAK,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;SAC9B;QACD,KAAK;KACN,CAAA;AACH,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transloadit/mcp-server",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Transloadit MCP server",
5
5
  "keywords": [
6
6
  "mcp",
@@ -43,6 +43,10 @@
43
43
  "types": "./dist/index.d.ts",
44
44
  "default": "./dist/index.js"
45
45
  },
46
+ "./server-card": {
47
+ "types": "./dist/server-card.d.ts",
48
+ "default": "./dist/server-card.js"
49
+ },
46
50
  "./package.json": "./package.json"
47
51
  },
48
52
  "bin": {