Skip to content

Commit 01d6535

Browse files
release: 12.7.0 (#609)
* feat(mcp): change remote server query option parsing logic * feat(mcp): add client infer to cloudflare oauth screen * fix(image): expose format param for storyboard.json calls (#370) * fix(mcp): redirect oauth-authorization-server (#611) * release: 12.7.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Justin Sanford <[email protected]>
1 parent f94b580 commit 01d6535

File tree

12 files changed

+44
-10
lines changed

12 files changed

+44
-10
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "12.6.1"
2+
".": "12.7.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 108
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-275325c9f8b8ea1c1ff947cb2f56de79a729602214959bc4477eb409971ad2e5.yml
3-
openapi_spec_hash: 3475bc39cfe61d3f4887edbdf17815d6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-4cb6473403b67203df9f418cda5207a4359e13b5a30340303c6f5f8d4584a970.yml
3+
openapi_spec_hash: 49e34594cb30dfd765a3c5a618bae32c
44
config_hash: 9d64df8ecbee364853546b6388b697ad

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 12.7.0 (2025-08-27)
4+
5+
Full Changelog: [v12.6.1...v12.7.0](https://github.com/muxinc/mux-node-sdk/compare/v12.6.1...v12.7.0)
6+
7+
### Features
8+
9+
* **mcp:** add client infer to cloudflare oauth screen ([1773deb](https://github.com/muxinc/mux-node-sdk/commit/1773deb1c4d0d0ec7d6eb8a381c302a9d1a7d64b))
10+
* **mcp:** change remote server query option parsing logic ([b207dcf](https://github.com/muxinc/mux-node-sdk/commit/b207dcfaf1f0ea73511b95593b26b936f33bfd7c))
11+
12+
13+
### Bug Fixes
14+
15+
* **image:** expose format param for storyboard.json calls ([#370](https://github.com/muxinc/mux-node-sdk/issues/370)) ([cd09584](https://github.com/muxinc/mux-node-sdk/commit/cd09584c0847ee54f79a1f5c26370f392d0c074b))
16+
* **mcp:** redirect oauth-authorization-server ([#611](https://github.com/muxinc/mux-node-sdk/issues/611)) ([8bf978e](https://github.com/muxinc/mux-node-sdk/commit/8bf978e7e238fddf1c8766817990252cd0700dd2))
17+
318
## 12.6.1 (2025-08-22)
419

520
Full Changelog: [v12.6.0...v12.6.1](https://github.com/muxinc/mux-node-sdk/compare/v12.6.0...v12.6.1)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mux/mux-node",
3-
"version": "12.6.1",
3+
"version": "12.7.0",
44
"description": "The official TypeScript library for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/cloudflare-worker/src/utils.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,12 @@ export const renderLoggedOutAuthorizeScreen = async (
300300
class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary"
301301
>
302302
<option
303-
value="claude"
304-
${selected(defaultOptions?.client === 'claude' || !defaultOptions?.client)}
303+
value="infer"
304+
${selected(defaultOptions?.client === 'infer' || !defaultOptions?.client)}
305305
>
306-
Claude
306+
Infer client
307307
</option>
308+
<option value="claude" ${selected(defaultOptions?.client === 'claude')}>Claude</option>
308309
<option value="cursor" ${selected(defaultOptions?.client === 'cursor')}>Cursor</option>
309310
<option value="claude-code" ${selected(defaultOptions?.client === 'claude-code')}>
310311
Claude Code

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mux/mcp",
3-
"version": "12.6.1",
3+
"version": "12.7.0",
44
"description": "The official MCP Server for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/http.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,16 @@ const oauthMetadata = (req: express.Request, res: express.Response) => {
113113
});
114114
};
115115

116+
const oauthAuthorizationServer = (req: express.Request, res: express.Response) => {
117+
res.redirect('https://auth.mux.com/.well-known/oauth-authorization-server');
118+
};
119+
116120
export const streamableHTTPApp = (options: McpOptions): express.Express => {
117121
const app = express();
118122
app.set('query parser', 'extended');
119123
app.use(express.json());
120124

125+
app.get('/.well-known/oauth-authorization-server', cors(), oauthAuthorizationServer);
121126
app.get('/.well-known/oauth-protected-resource', cors(), oauthMetadata);
122127
app.get('/', get);
123128
app.post('/', cors(), post(options));

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const newMcpServer = () =>
3232
new McpServer(
3333
{
3434
name: 'mux',
35-
version: '12.6.1',
35+
version: '12.7.0',
3636
},
3737
{ capabilities: { tools: {}, logging: {} } },
3838
);

packages/mcp-server/src/tools/video/playback/storyboard-meta-video-playback.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ export const tool: Tool = {
3535
description:
3636
'Set the relative start time of the asset (in seconds) when using the [instant clipping feature](https://docs.mux.com/guides/create-instant-clips).',
3737
},
38+
format: {
39+
type: 'string',
40+
description:
41+
"The format of the storyboard image URL in the response. Can be either 'jpg', 'png', or 'webp'. Defaults to 'jpg'.",
42+
enum: ['jpg', 'png', 'webp'],
43+
},
3844
program_end_time: {
3945
type: 'integer',
4046
description:

src/resources/video/playback.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,12 @@ export interface PlaybackStoryboardMetaParams {
549549
*/
550550
asset_start_time?: number;
551551

552+
/**
553+
* The format of the storyboard image URL in the response. Can be either 'jpg',
554+
* 'png', or 'webp'. Defaults to 'jpg'.
555+
*/
556+
format?: 'jpg' | 'png' | 'webp';
557+
552558
/**
553559
* Set the end time of the asset created from a live stream when using the
554560
* [instant clipping feature](https://docs.mux.com/guides/create-instant-clips).

0 commit comments

Comments
 (0)