UNPKG

mcp-use

Version:

A utility library for integrating Model Context Protocol (MCP) with LangChain, Zod, and related tools. Provides helpers for schema conversion, event streaming, and SDK usage.

110 lines (109 loc) 3.47 kB
{ "name": "mcp-use", "type": "module", "version": "0.1.7", "packageManager": "pnpm@10.6.1", "description": "A utility library for integrating Model Context Protocol (MCP) with LangChain, Zod, and related tools. Provides helpers for schema conversion, event streaming, and SDK usage.", "author": "Zane", "license": "MIT", "homepage": "https://github.com/mcp-use/mcp-use-ts#readme", "repository": { "type": "git", "url": "git+https://github.com/mcp-use/mcp-use-ts.git" }, "bugs": { "url": "https://github.com/mcp-use/mcp-use-ts/issues" }, "keywords": [ "MCP", "Model Context Protocol", "LangChain", "Zod", "schema", "SDK", "eventsource", "AI", "utility", "typescript" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=22.0.0" }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "scripts": { "build": "rm -rf dist && tsc", "watch": "tsc --watch", "start": "node dist/index.js", "prepublishOnly": "npm run build", "lint": "eslint", "lint:fix": "eslint --fix", "fmt": "eslint --fix", "release": "npm version patch --tag-version-prefix=v && git push --follow-tags", "release:minor": "npm version minor --tag-version-prefix=v && git push --follow-tags", "release:major": "npm version major --tag-version-prefix=v && git push --follow-tags", "prepare": "husky", "example:airbnb": "npm run build && node dist/examples/airbnb_use.js", "example:browser": "npm run build && node dist/examples/browser_use.js", "example:chat": "npm run build && node dist/examples/chat_example.js", "example:filesystem": "npm run build && node dist/examples/filesystem_use.js", "example:http": "npm run build && node dist/examples/http_example.js", "example:everything": "npm run build && node dist/examples/mcp_everything.js", "example:multi": "npm run build && node dist/examples/multi_server_example.js", "example:sandbox": "npm run build && node dist/examples/sandbox_everything.js", "example:oauth": "npm run build && node dist/examples/simple_oauth_example.js", "example:blender": "npm run build && node dist/examples/blender_use.js", "example:add_server": "npm run build && node dist/examples/add_server_tool.js" }, "dependencies": { "@dmitryrechkin/json-schema-to-zod": "^1.0.1", "@langchain/anthropic": "^0.3.14", "@langchain/core": "0.3.58", "@langchain/openai": "^0.5.15", "@modelcontextprotocol/sdk": "1.12.1", "@scarf/scarf": "^1.4.0", "dotenv": "^16.5.0", "eventsource": "^3.0.6", "fastembed": "^1.14.4", "langchain": "^0.3.27", "lodash-es": "^4.17.21", "posthog-node": "^5.1.1", "uuid": "^11.1.0", "winston": "^3.17.0", "ws": "^8.18.2", "zod": "^3.25.48", "zod-to-json-schema": "^3.24.5" }, "devDependencies": { "@antfu/eslint-config": "^4.13.2", "@types/lodash-es": "^4.17.12", "@types/ws": "^8.18.1", "eslint": "^9.28.0", "eslint-plugin-format": "^1.0.1", "husky": "^9.1.7", "lint-staged": "^15.2.11", "shx": "^0.4.0", "typescript": "^5.8.3" }, "lint-staged": { "*.{js,ts}": [ "npm run lint" ], "**/*.ts": [ "npm run build" ] } }