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.

77 lines 2 kB
{ "name": "@tanstack/ai-mcp", "version": "0.3.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" } }, "files": [ "dist", "src", "skills" ], "dependencies": { "@modelcontextprotocol/sdk": "^1.29.0", "@tanstack/ai": "^0.44.0" }, "devDependencies": { "@vitest/coverage-v8": "4.0.14", "jiti": "^2.4.2", "json-schema-to-typescript": "^15.0.4", "tsup": "^8.5.1", "vite": "^8.1.4", "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:coverage": "vitest run --coverage", "test:oxlint": "oxlint src --type-aware", "test:lib": "vitest", "test:lib:dev": "pnpm test:lib --watch", "test:types": "tsc" } }