Compare commits

..

4 commits

Author SHA1 Message Date
Glen Maddern
8aee4fc82f 0.1.5 2025-05-14 21:24:02 +10:00
Glen Maddern
f668a9b5e1 Picking a default port based on the server hash 2025-05-14 21:21:38 +10:00
Glen Maddern
5c3e4057b1 remove client info on conflict 2025-05-14 21:10:35 +10:00
Glen Maddern
97be4fadf9 Updated SDK version 2025-05-14 20:53:40 +10:00
3 changed files with 13 additions and 20 deletions

View file

@ -1,12 +1,11 @@
name: Publish Any Commit
on:
workflow_dispatch:
pull_request:
push:
branches:
- "**"
tags:
- "v*"
- "!**"
jobs:
build:
@ -16,18 +15,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Add git.kvant.cloud scope
run: npm config set @kvant:registry=https://git.kvant.cloud/api/packages/${{ github.repository_owner }}/npm/
- name: Login to git.kvant.cloud npm
run: npm config set -- '//git.kvant.cloud/api/packages/${{ github.repository_owner }}/npm/:_authToken' "${{ secrets.PHOENIX_PACKAGE_WRITER_TOKEN }}"
- name: Setup pnpm & install
uses: https://github.com/wyvox/action-setup-pnpm@v3
uses: wyvox/action-setup-pnpm@v3
with:
node-version: 22
pnpm-version: 10
- name: Build
run: pnpm build
- run: pnpm dlx publish --compact --bin
- run: pnpm dlx pkg-pr-new publish --compact --bin

View file

@ -46,11 +46,11 @@ To bypass authentication, or to emit custom headers on all requests to your remo
"https://remote.mcp.server/sse",
"--header",
"Authorization: Bearer ${AUTH_TOKEN}"
],
"env": {
"AUTH_TOKEN": "..."
}
]
},
"env": {
"AUTH_TOKEN": "..."
}
}
}
```
@ -65,11 +65,11 @@ To bypass authentication, or to emit custom headers on all requests to your remo
"https://remote.mcp.server/sse",
"--header",
"Authorization:${AUTH_HEADER}" // note no spaces around ':'
],
"env": {
"AUTH_HEADER": "Bearer <auth-token>" // spaces OK in env vars
}
]
},
"env": {
"AUTH_HEADER": "Bearer <auth-token>" // spaces OK in env vars
}
```
### Flags

View file

@ -1,5 +1,5 @@
{
"name": "@kvant/mcp-remote",
"name": "mcp-remote",
"version": "0.1.5",
"description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth",
"keywords": [
@ -31,7 +31,6 @@
"express": "^4.21.2",
"open": "^10.1.0"
},
"packageManager": "pnpm@10.11.0",
"devDependencies": {
"@modelcontextprotocol/sdk": "^1.11.2",
"@types/express": "^5.0.0",