
Basic MCP App Server (Vanilla JS)
Supports UIby infoxicator
A reference implementation of an MCP App using vanilla JavaScript to demonstrate UI-linked tool registration.
What it does
This is a demonstration MCP App that showcases how to link a server tool to a specific interactive UI resource. It renders a vanilla JavaScript user interface (no framework) that allows the user to interact with server-side logic through a structured UI.
Key features
- Tool registration with linked UI resources (
ui://) - Direct use of the MCP App SDK
Appclass - Integrated theme support (
applyDocumentTheme) - Single-file HTML bundling via Vite
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"basic-vanillajs": {
"command": "npx",
"args": [
"-y",
"--silent",
"--registry=https://registry.npmjs.org/",
"@modelcontextprotocol/server-basic-vanillajs",
"--stdio"
]
}
}
}
Supported hosts
- Claude Desktop
Quick install
npx -y @modelcontextprotocol/server-basic-vanillajsInformation
- Pricing
- free
- Published
- 4/27/2026
- stars






