UNPKG

@tanstack/ai-mcp

Version:

Host-side Model Context Protocol client for TanStack AI: discover and run MCP server tools, resources, and prompts in any adapter's chat() loop, with generated end-to-end types.

87 lines • 2.41 kB
{ "name": "@tanstack/ai-mcp", "version": "0.7.0", "description": "Host-side Model Context Protocol client for TanStack AI: discover and run MCP server tools, resources, and prompts in any adapter's chat() loop, with generated end-to-end types.", "author": "Tanner Linsley", "license": "MIT", "homepage": "https://tanstack.com/ai", "repository": { "type": "git", "url": "git+https://github.com/TanStack/ai.git", "directory": "packages/ai-mcp" }, "bugs": { "url": "https://github.com/TanStack/ai/issues" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "keywords": [ "ai", "mcp", "model-context-protocol", "tanstack", "tools", "typescript", "tanstack-intent" ], "type": "module", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "bin": { "tanstack-ai-mcp": "./dist/bin/bin.js" }, "exports": { ".": { "types": "./dist/esm/index.d.ts", "import": "./dist/esm/index.js" }, "./stdio": { "types": "./dist/esm/stdio.d.ts", "import": "./dist/esm/stdio.js" }, "./apps": { "types": "./dist/esm/apps/index.d.ts", "import": "./dist/esm/apps/index.js" }, "./server": { "types": "./dist/esm/server/index.d.ts", "import": "./dist/esm/server/index.js" }, "./server/stdio": { "types": "./dist/esm/server/stdio.d.ts", "import": "./dist/esm/server/stdio.js" } }, "files": [ "dist", "src", "skills" ], "dependencies": { "@modelcontextprotocol/client": "^2.0.0", "@modelcontextprotocol/server": "^2.0.0", "jose": "^6.2.12", "@tanstack/ai": "^0.64.0" }, "devDependencies": { "@vitest/coverage-v8": "4.1.10", "jiti": "^2.4.2", "json-schema-to-typescript": "^15.0.4", "tsup": "^8.5.1", "vite": "^8.2.1", "zod": "^4.2.0" }, "scripts": { "build": "vite build && tsup --config tsup.bin.config.ts", "clean": "premove ./build ./dist", "lint:fix": "oxlint src --type-aware --fix", "test:build": "publint --strict", "test:oxlint": "oxlint src --type-aware", "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary", "test:lib": "vitest", "test:lib:dev": "pnpm test:lib --watch", "test:types": "tsc" } }