feat: initialize TypeScript MCP project with Bun

- Configure package.json and tsconfig.json using Bun bundler settings

- Install @modelcontextprotocol/sdk and zod

- Add src/index.ts entry stub and tests/smoke.test.ts using bun:test

- Update .gitignore to exclude .bun/
This commit is contained in:
Lucas Winther
2026-09-05 16:35:49 +02:00
parent 27c7e9a8b9
commit 003737d927
6 changed files with 286 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"allowJs": true,
"types": ["bun"],
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Developer ergonomic options
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
},
"include": ["src/**/*", "tests/**/*"]
}