{
  "name": "@mcp-use/agent",
  "type": "module",
  "version": "2.0.17",
  "description": "Native cross-platform MCP agent. Inspector → MCPAgent → loop → fetch + @mcp-use/client. LangChain bridge at @mcp-use/agent/langchain.",
  "author": "mcp-use, Inc.",
  "license": "MIT",
  "homepage": "https://github.com/mcp-use/mcp-use#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mcp-use/mcp-use.git",
    "directory": "libraries/typescript/packages/agent"
  },
  "bugs": {
    "url": "https://github.com/mcp-use/mcp-use/issues"
  },
  "keywords": [
    "mcp",
    "model-context-protocol",
    "agent",
    "langchain",
    "ai",
    "typescript"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./langchain": {
      "types": "./dist/langchain.d.ts",
      "import": "./dist/langchain.js"
    }
  },
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist"
  ],
  "engines": {
    "node": ">=22.22.2"
  },
  "dependencies": {
    "@modelcontextprotocol/client": "2.0.0",
    "@mcp-use/client": "2.3.2"
  },
  "peerDependencies": {
    "@langchain/anthropic": "^1.3.0",
    "@langchain/core": "^1.1.0",
    "@langchain/openai": "^1.2.0",
    "@langfuse/langchain": "~5.9.0",
    "langchain": "^1.2.10",
    "langfuse": "^3.38.6",
    "zod": "^4.0.0"
  },
  "peerDependenciesMeta": {
    "@langchain/anthropic": {
      "optional": true
    },
    "@langchain/core": {
      "optional": true
    },
    "@langchain/openai": {
      "optional": true
    },
    "@langfuse/langchain": {
      "optional": true
    },
    "langchain": {
      "optional": true
    },
    "langfuse": {
      "optional": true
    },
    "zod": {
      "optional": true
    }
  },
  "devDependencies": {
    "@langchain/anthropic": "^1.3.0",
    "@langchain/openai": "^1.2.8",
    "@modelcontextprotocol/sdk": ">=1.25.2",
    "@vitest/coverage-v8": "4.1.10",
    "ai": "^6.0.116",
    "rimraf": "^6.1.3",
    "tsup": "^8.5.1",
    "typescript": "^7.0.2",
    "vitest": "4.1.11",
    "zod": "4.3.5"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "rimraf dist && tsup && tsc --emitDeclarationOnly --declaration",
    "dev": "tsc --watch",
    "test": "vitest",
    "test:run": "vitest run",
    "test:unit": "vitest run --exclude 'tests/integration/**' --exclude 'tests/docs/**'",
    "test:integration": "vitest run tests/integration",
    "test:integration:agent": "vitest run tests/integration/agent",
    "test:integration:run": "vitest run tests/integration/agent/test_agent_run.test.ts",
    "test:integration:stream": "vitest run tests/integration/agent/test_agent_stream.test.ts",
    "test:integration:streamevents": "vitest run tests/integration/agent/test_agent_stream_events.test.ts",
    "test:integration:structured": "vitest run tests/integration/agent/test_agent_structured_output.test.ts",
    "test:integration:manager": "vitest run tests/integration/agent/test_server_manager.test.ts",
    "test:integration:observability": "vitest run tests/integration/agent/test_agent_observability.test.ts",
    "test:integration:codemode": "vitest run tests/integration/agent/test_code_mode.test.ts",
    "test:integration:native-openai": "vitest run tests/integration/agent/test_agent_native_openai.test.ts",
    "example:verify": "bash examples/run-verify.sh"
  }
}