Skip to content

Commit f94b580

Browse files
release: 12.6.1 (#607)
* chore: update CI script * redirect browser request to docs for mcp.mux.com (#608) * release: 12.6.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Justin Sanford <[email protected]>
1 parent bcf4b96 commit f94b580

File tree

9 files changed

+28
-6
lines changed

9 files changed

+28
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ jobs:
6868
AUTH: ${{ steps.github-oidc.outputs.github_token }}
6969
SHA: ${{ github.sha }}
7070
run: ./scripts/utils/upload-artifact.sh
71+
72+
- name: Upload MCP Server tarball
73+
if: github.repository == 'stainless-sdks/mux-node'
74+
env:
75+
URL: https://pkg.stainless.com/s?subpackage=mcp-server
76+
AUTH: ${{ steps.github-oidc.outputs.github_token }}
77+
SHA: ${{ github.sha }}
78+
BUILD_PATH: packages/mcp-server/dist
79+
run: ./scripts/utils/upload-artifact.sh
7180
test:
7281
timeout-minutes: 10
7382
name: test

.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.0"
2+
".": "12.6.1"
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.6.1 (2025-08-22)
4+
5+
Full Changelog: [v12.6.0...v12.6.1](https://github.com/muxinc/mux-node-sdk/compare/v12.6.0...v12.6.1)
6+
7+
### Chores
8+
9+
* update CI script ([41acbcb](https://github.com/muxinc/mux-node-sdk/commit/41acbcbf10059cfeae1b7004eb3203ba6681e344))
10+
311
## 12.6.0 (2025-08-21)
412

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

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.0",
3+
"version": "12.6.1",
44
"description": "The official TypeScript library for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",

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.0",
3+
"version": "12.6.1",
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
@@ -80,6 +80,11 @@ const post = (defaultOptions: McpOptions) => async (req: express.Request, res: e
8080
};
8181

8282
const get = async (req: express.Request, res: express.Response) => {
83+
if (req.headers['sec-fetch-dest'] === 'document') {
84+
res.redirect('https://www.mux.com/docs/integrations/mcp-server');
85+
return;
86+
}
87+
8388
res.status(405).json({
8489
jsonrpc: '2.0',
8590
error: {

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.0',
35+
version: '12.6.1',
3636
},
3737
{ capabilities: { tools: {}, logging: {} } },
3838
);

scripts/utils/upload-artifact.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ "$SIGNED_URL" == "null" ]]; then
1212
exit 1
1313
fi
1414

15-
UPLOAD_RESPONSE=$(tar -cz dist | curl -v -X PUT \
15+
UPLOAD_RESPONSE=$(tar -cz "${BUILD_PATH:-dist}" | curl -v -X PUT \
1616
-H "Content-Type: application/gzip" \
1717
--data-binary @- "$SIGNED_URL" 2>&1)
1818

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '12.6.0'; // x-release-please-version
1+
export const VERSION = '12.6.1'; // x-release-please-version

0 commit comments

Comments
 (0)