@nestjs-mcp/server
Version:
Modular library for building scalable MCP servers with NestJS, providing decorators and integration patterns as a wrapper for the official MCP TypeScript SDK.
136 lines (135 loc) • 3.68 kB
JSON
{
"name": "@nestjs-mcp/server",
"version": "0.3.0",
"description": "Modular library for building scalable MCP servers with NestJS, providing decorators and integration patterns as a wrapper for the official MCP TypeScript SDK.",
"author": "Adrián Darío Hidalgo Flores",
"license": "MIT",
"engines": {
"node": ">=22",
"pnpm": ">=10"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/adrian-d-hidalgo/nestjs-mcp-server.git"
},
"homepage": "https://github.com/adrian-d-hidalgo/nestjs-mcp-server#readme",
"bugs": {
"url": "https://github.com/adrian-d-hidalgo/nestjs-mcp-server/issues"
},
"keywords": [
"decorators",
"integration",
"large-language-models",
"llm",
"mcp",
"model-context-protocol",
"module",
"nestjs",
"npm",
"pnpm",
"sdk",
"server",
"typescript",
"yarn"
],
"scripts": {
"build": "nest build",
"prepare": "is-ci || husky",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:example": "npx -y ts-node-dev --respawn examples/$EXAMPLE/main.ts",
"start:inspector": "npx -y @modelcontextprotocol/inspector",
"lint": "eslint \"{src,test,examples}/**/*.ts\" --fix",
"typecheck": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"test:publish": "node scripts/test-npm-publish.js",
"npm:publish": "node scripts/npm-publish.js"
},
"peerDependencies": {
"@nestjs/common": "^11.0.1",
"@nestjs/core": "^11.0.1",
"@nestjs/platform-express": "^11.0.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.11.1",
"zod": "^3.24.4"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/types": "^19.8.1",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/config": "^4.0.2",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.10.7",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/supertest": "^6.0.2",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"globals": "^16.0.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"statements": 50,
"branches": 25,
"functions": 40,
"lines": 50
}
},
"coveragePathIgnorePatterns": [
"/index\\.ts$",
"\\.interface\\.ts$",
"\\.types\\.ts$"
]
}
}