package.jsonโข1.94 kB
{
"name": "mcp-typescript-starter",
"version": "1.0.0",
"description": "A minimalistic MCP server demonstrating tools, resources, and prompts",
"main": "index.js",
"type": "module",
"scripts": {
"test": "node --test \"tests/**/*.test.ts\"",
"test:watch": "node --test --watch \"tests/**/*.test.ts\"",
"build": "rm -rf build && tsc && chmod 755 build/index.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"inspect": "npm run build && npx @modelcontextprotocol/inspector node build/index.js",
"inspect:http": "npm run build && npx @modelcontextprotocol/inspector http://localhost:3000/mcp",
"dev": "npm run build && node dev",
"serve:stdio": "npm run build && STARTER_TRANSPORT=stdio node build/index.js",
"serve:http": "npm run build && STARTER_TRANSPORT=http PORT=3000 node build/index.js",
"gen:tool": "hygen tool new",
"gen:prompt": "hygen prompt new",
"gen:resource": "hygen resource new",
"knip": "knip",
"knip:production": "knip --production",
"knip:fix": "knip --fix"
},
"keywords": [
"mcp",
"hello-world",
"example",
"tutorial"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=20.11.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.18.2",
"cors": "^2.8.5",
"dotenv": "^17.2.3",
"express": "^5.1.0",
"fast-glob": "^3.3.3",
"zod": "^3.25.0"
},
"devDependencies": {
"@eslint/js": "^9.37.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.3",
"@types/node": "^24.7.0",
"@typescript-eslint/parser": "^8.46.0",
"eslint": "^9.37.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-sonarjs": "^3.0.5",
"hygen": "^6.2.11",
"knip": "^5.64.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.0"
},
"bin": {
"mcp-hello-world": "./build/index.js"
},
"files": [
"build"
]
}