{
    "name": "@modelcontextprotocol/sdk",
    "version": "1.30.0",
    "description": "Model Context Protocol implementation for TypeScript",
    "license": "MIT",
    "author": "Anthropic, PBC (https://anthropic.com)",
    "homepage": "https://modelcontextprotocol.io",
    "bugs": "https://github.com/modelcontextprotocol/typescript-sdk/issues",
    "type": "module",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/modelcontextprotocol/typescript-sdk.git"
    },
    "engines": {
        "node": ">=18"
    },
    "keywords": [
        "modelcontextprotocol",
        "mcp"
    ],
    "exports": {
        ".": {
            "types": "./dist/esm/index.d.ts",
            "import": "./dist/esm/index.js",
            "require": "./dist/cjs/index.js"
        },
        "./client": {
            "types": "./dist/esm/client/index.d.ts",
            "import": "./dist/esm/client/index.js",
            "require": "./dist/cjs/client/index.js"
        },
        "./server": {
            "types": "./dist/esm/server/index.d.ts",
            "import": "./dist/esm/server/index.js",
            "require": "./dist/cjs/server/index.js"
        },
        "./validation": {
            "types": "./dist/esm/validation/index.d.ts",
            "import": "./dist/esm/validation/index.js",
            "require": "./dist/cjs/validation/index.js"
        },
        "./validation/ajv": {
            "types": "./dist/esm/validation/ajv-provider.d.ts",
            "import": "./dist/esm/validation/ajv-provider.js",
            "require": "./dist/cjs/validation/ajv-provider.js"
        },
        "./validation/cfworker": {
            "types": "./dist/esm/validation/cfworker-provider.d.ts",
            "import": "./dist/esm/validation/cfworker-provider.js",
            "require": "./dist/cjs/validation/cfworker-provider.js"
        },
        "./experimental": {
            "types": "./dist/esm/experimental/index.d.ts",
            "import": "./dist/esm/experimental/index.js",
            "require": "./dist/cjs/experimental/index.js"
        },
        "./experimental/tasks": {
            "types": "./dist/esm/experimental/tasks/index.d.ts",
            "import": "./dist/esm/experimental/tasks/index.js",
            "require": "./dist/cjs/experimental/tasks/index.js"
        },
        "./*": {
            "types": "./dist/esm/*.d.ts",
            "import": "./dist/esm/*",
            "require": "./dist/cjs/*"
        }
    },
    "typesVersions": {
        "*": {
            "*": [
                "./dist/esm/*"
            ]
        }
    },
    "files": [
        "dist"
    ],
    "scripts": {
        "fetch:spec-types": "tsx scripts/fetch-spec-types.ts",
        "typecheck": "tsgo --noEmit",
        "build": "npm run build:esm && npm run build:cjs",
        "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json",
        "build:esm:w": "npm run build:esm -- -w",
        "build:cjs": "mkdir -p dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && tsc -p tsconfig.cjs.json",
        "build:cjs:w": "npm run build:cjs -- -w",
        "examples:simple-server:w": "tsx --watch src/examples/server/simpleStreamableHttp.ts --oauth",
        "prepack": "npm run build:esm && npm run build:cjs",
        "lint": "eslint src/ && prettier --check .",
        "lint:fix": "eslint src/ --fix && prettier --write .",
        "check": "npm run typecheck && npm run lint",
        "test": "vitest run --exclude \"test/e2e/**\"",
        "test:e2e": "vitest run test/e2e",
        "test:watch": "vitest",
        "start": "npm run server",
        "server": "tsx watch --clear-screen=false scripts/cli.ts server",
        "client": "tsx scripts/cli.ts client",
        "test:conformance:server": "test/conformance/scripts/run-server-conformance.sh --expected-failures test/conformance/conformance-baseline.yml",
        "test:conformance:server:all": "test/conformance/scripts/run-server-conformance.sh --suite all --expected-failures test/conformance/conformance-baseline.yml",
        "test:conformance:server:run": "npx tsx test/conformance/src/everythingServer.ts",
        "test:conformance:client": "npx @modelcontextprotocol/conformance client --command 'npx tsx test/conformance/src/everythingClient.ts' --expected-failures test/conformance/conformance-baseline.yml",
        "test:conformance:client:all": "npx @modelcontextprotocol/conformance client --command 'npx tsx test/conformance/src/everythingClient.ts' --suite all --expected-failures test/conformance/conformance-baseline.yml"
    },
    "dependencies": {
        "@hono/node-server": "^1.19.9 || ^2.0.5",
        "ajv": "^8.17.1",
        "ajv-formats": "^3.0.1",
        "content-type": "^1.0.5",
        "cors": "^2.8.5",
        "cross-spawn": "^7.0.5",
        "eventsource": "^3.0.2",
        "eventsource-parser": "^3.0.0",
        "express": "^5.2.1",
        "express-rate-limit": "^8.2.1",
        "hono": "^4.11.4",
        "jose": "^6.1.3",
        "json-schema-typed": "^8.0.2",
        "pkce-challenge": "^5.0.0",
        "raw-body": "^3.0.0",
        "zod": "^3.25 || ^4.0",
        "zod-to-json-schema": "^3.25.1"
    },
    "peerDependencies": {
        "@cfworker/json-schema": "^4.1.1",
        "zod": "^3.25 || ^4.0"
    },
    "peerDependenciesMeta": {
        "@cfworker/json-schema": {
            "optional": true
        },
        "zod": {
            "optional": false
        }
    },
    "devDependencies": {
        "@cfworker/json-schema": "^4.1.1",
        "@eslint/js": "^9.39.1",
        "@modelcontextprotocol/conformance": "^0.1.14",
        "@types/content-type": "^1.1.8",
        "@types/cors": "^2.8.17",
        "@types/cross-spawn": "^6.0.6",
        "@types/eventsource": "^1.1.15",
        "@types/express": "^5.0.0",
        "@types/express-serve-static-core": "^5.1.0",
        "@types/node": "^22.12.0",
        "@types/supertest": "^6.0.2",
        "@types/ws": "^8.5.12",
        "@typescript/native-preview": "^7.0.0-dev.20251103.1",
        "eslint": "^9.8.0",
        "eslint-config-prettier": "^10.1.8",
        "eslint-plugin-n": "^17.23.1",
        "prettier": "3.6.2",
        "supertest": "^7.0.0",
        "tsx": "^4.16.5",
        "typescript": "^5.5.4",
        "typescript-eslint": "^8.48.1",
        "vitest": "^4.0.8",
        "ws": "^8.18.0"
    },
    "resolutions": {
        "strip-ansi": "6.0.1"
    },
    "overrides": {
        "qs": "6.14.1"
    }
}
