Compare commits
14 commits
better-por
...
main
Author | SHA1 | Date | |
---|---|---|---|
d1cb48f770 | |||
a63b93aa5c | |||
d8ce274506 | |||
a7a76d3f17 | |||
27907a4624 | |||
0213c20d3d | |||
4f6de14fbc | |||
675dc6a760 | |||
8f83b18966 | |||
|
7eecc9ca3f | ||
|
5199279ea7 | ||
|
b1dfa9fe5b | ||
|
6f2399bbfb | ||
|
e5cdf08bc8 |
3 changed files with 20 additions and 13 deletions
14
.github/workflows/publish.yml
vendored
14
.github/workflows/publish.yml
vendored
|
@ -1,11 +1,12 @@
|
||||||
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:
|
||||||
|
@ -15,13 +16,18 @@ 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: wyvox/action-setup-pnpm@v3
|
uses: https://github.com/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 pkg-pr-new publish --compact --bin
|
- run: pnpm dlx 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": {
|
||||||
"env": {
|
|
||||||
"AUTH_HEADER": "Bearer <auth-token>" // spaces OK in env vars
|
"AUTH_HEADER": "Bearer <auth-token>" // spaces OK in env vars
|
||||||
}
|
}
|
||||||
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "mcp-remote",
|
"name": "@kvant/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,6 +31,7 @@
|
||||||
"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