Skip to main content
Glama

Widget MCP

by ref-tools
package.json1.98 kB
{ "name": "widget-mcp", "version": "0.1.0", "description": "UI widget for your LLM", "type": "module", "module": "index.ts", "bin": { "widget-mcp": "./dist/index.cjs" }, "files": [ "dist" ], "scripts": { "build": "npm run build:html && npm run build:mcp", "build:html": "tsx scripts/build-html.ts", "build:mcp": "npx @smithery/cli build", "dev:html": "concurrently \"vite serve html\" \"chokidar 'html/**/*.html' -c 'npm run build:html'\"", "dev:mcp": "npm run build:html && npx @smithery/cli dev", "check": "tsc --noEmit", "start": "node .smithery/index.cjs", "inspect": "npx @modelcontextprotocol/inspector", "make-executable": "node -e \"fs.chmodSync('dist/index.cjs', '755');\" --require fs", "build:bundle": "npm run build:html && esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' && npm run make-executable", "watch": "esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' --watch", "dev:bundle": "concurrently \"npm run watch\" \"npm run inspect:bundle\"", "start:bundle": "node dist/index.cjs", "inspect:bundle": "npx @modelcontextprotocol/inspector node dist/index.cjs", "verify:template": "tsx scripts/verify-conversion-template.ts", "verify:timer": "tsx scripts/verify-timer-template.ts", "verify:fact": "tsx scripts/verify-fact-template.ts", "verify:all": "npm run verify:template && npm run verify:timer && npm run verify:fact", "prepublishOnly": "npm run build:bundle" }, "dependencies": { "@mcp-ui/server": "^5.2.0", "@modelcontextprotocol/sdk": "^1.17.3", "zod": "^3.25.76" }, "devDependencies": { "@types/node": "^24.3.0", "chokidar-cli": "^3.0.0", "concurrently": "^9.1.2", "esbuild": "^0.25.9", "prettier": "^3.4.2", "tsx": "^4.20.4", "typescript": "^5.9.2", "vite": "^6.3.5" } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ref-tools/widget-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server