@treeui/mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@treeui/mcp",
3
+ "version": "0.1.0",
4
+ "description": "Model Context Protocol server and AI catalog for TreeUI.",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "bin": {
10
+ "treeui-mcp": "./dist/cli.js"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "generate:catalog": "node --import tsx scripts/generate-catalog.ts",
24
+ "build": "pnpm run generate:catalog && pnpm exec rimraf dist && pnpm exec tsup src/index.ts src/cli.ts --format esm,cjs --dts",
25
+ "start": "node --import tsx src/cli.ts",
26
+ "test": "pnpm -w exec vitest run packages/mcp/src/catalog.test.ts packages/mcp/src/server.test.ts",
27
+ "typecheck": "pnpm exec tsc -p tsconfig.json --noEmit"
28
+ },
29
+ "dependencies": {
30
+ "@modelcontextprotocol/sdk": "^1.17.4",
31
+ "yaml": "^2.8.1"
32
+ }
33
+ }