Skip to content

Commit b179d33

Browse files
committed
Bump to 1.5.4 and upgrade dependencies
- Replace rimraf with shx in package.json - Add cross-env to support cross platform environment variables - Update server.json to match latest version of schema - Update MCP Registry publish workflow to use latest version of MCP Publisher - Upgrade package manager
1 parent c00a331 commit b179d33

File tree

7 files changed

+257
-381
lines changed

7 files changed

+257
-381
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- name: Install MCP Publisher
2020
run: |
21-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.1.0/mcp-publisher_1.1.0_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
21+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
2222
2323
- name: Login to MCP Registry
2424
run: ./mcp-publisher login github-oidc

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ FROM node:22-alpine AS release
2828

2929
LABEL org.opencontainers.image.title="HackMD MCP"
3030
LABEL org.opencontainers.image.description="A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants."
31-
LABEL org.opencontainers.image.version="1.5.3"
31+
LABEL org.opencontainers.image.version="1.5.4"
3232

3333
LABEL org.opencontainers.image.vendor="yuna0x0"
3434
LABEL org.opencontainers.image.authors="yuna0x0 <[email protected]>"

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function parseConfig(req: Request): { config?: any; error?: any } {
122122
function createServer({ config }: { config: z.infer<typeof ConfigSchema> }) {
123123
const server = new McpServer({
124124
name: "hackmd-mcp",
125-
version: "1.5.3",
125+
version: "1.5.4",
126126
});
127127

128128
// 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.2",
33
"name": "hackmd-mcp",
44
"display_name": "HackMD MCP",
5-
"version": "1.5.3",
5+
"version": "1.5.4",
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: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"module": "index.ts",
66
"type": "module",
77
"license": "MIT",
8-
"version": "1.5.3",
8+
"version": "1.5.4",
99
"author": "yuna0x0 <[email protected]>",
1010
"repository": {
1111
"type": "git",
@@ -18,36 +18,36 @@
1818
"dist"
1919
],
2020
"scripts": {
21-
"clean": "rimraf 'dist/'",
21+
"clean": "shx rm -rf dist",
2222
"build": "pnpm run clean && tsc && shx chmod +x dist/*.js",
2323
"prepare": "pnpm run build",
2424
"start": "pnpm run start:http",
25-
"start:http": "pnpm run build && TRANSPORT=http node dist/index.js",
25+
"start:http": "pnpm run build && cross-env TRANSPORT=http node dist/index.js",
2626
"start:stdio": "pnpm run build && node dist/index.js",
2727
"dev": "pnpm run dev:http",
28-
"dev:http": "TRANSPORT=http tsx index.ts",
28+
"dev:http": "cross-env TRANSPORT=http tsx index.ts",
2929
"dev:stdio": "tsx index.ts",
3030
"inspector": "pnpm run build && mcp-inspector node dist/index.js",
3131
"watch": "tsc --watch",
3232
"pack:mcpb": "pnpm install --shamefully-hoist && mcpb pack"
3333
},
3434
"dependencies": {
3535
"@hackmd/api": "^2.5.0",
36-
"@modelcontextprotocol/sdk": "^1.18.2",
36+
"@modelcontextprotocol/sdk": "^1.20.1",
3737
"cors": "^2.8.5",
38-
"dotenv": "^17.2.2",
38+
"dotenv": "^17.2.3",
3939
"express": "^5.1.0",
4040
"zod": "^3.25.76"
4141
},
4242
"devDependencies": {
4343
"@anthropic-ai/mcpb": "^1.1.1",
44-
"@modelcontextprotocol/inspector": "^0.16.8",
44+
"@modelcontextprotocol/inspector": "^0.17.1",
4545
"@types/cors": "^2.8.19",
4646
"@types/express": "^5.0.3",
47-
"rimraf": "^6.0.1",
47+
"cross-env": "^10.1.0",
4848
"shx": "^0.4.0",
4949
"tsx": "^4.20.6",
50-
"typescript": "^5.9.2"
50+
"typescript": "^5.9.3"
5151
},
5252
"engines": {
5353
"node": ">=18.0.0"
@@ -60,5 +60,5 @@
6060
"llm",
6161
"mcp-server"
6262
],
63-
"packageManager": "pnpm@10.17.1+sha512.17c560fca4867ae9473a3899ad84a88334914f379be46d455cbf92e5cf4b39d34985d452d2583baf19967fa76cb5c17bc9e245529d0b98745721aa7200ecaf7a"
63+
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d"
6464
}

0 commit comments

Comments
 (0)