Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

FROM oven/bun:1.2-alpine

WORKDIR /app

COPY package.json bun.lock ./

RUN bun install --production

COPY . .

RUN bun run build

ARG PORT=3000

ENV PORT=${PORT}

EXPOSE ${PORT}

CMD [ "bun", "run", "start:http" ]
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
"version:major": "npm version major",
"release": "npm publish",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"changelog:latest": "conventional-changelog -p angular -r 1 > RELEASE_NOTES.md"
"changelog:latest": "conventional-changelog -p angular -r 1 > RELEASE_NOTES.md",
"docker:build": "docker build -t typescript-mcp-server-template .",
"docker:run": "docker run --name typescript-mcp-server-template -p 3000:3000 --env-file .env typescript-mcp-server-template",
"docker:stop": "docker stop typescript-mcp-server-template"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -59,20 +62,21 @@
},
"homepage": "https://github.com/mcpdotdirect/template-mcp-server#readme",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "latest",
"@types/cors": "^2.8.17",
"@types/node": "^20.17.24",
"@types/cors": "^2.8.19",
"@types/node": "^20.19.0",
"conventional-changelog-cli": "^5.0.0"
},
"peerDependencies": {
"@valibot/to-json-schema": "^1.0.0",
"effect": "^3.14.4",
"typescript": "^5.8.2"
"@valibot/to-json-schema": "^1.3.0",
"effect": "^3.16.5",
"typescript": "^5.8.3"
},
"dependencies": {
"cors": "^2.8.5",
"fastmcp": "^1.21.0",
"zod": "^3.24.2"
"fastmcp": "^1.27.7",
"zod": "^3.25.56"
},
"engines": {
"node": ">=18.0.0"
Expand Down