Skip to content

Commit ed4cb34

Browse files
stainless-app[bot]jsanford8mihar-22
authored
release: 12.1.0 (#595)
* feat: mcp desktop extension (#594) * add dxt * ignore license from dxt dir * fix title and desc * reorder package.json * newlines --------- Co-authored-by: Rahim <[email protected]> * release: 12.1.0 --------- Co-authored-by: Justin Sanford <[email protected]> Co-authored-by: Rahim <[email protected]> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 0abe577 commit ed4cb34

File tree

12 files changed

+587
-21
lines changed

12 files changed

+587
-21
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ dist
77
dist-deno
88
/*.tgz
99
.idea/
10+
.DS_Store
1011

12+
packages/mcp-server/dxt/dist
13+
packages/mcp-server/dxt/package.json
14+
packages/mcp-server/dxt/mux.dxt
15+
packages/mcp-server/dxt/LICENSE

.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.0.1"
2+
".": "12.1.0"
33
}

CHANGELOG.md

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

3+
## 12.1.0 (2025-07-03)
4+
5+
Full Changelog: [v12.0.1...v12.1.0](https://github.com/muxinc/mux-node-sdk/compare/v12.0.1...v12.1.0)
6+
7+
### Features
8+
9+
* mcp desktop extension ([#594](https://github.com/muxinc/mux-node-sdk/issues/594)) ([da573cc](https://github.com/muxinc/mux-node-sdk/commit/da573cce4f7f6c9208c8fbc60d4bf3f4af0246b7))
10+
311
## 12.0.1 (2025-07-03)
412

513
Full Changelog: [v12.0.0...v12.0.1](https://github.com/muxinc/mux-node-sdk/compare/v12.0.0...v12.0.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.0.1",
3+
"version": "12.1.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/build

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,23 @@ cp tsconfig.dist-src.json dist/src/tsconfig.json
3030
chmod +x dist/index.js
3131

3232
DIST_PATH=./dist PKG_IMPORT_PATH=@mux/mcp/ node ../../scripts/utils/postprocess-files.cjs
33+
34+
# copy package.json to dxt
35+
cp dist/package.json dxt/package.json
36+
37+
# copy dist to the dxt directory
38+
rm -rf dxt/dist
39+
mkdir dxt/dist
40+
cp -rp dist/*.js dxt/dist
41+
42+
# copy license files to dxt
43+
cp ../../LICENSE dxt/LICENSE
44+
45+
# update dxt manifest version
46+
node scripts/update-dxt.js
47+
48+
# pack the dxt directory
49+
dxt pack dxt dxt/mux.dxt
50+
51+
# sign the dxt package
52+
dxt sign dxt/mux.dxt --self-signed

packages/mcp-server/dxt/icon.png

571 KB
Loading

packages/mcp-server/dxt/manifest.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"name": "Mux",
3+
"version": "12.0.1",
4+
"dxt_version": "0.0.1",
5+
"description": "Manage video infrastructure, analyze performance, and get deep insights into your Mux Video and Mux Data accounts.",
6+
"author": {
7+
"name": "Mux",
8+
"email": "[email protected]",
9+
"url": "https://mux.com"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "git+https://github.com/muxinc/mux-node-sdk.git",
14+
"directory": "packages/mcp-server"
15+
},
16+
"homepage": "https://mux.com",
17+
"documentation": "https://www.mux.com/docs",
18+
"support": "https://mux.com/support",
19+
"icon": "icon.png",
20+
"server": {
21+
"type": "node",
22+
"entry_point": "${__dirname}/dist/index.js",
23+
"mcp_config": {
24+
"command": "npx",
25+
"args": ["-y", "@mux/mcp@latest", "--tools=dynamic"],
26+
"env": {
27+
"MUX_TOKEN_ID": "${user_config.MUX_TOKEN_ID}",
28+
"MUX_TOKEN_SECRET": "${user_config.MUX_TOKEN_SECRET}",
29+
"MUX_WEBHOOK_SECRET": "${user_config.MUX_WEBHOOK_SECRET}",
30+
"MUX_SIGNING_KEY": "${user_config.MUX_SIGNING_KEY}",
31+
"MUX_PRIVATE_KEY": "${user_config.MUX_PRIVATE_KEY}"
32+
}
33+
}
34+
},
35+
"user_config": {
36+
"MUX_TOKEN_ID": {
37+
"title": "Mux API Token ID",
38+
"description": "Your Mux API Token ID. You can find this in your Mux account settings.",
39+
"required": true,
40+
"type": "string"
41+
},
42+
"MUX_TOKEN_SECRET": {
43+
"title": "Mux API Token Secret",
44+
"description": "Your Mux API Token Secret. You can find this in your Mux account settings.",
45+
"required": true,
46+
"type": "string"
47+
},
48+
"MUX_WEBHOOK_SECRET": {
49+
"title": "Mux Webhook Secret (optional)",
50+
"description": "Your Mux Webhook Secret. This is used to verify webhook requests from Mux.",
51+
"required": false,
52+
"type": "string"
53+
},
54+
"MUX_SIGNING_KEY": {
55+
"title": "Mux JWT Signing Key (optional)",
56+
"description": "Your Mux JWT Signing Key. This is used for signing JWTs for secure video playback.",
57+
"required": false,
58+
"type": "string"
59+
},
60+
"MUX_PRIVATE_KEY": {
61+
"title": "Mux JWT Private Key (optional)",
62+
"description": "Your Mux JWT Private Key. This is used for signing JWTs for secure video playback.",
63+
"required": false,
64+
"type": "string"
65+
}
66+
},
67+
"tools_generated": true,
68+
"compatibility": {
69+
"claude_desktop": ">=0.11.6",
70+
"platforms": ["darwin", "win32", "linux"],
71+
"runtimes": {
72+
"node": ">=18.0.0"
73+
}
74+
},
75+
"categories": ["media", "api", "video"],
76+
"keywords": ["mux", "video", "data", "streaming", "api", "transcoding", "analytics", "media"],
77+
"security": {
78+
"permissions": ["network"],
79+
"sandboxed": false
80+
}
81+
}

packages/mcp-server/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mux/mcp",
3-
"version": "12.0.1",
3+
"version": "12.1.0",
44
"description": "The official MCP Server for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",
@@ -38,6 +38,7 @@
3838
"mcp-server": "dist/index.js"
3939
},
4040
"devDependencies": {
41+
"@anthropic-ai/dxt": "^0.2.0",
4142
"@types/jest": "^29.4.0",
4243
"@typescript-eslint/eslint-plugin": "8.31.1",
4344
"@typescript-eslint/parser": "8.31.1",
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
const fs = require('fs');
2+
const path = require('path');
3+
4+
async function main() {
5+
const manifestPath = path.join(__dirname, '../dxt/manifest.json');
6+
const manifest = JSON.parse(fs.readFileSync(manifestPath, 'utf8'));
7+
8+
const pkgPath = path.join(__dirname, '../package.json');
9+
const pkg = JSON.parse(fs.readFileSync(pkgPath, 'utf8'));
10+
11+
if (manifest.version === pkg.version) {
12+
console.log(`↔️ DXT version is already up-to-date: ${manifest.version}`);
13+
return;
14+
}
15+
16+
manifest.version = pkg.version;
17+
18+
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2), 'utf8');
19+
20+
console.log(`⬆️ DXT version updated: ${manifest.version}`);
21+
}
22+
23+
main().catch((error) => {
24+
console.error('❌ Error updating DXT version:', error);
25+
process.exit(1);
26+
});

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export { endpoints } from './tools';
2626
export const server = new McpServer(
2727
{
2828
name: 'mux',
29-
version: '12.0.1',
29+
version: '12.1.0',
3030
},
3131
{
3232
capabilities: {

0 commit comments

Comments
 (0)