Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
122e24b
feat: implement UI registry and custom UI support for tools
tsck Dec 4, 2025
0f9a812
refactor: remove UI business logic from subclass using structured con…
tsck Dec 5, 2025
3e15fee
refactor: cleanup registry class
tsck Dec 5, 2025
20e2797
refactor: cleanup tool.ts comments
tsck Dec 5, 2025
551e529
refactor: cleanup schema comments
tsck Dec 5, 2025
f1d668e
refactor: some more comment cleanup
tsck Dec 5, 2025
4bb5c19
feat: add mcpUI feature flag
tsck Dec 5, 2025
8ced988
refactor: copilot review feedback
tsck Dec 5, 2025
38d8e85
refactor: update lockfile
tsck Dec 5, 2025
6696db2
fix: ignore ESM type error that will only run in ESM
tsck Dec 5, 2025
e6eb0fa
fix: fix some checks
tsck Dec 5, 2025
5f34865
refactor: inline HTML strings
tsck Dec 5, 2025
d14b708
fix: checks
tsck Dec 5, 2025
4931f80
fix: build
tsck Dec 5, 2025
8479dc2
refactor: CR changes
tsck Dec 5, 2025
254bc8a
review feedback 1
tsck Dec 9, 2025
43c08a8
fix: add ui schema prop to prevent validation errors on non-UI responses
tsck Dec 9, 2025
74270b7
chore: add .gitattributes for generated files and update .gitignore t…
tsck Dec 9, 2025
d10a23b
refactor: replace uiMap with dynamic component discovery and update H…
tsck Dec 9, 2025
2c4df43
chore: update dependencies in package.json and pnpm-lock.yaml
tsck Dec 9, 2025
0136cbf
lint fixes
tsck Dec 9, 2025
59c36fc
revert uiOutputSchema
tsck Dec 9, 2025
5823363
feat: add ListDatabases output schema for tool and UI validation
tsck Dec 9, 2025
b7eb685
refactor: move generated files to src/ui/lib and update references
tsck Dec 9, 2025
e3d8b01
refactor: update HTML exports to named constants and enhance dynamic …
tsck Dec 9, 2025
51fb03b
chore: update .prettierignore and knip.json to include new tools dire…
tsck Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist
node_modules

.vscode/mcp.json
.github/prompts/*

Expand Down
24 changes: 23 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
"types": "./dist/cjs/tools/index.d.ts",
"default": "./dist/cjs/tools/index.js"
}
},
"./ui": {
"import": {
"types": "./dist/esm/ui/index.d.ts",
"default": "./dist/esm/ui/index.js"
},
"require": {
"types": "./dist/cjs/ui/index.d.ts",
"default": "./dist/cjs/ui/index.js"
}
}
},
"main": "./dist/cjs/lib.js",
Expand All @@ -51,8 +61,9 @@
"build:update-package-version": "tsx scripts/updatePackageVersion.ts",
"build:esm": "tsc --project tsconfig.esm.json && chmod +x dist/esm/index.js",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build:ui": "vite build --config vite.ui.config.ts",
"build:universal-package": "tsx scripts/createUniversalPackage.ts",
"build": "pnpm run build:clean && concurrently \"pnpm run build:esm\" \"pnpm run build:cjs\" && pnpm run build:universal-package",
"build": "pnpm run build:clean && concurrently \"pnpm run build:esm\" \"pnpm run build:cjs\" && pnpm run build:ui && pnpm run build:universal-package",
"inspect": "pnpm run build && mcp-inspector -- dist/esm/index.js",
"prettier": "prettier",
"check": "concurrently \"pnpm run build\" \"pnpm run check:types\" \"pnpm run check:lint\" \"pnpm run check:format\" \"pnpm run check:dependencies\"",
Expand Down Expand Up @@ -86,9 +97,12 @@
"@types/express": "^5.0.3",
"@types/node": "^24.5.2",
"@types/proper-lockfile": "^4.1.4",
"@types/react": "^18.3.0",
"@types/react-dom": "^19.2.3",
"@types/semver": "^7.7.0",
"@types/yargs-parser": "^21.0.3",
"@typescript-eslint/parser": "^8.44.0",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/eslint-plugin": "^1.3.4",
"concurrently": "^9.2.1",
Expand All @@ -112,9 +126,15 @@
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0",
"uuid": "^13.0.0",
"vite": "^5.4.21",
"vite-plugin-node-polyfills": "^0.24.0",
"vite-plugin-singlefile": "^2.3.0",
"vitest": "^3.2.4"
},
"dependencies": {
"@emotion/css": "^11.13.5",
"@leafygreen-ui/table": "^15.2.2",
"@mcp-ui/server": "^5.13.1",
"@modelcontextprotocol/sdk": "^1.24.2",
"@mongodb-js/device-id": "^0.3.1",
"@mongodb-js/devtools-proxy-support": "^0.5.3",
Expand All @@ -132,6 +152,8 @@
"node-machine-id": "1.1.12",
"oauth4webapi": "^3.8.0",
"openapi-fetch": "^0.15.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependencies or devDependencies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, good point! Will update to dev

"ts-levenshtein": "^1.0.7",
"voyage-ai-provider": "^2.0.0",
"zod": "^3.25.76"
Expand Down
Loading
Loading