Compare commits
4 commits
main
...
better-por
Author | SHA1 | Date | |
---|---|---|---|
|
8aee4fc82f | ||
|
f668a9b5e1 | ||
|
5c3e4057b1 | ||
|
97be4fadf9 |
3 changed files with 13 additions and 20 deletions
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
|
@ -1,12 +1,11 @@
|
||||||
name: Publish Any Commit
|
name: Publish Any Commit
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "!**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -16,18 +15,13 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Setup pnpm & install
|
||||||
uses: https://github.com/wyvox/action-setup-pnpm@v3
|
uses: wyvox/action-setup-pnpm@v3
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
pnpm-version: 10
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|
||||||
- run: pnpm dlx publish --compact --bin
|
- run: pnpm dlx pkg-pr-new publish --compact --bin
|
||||||
|
|
12
README.md
12
README.md
|
@ -46,11 +46,11 @@ To bypass authentication, or to emit custom headers on all requests to your remo
|
||||||
"https://remote.mcp.server/sse",
|
"https://remote.mcp.server/sse",
|
||||||
"--header",
|
"--header",
|
||||||
"Authorization: Bearer ${AUTH_TOKEN}"
|
"Authorization: Bearer ${AUTH_TOKEN}"
|
||||||
],
|
]
|
||||||
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"AUTH_TOKEN": "..."
|
"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",
|
"https://remote.mcp.server/sse",
|
||||||
"--header",
|
"--header",
|
||||||
"Authorization:${AUTH_HEADER}" // note no spaces around ':'
|
"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
|
### Flags
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@kvant/mcp-remote",
|
"name": "mcp-remote",
|
||||||
"version": "0.1.5",
|
"version": "0.1.5",
|
||||||
"description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth",
|
"description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -31,7 +31,6 @@
|
||||||
"express": "^4.21.2",
|
"express": "^4.21.2",
|
||||||
"open": "^10.1.0"
|
"open": "^10.1.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.11.0",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.11.2",
|
"@modelcontextprotocol/sdk": "^1.11.2",
|
||||||
"@types/express": "^5.0.0",
|
"@types/express": "^5.0.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue