xmcp
Version:
The TypeScript MCP framework
183 lines • 4.9 kB
JSON
{
"name": "xmcp",
"description": "The TypeScript MCP framework",
"version": "1.9.0",
"author": {
"name": "xmcp",
"email": "support@xmcp.dev",
"url": "https://xmcp.dev"
},
"contributors": [
{
"name": "Valentina Bearzotti",
"email": "valebearzotti1@gmail.com",
"url": "https://github.com/valebearzotti"
},
{
"name": "Jose Rago",
"email": "jose@basement.studio",
"url": "https://github.com/ragojose"
}
],
"license": "MIT",
"keywords": [
"mcp",
"modelcontextprotocol",
"http",
"stdio"
],
"repository": {
"type": "git",
"url": "https://github.com/basementstudio/xmcp"
},
"homepage": "https://xmcp.dev",
"type": "commonjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"xmcp": "dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js",
"default": "./dist/index.js"
},
"./node": {
"types": "./dist/node.d.ts",
"node": "./dist/node.js"
},
"./host-bridge": {
"types": "./dist/host-bridge.d.ts",
"import": "./dist/host-bridge.js",
"require": "./dist/host-bridge.js",
"default": "./dist/host-bridge.js"
},
"./headers": {
"types": "./dist/runtime/headers.d.ts",
"require": "./dist/runtime/headers.js",
"default": "./dist/runtime/headers.js"
},
"./cloudflare": {
"types": "./dist/cloudflare.d.ts",
"import": "./dist/cloudflare.js",
"require": "./dist/cloudflare.js",
"default": "./dist/cloudflare.js"
},
"./config": {
"types": "./dist/config/index.d.ts",
"import": "./dist/config.js",
"require": "./dist/config.js",
"default": "./dist/config.js"
},
"./package.json": "./package.json",
"./client": {
"types": "./dist/client.d.ts",
"node": "./dist/client.js"
}
},
"typesVersions": {
"*": {
"node": [
"dist/node.d.ts"
],
"host-bridge": [
"dist/host-bridge.d.ts"
],
"headers": [
"dist/runtime/headers.d.ts"
],
"cloudflare": [
"dist/cloudflare.d.ts"
],
"config": [
"dist/config/index.d.ts"
],
"client": [
"dist/client.d.ts"
]
}
},
"files": [
"dist"
],
"dependencies": {},
"devDependencies": {
"@modelcontextprotocol/client": "^2.2.0",
"@modelcontextprotocol/node": "^2.0.0",
"@modelcontextprotocol/server": "^2.3.0",
"@nestjs/common": "^11.1.12",
"@rspack/core": "^1.6.7",
"@types/async-retry": "^1.4.9",
"@types/content-type": "^1.1.9",
"@types/express": "^5.0.6",
"@types/fs-extra": "^11.0.4",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^22.19.2",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"async-retry": "^1.3.3",
"chalk": "^5.6.2",
"chokidar": "^3.6.0",
"ci-info": "^4.3.1",
"commander": "^11.1.0",
"content-type": "^1.0.5",
"cross-env": "^7.0.3",
"del": "^7.1.0",
"dotenv": "^16.6.1",
"express": "^4.22.1",
"fastify": "^5.12.6",
"fs-extra": "^11.3.2",
"glob": "^11.1.0",
"is-docker": "^4.0.0",
"is-wsl": "^3.1.0",
"jose": "^6.1.3",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.3",
"memfs": "^4.51.1",
"postcss-loader": "^8.2.0",
"raw-body": "^3.0.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"ts-checker-rspack-plugin": "^1.2.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"zod-to-json-schema": "^3.25.0"
},
"peerDependencies": {
"@modelcontextprotocol/client": "^2.2.0",
"@modelcontextprotocol/server": "^2.3.0",
"jose": "^6.1.3",
"react": ">=19.0.0",
"react-dom": ">=19.0.0",
"zod": "^3.25.76 || ^4.0.0"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/client": {
"optional": true
},
"@modelcontextprotocol/server": {
"optional": true
},
"jose": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"scripts": {
"dev": "cross-env NODE_ENV=development tsx --watch --tsconfig ./bundler.tsconfig.json ./bundler/index.ts",
"build": "cross-env NODE_ENV=production tsx --tsconfig ./bundler.tsconfig.json ./bundler/index.ts",
"analyze": "cross-env GENERATE_STATS=true pnpm build && pnpm tsx scripts/analyze-rspack-stats.ts",
"bench": "tsx bench/run.mts",
"test:config": "pnpm --dir ../compiler test:config",
"test:adapters": "node --import tsx --test src/runtime/adapters/*/__tests__/*.test.ts",
"test:runtime": "node --import tsx --test src/runtime/utils/__tests__/*.test.ts src/runtime/utils/ui/__tests__/*.test.ts",
"test:client": "node --import tsx --test src/client/__tests__/*.test.ts"
}
}