@urbicon-ui/mcp-server 6.21.3 → 6.22.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/README.md CHANGED
@@ -23,11 +23,13 @@ bun install
23
23
 
24
24
  Runtime dependencies: `@modelcontextprotocol/sdk`, `zod`.
25
25
 
26
- > **Bun is required.** `package.json#main` points at `./src/index.ts`
27
- > directly — there is no transpilation step. The server is intended to
28
- > be launched via `bun run` (see Quick Start). Tools like `npm i -g` or
29
- > Node-only setups will not work; use Bun or wire the entry through a
30
- > Bun wrapper script.
26
+ > **Bun is required** (declared via `engines.bun`). `package.json#main`
27
+ > points at `./src/index.ts` directly — there is no build or transpilation
28
+ > step, and deliberately no `bin`: the server is launched via `bun run`
29
+ > (see Quick Start), in-repo, with the hosted HTTP endpoint as the only
30
+ > planned deployment. Node-only setups (`npm i -g`, `npx`) will not work.
31
+ > If a local-install consumer path ever becomes supported, the launch
32
+ > decision reintroduces a `dist` build plus a node-runnable `bin`.
31
33
 
32
34
  ## Quick Start
33
35
 
@@ -116,10 +118,12 @@ The full design-verb table (DESIGN-MCP-V2 §8) — client-agnostic workflows you
116
118
  | `audit` | `brief?` | App-wide sweep: validate the tree, check pattern cohorts, report drift over time. |
117
119
  | `migrate` | `brief?` | Roll out a pattern/library change across every site, gated per file. |
118
120
 
119
- ## CLI Options
121
+ ## Server Options
122
+
123
+ The entry point is run via Bun (no installed binary):
120
124
 
121
125
  ```
122
- urbicon-mcp [--transport <stdio|http>] [--port <n>] [--content-dir <path>]
126
+ bun run src/index.ts [--transport <stdio|http>] [--port <n>] [--content-dir <path>]
123
127
  ```
124
128
 
125
129
  | Flag | Default | Purpose |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urbicon-ui/mcp-server",
3
- "version": "6.21.3",
3
+ "version": "6.22.0",
4
4
  "description": "Model Context Protocol server exposing the Urbicon UI component catalog, recipes and design intelligence to LLM agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -17,10 +17,10 @@
17
17
  "ai"
18
18
  ],
19
19
  "type": "module",
20
- "main": "./src/index.ts",
21
- "bin": {
22
- "urbicon-mcp": "./src/index.ts"
20
+ "engines": {
21
+ "bun": ">=1.0.0"
23
22
  },
23
+ "main": "./src/index.ts",
24
24
  "scripts": {
25
25
  "build": "echo 'no build needed — Bun runs TypeScript directly'",
26
26
  "dev": "bun run --watch src/index.ts",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@modelcontextprotocol/sdk": "^1.29.0",
35
- "@urbicon-ui/design-content": "6.21.3",
36
- "@urbicon-ui/design-engine": "6.21.3",
35
+ "@urbicon-ui/design-content": "6.22.0",
36
+ "@urbicon-ui/design-engine": "6.22.0",
37
37
  "zod": "^4.3.6"
38
38
  },
39
39
  "devDependencies": {
package/src/index.ts CHANGED
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env node
2
-
3
1
  import { loadCatalog } from './data/catalog-loader.js';
4
2
  import { loadPatterns, loadPrinciples } from './data/design-system-loader.js';
5
3
  import { loadTemplateSections } from './data/template-loader.js';