chore: update dependencies and improve type safety in mcp routes

- Updated @modelcontextprotocol/sdk to version 1.22.0 and @nuxt/content to 3.8.2.
- Upgraded zod to version 4.1.12 for better type inference.
- Updated wrangler to version 4.48.0.
- Refactored mcp.ts to use zod for input schema validation with explicit types for language arguments.
This commit is contained in:
2025-11-14 17:27:08 +01:00
parent d7ddcd5f6b
commit 025820a85d
3 changed files with 28 additions and 36 deletions

View File

@@ -12,23 +12,22 @@
"lint": "eslint ."
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.21.1",
"@nuxt/content": "3.8.0",
"@modelcontextprotocol/sdk": "1.22.0",
"@nuxt/content": "3.8.2",
"@nuxt/eslint": "1.10.0",
"@nuxthub/core": "^0.9.0",
"ai": "^6.0.0-beta.99",
"better-sqlite3": "^12.4.1",
"nuxt": "4.2.1",
"vue": "3.5.24",
"vue-router": "4.6.3",
"zod": "3"
"zod": "^4.1.12"
},
"devDependencies": {
"@nuxt/eslint-config": "1.10.0",
"eslint": "9.39.1",
"typescript": "5.9.3",
"vue-tsc": "3.1.3",
"wrangler": "4.47.0"
"wrangler": "4.48.0"
},
"packageManager": "pnpm@10.12.1",
"pnpm": {