Skip to content

Commit 35af63c

Browse files
committed
Bump to 1.4.2 and upgrade dependencies
Update MCP Registry server.json and GitHub workflow Add labels to Docker image
1 parent a3f2f73 commit 35af63c

File tree

9 files changed

+523
-100
lines changed

9 files changed

+523
-100
lines changed

.github/workflows/mcp-registry-publish.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ jobs:
1313
id-token: write # Required for OIDC
1414
contents: read
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717

18-
- name: Setup MCP Publisher
18+
- name: Install MCP Publisher
1919
run: |
20-
curl -LO https://github.com/yuna0x0/mcp-registry/releases/latest/download/mcp-publisher-linux-amd64
21-
chmod +x mcp-publisher-linux-amd64
20+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.0.0/mcp-publisher_1.0.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
2221
23-
- name: Login to Registry
24-
run: ./mcp-publisher-linux-amd64 login github-oidc
22+
- name: Login to MCP Registry
23+
run: ./mcp-publisher login github-oidc
2524

26-
- name: Publish to Registry
27-
run: ./mcp-publisher-linux-amd64 publish
25+
- name: Publish to MCP Registry
26+
run: ./mcp-publisher publish

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
id-token: write
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Install pnpm
2020
uses: pnpm/action-setup@v4
2121
with:
2222
run_install: false
2323

2424
- name: Install Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v5
2626
with:
2727
node-version: 22
2828
cache: "pnpm"

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ RUN pnpm run build
2525

2626
FROM node:22-alpine AS release
2727

28+
LABEL org.opencontainers.image.title="HackMD MCP"
29+
LABEL org.opencontainers.image.description="A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants."
30+
LABEL org.opencontainers.image.version="1.4.2"
31+
32+
LABEL org.opencontainers.image.vendor="yuna0x0"
33+
LABEL org.opencontainers.image.authors="yuna0x0 <yuna@yuna0x0.com>"
34+
LABEL org.opencontainers.image.url="https://github.com/yuna0x0/hackmd-mcp"
35+
LABEL org.opencontainers.image.source="https://github.com/yuna0x0/hackmd-mcp"
36+
LABEL org.opencontainers.image.licenses="MIT"
37+
38+
LABEL io.modelcontextprotocol.server.name="io.github.yuna0x0/hackmd-mcp"
39+
2840
RUN addgroup -g 1001 -S hackmd-mcp && \
2941
adduser -S hackmd-mcp -u 1001 -G hackmd-mcp
3042

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ Docker multi-platform build (Local Development):
198198
docker buildx build --platform linux/amd64,linux/arm64 -t yuna0x0/hackmd-mcp .
199199
```
200200

201+
## MCP Bundles (MCPB)
202+
203+
To create an MCP Bundle for this server, run:
204+
```bash
205+
pnpm run pack:mcpb
206+
```
207+
201208
## Security Notice
202209

203210
This MCP server accepts your HackMD API token in the .env file, environment variable or HTTP header. Keep this information secure and never commit it to version control.

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function parseConfig(req: Request) {
8585
function createServer({ config }: { config: z.infer<typeof ConfigSchema> }) {
8686
const server = new McpServer({
8787
name: "hackmd-mcp",
88-
version: "1.4.1",
88+
version: "1.4.2",
8989
});
9090

9191
// Initialize HackMD API client with config

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": "0.1",
33
"name": "hackmd-mcp",
44
"display_name": "HackMD MCP",
5-
"version": "1.4.1",
5+
"version": "1.4.2",
66
"description": "A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.",
77
"author": {
88
"name": "yuna0x0",

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "hackmd-mcp",
3+
"mcpName": "io.github.yuna0x0/hackmd-mcp",
34
"description": "A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.",
45
"module": "index.ts",
56
"type": "module",
67
"license": "MIT",
7-
"version": "1.4.1",
8+
"version": "1.4.2",
89
"author": "yuna0x0 <yuna@yuna0x0.com>",
910
"repository": {
1011
"type": "git",
@@ -27,18 +28,20 @@
2728
"dev:http": "TRANSPORT=http tsx index.ts",
2829
"dev:stdio": "tsx index.ts",
2930
"inspector": "pnpm run build && mcp-inspector node dist/index.js",
30-
"watch": "tsc --watch"
31+
"watch": "tsc --watch",
32+
"pack:mcpb": "mcpb pack"
3133
},
3234
"dependencies": {
3335
"@hackmd/api": "^2.5.0",
34-
"@modelcontextprotocol/sdk": "^1.17.5",
36+
"@modelcontextprotocol/sdk": "^1.18.0",
3537
"cors": "^2.8.5",
3638
"dotenv": "^17.2.2",
3739
"express": "^5.1.0",
3840
"zod": "^3.25.76"
3941
},
4042
"devDependencies": {
41-
"@modelcontextprotocol/inspector": "^0.16.2",
43+
"@anthropic-ai/mcpb": "^1.1.0",
44+
"@modelcontextprotocol/inspector": "^0.16.7",
4245
"@types/cors": "^2.8.19",
4346
"@types/express": "^5.0.3",
4447
"rimraf": "^6.0.1",
@@ -57,5 +60,5 @@
5760
"llm",
5861
"mcp-server"
5962
],
60-
"packageManager": "pnpm@10.15.1+sha512.34e538c329b5553014ca8e8f4535997f96180a1d0f614339357449935350d924e22f8614682191264ec33d1462ac21561aff97f6bb18065351c162c7e8f6de67"
63+
"packageManager": "pnpm@10.16.0+sha512.8066e7b034217b700a9a4dbb3a005061d641ba130a89915213a10b3ca4919c19c037bec8066afdc559b89635fdb806b16ea673f2468fbb28aabfa13c53e3f769"
6164
}

0 commit comments

Comments
 (0)