Skip to content

Commit 5dd9987

Browse files
committed
Prepare GitHub Packages publish and sync npm metadata
1 parent 04b9da6 commit 5dd9987

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Publish GitHub Package
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types:
7+
- published
8+
9+
permissions:
10+
contents: read
11+
packages: write
12+
13+
jobs:
14+
publish:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
registry-url: https://npm.pkg.github.com
23+
scope: "@devwebxyn"
24+
25+
- run: npm ci
26+
- run: npm run build
27+
28+
- name: Rewrite package metadata for GitHub Packages
29+
run: |
30+
node -e "const fs=require('node:fs'); const pkg=JSON.parse(fs.readFileSync('package.json','utf8')); pkg.name='@devwebxyn/securemcp-lite'; pkg.publishConfig={registry:'https://npm.pkg.github.com'}; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');"
31+
32+
- name: Publish package to GitHub Packages
33+
run: npm publish
34+
env:
35+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<strong>Protect MCP tool calls before they reach the target server.</strong>
1515
</p>
1616

17+
<p align="center">
18+
Maintained by <strong>Samuel Indra Bastian</strong>.
19+
</p>
20+
1721
## What this is
1822

1923
SecureMCP-Lite is a lightweight local proxy firewall for MCP servers. It sits between an MCP client and a target MCP server, inspects stdio JSON-RPC traffic in real time, and enforces a local YAML policy before risky tool calls reach the upstream server.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"name": "securemcp-lite",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A lightweight local proxy firewall for MCP servers with YAML policy enforcement.",
55
"type": "commonjs",
66
"license": "MIT",
7-
"author": "Samuel Indra Bastian",
7+
"author": "Samuel Indra Bastian <mesakzitumpul@gmail.com> (https://github.com/devwebxyn)",
8+
"contributors": [
9+
"Samuel Indra Bastian <mesakzitumpul@gmail.com> (https://github.com/devwebxyn)"
10+
],
811
"sideEffects": false,
912
"workspaces": [
1013
"apps/frontend"

0 commit comments

Comments
 (0)