[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ENA6VEQJXWWXWE52B9JPZK":3,"skill-same:01M6ENA6VEQJXWWXWE52B9JPZK":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":28,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6ENA6VEQJXWWXWE52B9JPZK","setup-server",null,"Set up, configure, run, brand, and deploy this composed MCP server. Use whenever connecting a Camunda 7 \u002F CIB seven engine, selecting modules or toolsets (`MCP_ACTIVE_MODULES`), renaming the `@acme` scope, building the Docker image, running behind an MCP gateway, or troubleshooting boot warnings or inspector issues.","Miragon\u002Fpulse","Miragon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58698887?v=4","01M6EN8W7TCK4BRJB1S2GEW8C3","01M6EN8WC4V4QYAV5C8FMYZ4R9",8,"MIT","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002Ftemplates\u002Fcomposed-server\u002F.claude\u002Fskills\u002Fsetup-server\u002FSKILL.md",[17,22,25],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":26,"categoryName":27,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"server","setup","setup server","running","mcp server","Bash","image","configure","boot","use","MCP","issues","up","docker","scope","brand","prometheus","gateway","SET","modules","2026-11-10 10:12:30",false,"---\nname: setup-server\ndescription: Set up, configure, run, brand, and deploy this composed MCP server. Use whenever connecting a Camunda 7 \u002F CIB seven engine, selecting modules or toolsets (`MCP_ACTIVE_MODULES`), renaming the `@acme` scope, building the Docker image, running behind an MCP gateway, or troubleshooting boot warnings or inspector issues.\nallowed-tools: Read, Edit, Write, Glob, Grep, Bash\n---\n\n# setup-server: from clone to running (and deployed) server\n\nConfiguration ground rules first:\n\n- **`.env` is a `pnpm dev` convenience only** (loaded via dotenv-cli).\n  `pnpm start` and the Docker image take their config from the environment.\n- **`.env.example` documents every variable this server reads**, with defaults:\n  it is the configuration reference, kept honest by\n  `server\u002Ftest\u002Fenv-example.test.ts`.\n- The server **warns at boot about unknown env vars** under any watched prefix\n  (`MCP_`, `ENGINE_`, `ENGINES_`, plus each custom module's prefix); a\n  boot warning means a typo or a var this build doesn't read, never noise.\n\n## Step 1: install and first run\n\n```bash\ncorepack enable # pnpm 10.32.1 (`packageManager`); Node.js 25+ has none: npm i -g pnpm@10.32.1\npnpm install    # needs Node ^22.23.4, ^24.22.1 or >= 26.12.1 (enforced at install time)\ncp .env.example .env\npnpm dev        # MCP endpoint on :8400\u002Fmcp, plus the MCP Inspector (it prints its URL)\n```\n\n`pnpm dev` runs Vite rebuilding the widget bundle, the server (`tsx watch`) and\nthe official MCP Inspector on `127.0.0.1`, pointed at the server; it opens no\nbrowser. Verify before configuring anything: open the URL the inspector\nprints (it carries a per-launch token) and render `notes_show_notes` in its\nApps tab: the example module needs no external infrastructure, so a rendered\nnotes widget proves server, widget bundle, and inspector work.\nIf the server logs `listen EADDRINUSE`, another server holds 8400 (see\nTroubleshooting): free it, or set `PORT` in `.env` and restart.\nThen read the boot log. The Vite build output and the inspector's lines are\nexpected. The server's own\nlines start with `[acme-mcp]` (the `name` in\n`server\u002Fsrc\u002Fapp.ts`): every warning among them is actionable (unknown env var, no engine\nconfigured, engine auth problems), and one info line\n(`[acme-mcp] Toolsets: engine:read-only (default without OAuth), …`) states\nwhat each module may do: one with toolsets is read-only until you widen it\nor set up OAuth (Step 3), one shown as `(no toolsets)` registers every tool.\nA module the line names after `left off by MCP_ACTIVE_MODULES` is off: the\ncopied `.env` runs `engine,notes` (Step 3).\n\n## Step 2: connect the engine\n\nNo engine at hand? Start the one in `compose.yaml`; the copied `.env` already\npoints at it (`http:\u002F\u002Flocalhost:8410\u002Fengine-rest`, `cibseven`, basic auth\n`demo`\u002F`demo`):\n\n```bash\ndocker compose up -d --wait   # CIB seven with its invoice example, healthy once its REST API answers\npnpm dev\n```\n\nThen `engine_list_process_definitions` lists `invoice` and `ReviewInvoice`.\n\nEvery engine call answers 401 although `.env` says `demo`\u002F`demo`? Wrong\npasswords lock `demo` out of that engine, for good after ten, and `demo` is\nits only admin: `docker compose down && docker compose up -d` resets it.\n\nFor your own engine, edit `.env` (every field is documented inline in `.env.example`):\n\n- `ENGINE_BASE_URL`: the engine REST endpoint.\n- `ENGINE_ID`: the engine's id (default `default`): the `engine` value of every\n  tool call, the name the cockpit shows and the id the hand-offs name.\n- `ENGINE_FLAVOR`: the engine's vendor, `camunda7` (default), `cibseven` or `operaton`. It\n  picks the cockpit-link routes and the product name the views show, so a CIB seven engine (the\n  one in `compose.yaml`, the playground's) sets `cibseven`.\n- `ENGINE_AUTH_TYPE`: `none | basic | bearer | passthrough`; `basic` needs\n  `ENGINE_USERNAME`\u002F`ENGINE_PASSWORD`, `bearer` needs `ENGINE_TOKEN` (the boot\n  fails without them); `passthrough` forwards each MCP caller's own bearer token.\n- `ENGINE_COCKPIT_URL`: set explicitly whenever the engine URL is not\n  reachable from the user's browser (container hostname), otherwise \"open in\n  cockpit\" links point nowhere.\n- Multiple engines: one profile file, the format of the Pulse CLI and Pulse for\n  VS Code, in `ENGINES_JSON` (or a path in `ENGINES_FILE`), which replaces the\n  single-engine variables above:\n  `{\"defaultProfile\": \"prod-a\", \"profiles\": {\"prod-a\": {\"url\": \"…\", \"flavor\": \"cibseven\", \"auth\": {\"type\": \"basic\", \"username\": \"demo\", \"passwordEnv\": \"ENGINE_SECRET_PROD_A_PASSWORD\"}}}}`.\n  A profile's name is its engine id; optional `environment` groups the pickers\n  and `engine_list_engines`, `readOnly: true` blocks every write to that\n  engine. A secret never sits in the JSON: `auth.passwordEnv` or\n  `auth.tokenEnv` names the variable that holds it, and only names that start\n  with `ENGINE_SECRET_` are read (set that variable in `.env` too). A profile\n  the server cannot use is refused on its own: the boot warns, the other\n  engines run. A call without `engine` routes to `ENGINE_DEFAULT`, else\n  `defaultProfile` (each must name a profile, else the boot fails); without\n  either it fails with `ENGINE_NOT_SELECTED` listing the engines.\n- `ENGINE_REQUEST_TIMEOUT_MS`: the per-request deadline (default 30000 ms); a\n  hung engine then fails the tool call with a timeout error instead of\n  holding it.\n\n## Step 3: select modules and toolsets\n\n`MCP_ACTIVE_MODULES` is a comma list; unset or `all` activates every module, and\na module the list does not name stays off. The copied `.env` sets `engine,notes`,\nso a module you add goes into the list, in `.env.example` and in your `.env`.\nA module with toolsets runs ONE of them per boot, named by a `module:toolset` suffix:\n\n```bash\nMCP_ACTIVE_MODULES=engine:operations,notes\n```\n\n- The engine module supports `read-only | operations | admin`; notes declares\n  none, so a suffix on it is ignored with a warning.\n- **Fail-closed default.** Without OAuth a module without a suffix runs\n  `read-only`; with it, its standard toolset (engine `operations`). An empty (`engine:`) or unknown suffix warns and falls back to\n  `read-only`; `admin` (delete\u002Fmodify, migrations, signals, the external-task\n  worker protocol) is only ever reached by naming it. Check the boot log's\n  `Toolsets:` line after every change.\n- `engine_create_deployment` additionally needs `ENGINE_ALLOW_DEPLOYMENTS=true`\n  next to `engine:admin`: deploying a BPMN\u002FDMN runs code inside the engine\n  JVM (JUEL expressions, scripts). Strict `true`\u002F`false` (empty = unset); junk fails the boot.\n- Widening is a security decision: without OAuth the server listens on\n  all interfaces with no auth, so write toolsets are open to anyone who\n  reaches the port. Behind an authenticating gateway the server still sees no\n  identity, which is exactly why the suffix must stay explicit there: identity\n  reaches the server only through its own OAuth.\n- An unknown module name fails the boot, listing the modules; a suffix on a module without\n  toolsets (e.g. `notes:read-only`) warns and is ignored; that module\n  registers all its tools.\n- All widgets stay in the one Vite bundle regardless; inactive modules just\n  register no tools. Module selection is runtime-only; there is no per-module\n  bundle.\n\n### OAuth: sign-in and caller identity\n\nThe boot reads one provider's `MCP_OAUTH_*` variables; set those of ONE provider. The OAuth block\nof `.env.example` lists the providers, their variables and what fails the boot. Keycloak, say:\n\n```bash\nMCP_URL=https:\u002F\u002Fmcp.example.com     # the public origin, no path; required with OAuth\nMCP_OAUTH_KEYCLOAK_SERVER_URL=https:\u002F\u002Fkc.example.com\nMCP_OAUTH_KEYCLOAK_REALM=platform\n```\n\n`\u002Fmcp` then answers 401 without a valid bearer token (the server is an OAuth\nresource server: it verifies tokens against the provider, never issues them)\nand the default engine toolset rises to `operations`. Without a provider there is no caller identity. A\nprovider config the boot cannot honor fails the boot, naming the variables.\n\nThe token audience is NOT `MCP_URL` itself: the server accepts a token whose\n`aud` (a string, or an array of strings only) holds `\u003CMCP_URL>\u002Fmcp` (`https:\u002F\u002Fmcp.example.com\u002Fmcp` above, the\n`resource` that `\u002F.well-known\u002Foauth-protected-resource\u002Fmcp` advertises) and\nthat carries `sub`; the boot logs the value\n(`[acme-mcp] OAuth: tokens must carry aud https:\u002F\u002Fmcp.example.com\u002Fmcp …`). The\nIdP side (audience mapper, `sub`, client registration with the claude.ai\ncallback `https:\u002F\u002Fclaude.ai\u002Fapi\u002Fmcp\u002Fauth_callback`, reading a 401) is the\n[identity provider checklist](https:\u002F\u002Fmiragon.github.io\u002Fpulse\u002Fmcp\u002Foperations#identity-provider-checklist).\nA 401's `WWW-Authenticate` header names an audience mismatch;\n`MCP_OAUTH_DEBUG=1` logs why the signature, issuer, `sub` or `exp` check\nfailed, never the token.\n\n## Step 4: make it yours\n\nRenaming the placeholder scope touches a fixed set of places. Do all of them,\nthen reinstall so the lockfile matches:\n\n1. `@acme\u002Fcomposed-mcp-server` in `server\u002Fpackage.json` (the `Dockerfile`\n   selects packages by path, no edit there)\n2. `@acme\u002Fmcp-notes` in `modules\u002Fmcp-notes\u002Fpackage.json`, in\n   `server\u002Fpackage.json`'s dependencies, and in every import\n   (`server\u002Fsrc\u002Fsetup.ts`, `server\u002Fsrc\u002Fui\u002Fview-registry.ts`)\n3. the server's `name` and `title` in `SERVER_INFO` (`server\u002Fsrc\u002Fapp.ts`):\n   clients such as the inspector show the title, the server's own log lines\n   start with `[\u003Cname>]`, and the tests read both from there\n4. `pnpm install` to refresh `pnpm-lock.yaml` (the Docker build uses\n   `--frozen-lockfile`)\n\nBranding: `server\u002Fsrc\u002Fui\u002Fbrand.css` imports pulse-ui's Miragon theme (the\ndefault) and has one override block for light and one for dark. Set ROLE\nvariables there only (`--primary`, `--primary-hover`, `--link`, `--focus`,\n`--ring`, `--accent`\u002F`--accent-foreground`, `--input`, `--\u003Ctone>`\u002F`-soft`\u002F\n`-ink`, radii, shadows, `--font-sans`) in BOTH blocks (the host's dark mode\nmatches `:root` too). Miragon blue also sits in `--info`, `--chart-1\u002F-3` and\n`--sidebar-*`; set those too for a single brand. The neutrals (surfaces, the\ntext on them, `--border`) are the host's: a host that sends SEP-1865 style\nvariables writes them inline on `\u003Chtml>`, so a value set in brand.css shows\nonly where the host sends none. Check your colours against a light and a\ndark host surface. Never set the `--cd-*` tokens, never colour a widget with\npalette classes. `server\u002Ftest\u002Fbrand.test.ts` measures the role and tone\npairs (text and each `-foreground` on its fill 4.5:1, edges, dots, icons and\nthe focus ring 3:1) in light and dark over the Miragon neutrals; charts, the\nsidebar, radii, shadows and fonts it does not measure. The widgets follow the\nhost's theme; there is no theme switch in the app.\n\n## Step 5: Docker and production\n\n```bash\npnpm install                    # commit pnpm-lock.yaml if it changed\ndocker build -t my-mcp-server .\ndocker compose up -d --wait     # compose.yaml's engine, on the network pulse-starter_default\ndocker run --rm --env-file .env -p 127.0.0.1:8400:8400 \\\n  --network pulse-starter_default \\\n  -e ENGINE_BASE_URL=http:\u002F\u002Fengine:8080\u002Fengine-rest \\\n  -e ENGINE_COCKPIT_URL=http:\u002F\u002Flocalhost:8410\u002Fwebapp \\\n  my-mcp-server\n```\n\n- Config comes from the environment; the image does not read `.env` itself.\n  `--env-file` hands it over (so `MCP_ACTIVE_MODULES`, `ENGINE_ID`, `ENGINE_FLAVOR`\n  and the engine auth match the local run), and the `-e` flags after it win. Unlike dotenv it\n  reads plain `KEY=VALUE` lines: quotes and a trailing `# comment` stay in the\n  value. A dev-only `PORT` or `MCP_URL` in `.env` comes along too (a `PORT`\n  other than 8400 misses `-p …:8400:8400`): drop it or override it with `-e`.\n- Inside the container `localhost` is the container, so the server joins the\n  engine's Docker network and reaches it by its service name and port:\n  `engine:8080` on `pulse-starter_default`, the network the `name:` in\n  `compose.yaml` fixes. For the Pulse playground's engine, join\n  `pulse_default` instead with `-e ENGINE_BASE_URL=http:\u002F\u002Fcibseven:8410\u002Fengine-rest`\n  and `-e ENGINE_ID=prod-a`. That works alike on Linux and\n  under Docker Desktop; `host.docker.internal` does not: on Linux it is the\n  Docker bridge's gateway, which misses a port published on `127.0.0.1`, where\n  both engines publish theirs. An engine the container reaches by its address\n  needs no `--network`, only its URL in `ENGINE_BASE_URL`.\n- `ENGINE_COCKPIT_URL` stays on `localhost`: the user's browser opens those\n  links. Without it the cockpit links derive from the engine URL and point at\n  `engine:8080`, which a browser on the host does not resolve.\n  `-p 127.0.0.1:8400:8400` publishes the server on the host's loopback only.\n- `PORT` sets the HTTP port (default 8400); `MCP_URL` is the public base URL\n  when running behind a proxy or MCP gateway and, with\n  `MCP_ALLOWED_HOSTS`\u002F`MCP_ALLOWED_ORIGINS`, the only non-localhost\n  `Host`\u002F`Origin` the server accepts: anything else gets 403 (DNS-rebinding\n  protection), with the message naming the variable to set. It is also the\n  origin the views load Geist from (the server's own `\u002Ffonts\u002Fgeist-\u003Cversion>\u002F`\n  route, declared in every bundle view's CSP `resourceDomains`): behind a gateway,\n  route `\u002Ffonts\u002F` to the server too, or the views show the host's font.\n- Federation\u002Faggregation across MCP servers belongs in an external gateway\n  (e.g. agentgateway) IN FRONT of this server; this repo builds one\n  self-contained server; don't add upstream\u002Fproxy mechanics to it.\n\n## Step 6: connect an assistant\n\nThe server speaks streamable HTTP on `\u002Fmcp`; how a host gets there differs per\nhost.\n\n**Claude Desktop** takes stdio servers ONLY: its `claude_desktop_config.json`\nvalidates the `command`\u002F`args` shape, and a `\"url\"` entry is dropped silently\n(older builds crashed at startup instead). Bridge the HTTP endpoint with\n`mcp-remote`, via Settings → Developer → Edit Config\n(macOS `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Fclaude_desktop_config.json`,\nWindows `%APPDATA%\\Claude\\claude_desktop_config.json`), then restart the app:\n\n```json\n{\n  \"mcpServers\": {\n    \"my-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-remote\", \"http:\u002F\u002F127.0.0.1:8400\u002Fmcp\", \"--transport\", \"http-only\"]\n    }\n  }\n}\n```\n\n`127.0.0.1` over `localhost`: Node may resolve the name to IPv6 while the\nserver listens on IPv4. Connection problems show up in the host's MCP logs:\n`~\u002FLibrary\u002FLogs\u002FClaude\u002Fmcp*.log` (Windows: `%APPDATA%\\Claude\\logs`).\n\n**Claude Code** speaks HTTP natively, no bridge:\n\n```bash\nclaude mcp add --transport http my-mcp-server http:\u002F\u002Flocalhost:8400\u002Fmcp\n```\n\n**claude.ai \u002F ChatGPT custom connectors** need a server reachable over the\npublic internet (an `https:\u002F\u002F…\u002Fmcp` URL), so a deployment, not localhost. For\na throwaway test of a local build, and for what the inspector cannot show (a\nhand-off to the chat, the context a view hands the model, the host's locale),\ntunnel the running `pnpm dev` with Cloudflare's\n[`cloudflared`](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fconnections\u002Fconnect-networks\u002Fdo-more-with-tunnels\u002Ftrycloudflare\u002F):\n\n```bash\ncloudflared tunnel --url http:\u002F\u002Flocalhost:8400   # prints https:\u002F\u002F\u003Crandom>.trycloudflare.com\n```\n\nThen set `MCP_URL` in `.env` to that `https:\u002F\u002F` origin and restart `pnpm dev`:\nthe server answers 403 to any other `Host` (DNS-rebinding protection), and\n`MCP_URL` is also the origin the views load their font from. Add\n`\u003CMCP_URL>\u002Fmcp` as the connector's URL. The tunnel is public: anyone with the\nURL reaches the server, so keep the read-only default and stop the tunnel\nwhen you are done. Cloudflare lists Server-Sent Events as unsupported on quick\ntunnels, and the server answers most requests as a short event stream: should\na host's calls hang, run a named Cloudflare Tunnel (a Cloudflare account) instead.\nA built server (`pnpm start`, the image) behind a tunnel or proxy needs the\nsame `MCP_URL`.\n\n## Step 7: verify\n\n```bash\npnpm build && pnpm typecheck && pnpm test\n```\n\nThen a functional pass in the inspector: `engine_list_engines` (engines\nconfigured), one cheap read such as `engine_list_process_definitions` (engine\nreachable, auth works) and the cockpit (`engine_open_cockpit`). A clean boot log (no\nunknown-var or no-engine warnings) is part of done.\n\n## Troubleshooting\n\n| Symptom                                   | Cause                                                                                                                                                                                                                                                                       |\n| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Every in-widget query hangs on \"Loading…\" | `resolve.dedupe` in `server\u002Fvite.config.ts` no longer spreads `VIEW_BUNDLE_DEDUPE`, or a second copy of React, the kit, widget-shell or lucide-react got installed                                                                                                          |\n| Widgets render unstyled                   | widget sources outside the Tailwind scan set (workspace modules are globbed; npm-installed ones need an `@source` in `server\u002Fsrc\u002Fui\u002Fglobals.css`)                                                                                                                           |\n| Cockpit links open the wrong web app      | the engine's vendor: without `ENGINE_FLAVOR` (or a `flavor` per engine entry) it counts as Camunda 7                                                                                                                                                                        |\n| \"Unknown environment variable\" at boot    | typo, or a var this build doesn't read; `.env.example` is the authoritative list                                                                                                                                                                                            |\n| Widget or module changes don't show up    | a widget edit rebuilds the bundle and restarts the server by itself, so reopen the view; a module's tools are built once, when `pnpm dev` starts: restart it at the repo root                                                                                               |\n| A tool is missing                         | module not in `MCP_ACTIVE_MODULES` (the copied `.env` names `engine,notes`, not a module you added), or its toolset filtered it; with no suffix and no OAuth it is `read-only` (see the boot log's `Toolsets:` line); deployments also need `ENGINE_ALLOW_DEPLOYMENTS=true` |\n| The boot refuses an unknown module        | `MCP_ACTIVE_MODULES` in `.env` still names a module you removed from `MODULES`, or a typo: take it out of the list                                                                                                                                                          |\n| Engine tools show, your module's don't    | another server holds 8400 (the stock Pulse image, say): your server logged `listen EADDRINUSE` and did not start; free 8400 or set `PORT`                                                                                                                                   |\n| Claude Desktop shows no tools at all      | a `\"url\"` entry in `claude_desktop_config.json` (stdio only, use the `mcp-remote` bridge from Step 6), or the app wasn't restarted                                                                                                                                          |\n","# setup-server: from clone to running (and deployed) server\n\nConfiguration ground rules first:\n\n- **`.env` is a `pnpm dev` convenience only** (loaded via dotenv-cli).\n  `pnpm start` and the Docker image take their config from the environment.\n- **`.env.example` documents every variable this server reads**, with defaults:\n  it is the configuration reference, kept honest by\n  `server\u002Ftest\u002Fenv-example.test.ts`.\n- The server **warns at boot about unknown env vars** under any watched prefix\n  (`MCP_`, `ENGINE_`, `ENGINES_`, plus each custom module's prefix); a\n  boot warning means a typo or a var this build doesn't read, never noise.\n\n## Step 1: install and first run\n\n```bash\ncorepack enable # pnpm 10.32.1 (`packageManager`); Node.js 25+ has none: npm i -g pnpm@10.32.1\npnpm install    # needs Node ^22.23.4, ^24.22.1 or >= 26.12.1 (enforced at install time)\ncp .env.example .env\npnpm dev        # MCP endpoint on :8400\u002Fmcp, plus the MCP Inspector (it prints its URL)\n```\n\n`pnpm dev` runs Vite rebuilding the widget bundle, the server (`tsx watch`) and\nthe official MCP Inspector on `127.0.0.1`, pointed at the server; it opens no\nbrowser. Verify before configuring anything: open the URL the inspector\nprints (it carries a per-launch token) and render `notes_show_notes` in its\nApps tab: the example module needs no external infrastructure, so a rendered\nnotes widget proves server, widget bundle, and inspector work.\nIf the server logs `listen EADDRINUSE`, another server holds 8400 (see\nTroubleshooting): free it, or set `PORT` in `.env` and restart.\nThen read the boot log. The Vite build output and the inspector's lines are\nexpected. The server's own\nlines start with `[acme-mcp]` (the `name` in\n`server\u002Fsrc\u002Fapp.ts`): every warning among them is actionable (unknown env var, no engine\nconfigured, engine auth problems), and one info line\n(`[acme-mcp] Toolsets: engine:read-only (default without OAuth), …`) states\nwhat each module may do: one with toolsets is read-only until you widen it\nor set up OAuth (Step 3), one shown as `(no toolsets)` registers every tool.\nA module the line names after `left off by MCP_ACTIVE_MODULES` is off: the\ncopied `.env` runs `engine,notes` (Step 3).\n\n## Step 2: connect the engine\n\nNo engine at hand? Start the one in `compose.yaml`; the copied `.env` already\npoints at it (`http:\u002F\u002Flocalhost:8410\u002Fengine-rest`, `cibseven`, basic auth\n`demo`\u002F`demo`):\n\n```bash\ndocker compose up -d --wait   # CIB seven with its invoice example, healthy once its REST API answers\npnpm dev\n```\n\nThen `engine_list_process_definitions` lists `invoice` and `ReviewInvoice`.\n\nEvery engine call answers 401 although `.env` says `demo`\u002F`demo`? Wrong\npasswords lock `demo` out of that engine, for good after ten, and `demo` is\nits only admin: `docker compose down && docker compose up -d` resets it.\n\nFor your own engine, edit `.env` (every field is documented inline in `.env.example`):\n\n- `ENGINE_BASE_URL`: the engine REST endpoint.\n- `ENGINE_ID`: the engine's id (default `default`): the `engine` value of every\n  tool call, the name the cockpit shows and the id the hand-offs name.\n- `ENGINE_FLAVOR`: the engine's vendor, `camunda7` (default), `cibseven` or `operaton`. It\n  picks the cockpit-link routes and the product name the views show, so a CIB seven engine (the\n  one in `compose.yaml`, the playground's) sets `cibseven`.\n- `ENGINE_AUTH_TYPE`: `none | basic | bearer | passthrough`; `basic` needs\n  `ENGINE_USERNAME`\u002F`ENGINE_PASSWORD`, `bearer` needs `ENGINE_TOKEN` (the boot\n  fails without them); `passthrough` forwards each MCP caller's own bearer token.\n- `ENGINE_COCKPIT_URL`: set explicitly whenever the engine URL is not\n  reachable from the user's browser (container hostname), otherwise \"open in\n  cockpit\" links point nowhere.\n- Multiple engines: one profile file, the format of the Pulse CLI and Pulse for\n  VS Code, in `ENGINES_JSON` (or a path in `ENGINES_FILE`), which replaces the\n  single-engine variables above:\n  `{\"defaultProfile\": \"prod-a\", \"profiles\": {\"prod-a\": {\"url\": \"…\", \"flavor\": \"cibseven\", \"auth\": {\"type\": \"basic\", \"username\": \"demo\", \"passwordEnv\": \"ENGINE_SECRET_PROD_A_PASSWORD\"}}}}`.\n  A profile's name is its engine id; optional `environment` groups the pickers\n  and `engine_list_engines`, `readOnly: true` blocks every write to that\n  engine. A secret never sits in the JSON: `auth.passwordEnv` or\n  `auth.tokenEnv` names the variable that holds it, and only names that start\n  with `ENGINE_SECRET_` are read (set that variable in `.env` too). A profile\n  the server cannot use is refused on its own: the boot warns, the other\n  engines run. A call without `engine` routes to `ENGINE_DEFAULT`, else\n  `defaultProfile` (each must name a profile, else the boot fails); without\n  either it fails with `ENGINE_NOT_SELECTED` listing the engines.\n- `ENGINE_REQUEST_TIMEOUT_MS`: the per-request deadline (default 30000 ms); a\n  hung engine then fails the tool call with a timeout error instead of\n  holding it.\n\n## Step 3: select modules and toolsets\n\n`MCP_ACTIVE_MODULES` is a comma list; unset or `all` activates every module, and\na module the list does not name stays off. The copied `.env` sets `engine,notes`,\nso a module you add goes into the list, in `.env.example` and in your `.env`.\nA module with toolsets runs ONE of them per boot, named by a `module:toolset` suffix:\n\n```bash\nMCP_ACTIVE_MODULES=engine:operations,notes\n```\n\n- The engine module supports `read-only | operations | admin`; notes declares\n  none, so a suffix on it is ignored with a warning.\n- **Fail-closed default.** Without OAuth a module without a suffix runs\n  `read-only`; with it, its standard toolset (engine `operations`). An empty (`engine:`) or unknown suffix warns and falls back to\n  `read-only`; `admin` (delete\u002Fmodify, migrations, signals, the external-task\n  worker protocol) is only ever reached by naming it. Check the boot log's\n  `Toolsets:` line after every change.\n- `engine_create_deployment` additionally needs `ENGINE_ALLOW_DEPLOYMENTS=true`\n  next to `engine:admin`: deploying a BPMN\u002FDMN runs code inside the engine\n  JVM (JUEL expressions, scripts). Strict `true`\u002F`false` (empty = unset); junk fails the boot.\n- Widening is a security decision: without OAuth the server listens on\n  all interfaces with no auth, so write toolsets are open to anyone who\n  reaches the port. Behind an authenticating gateway the server still sees no\n  identity, which is exactly why the suffix must stay explicit there: identity\n  reaches the server only through its own OAuth.\n- An unknown module name fails the boot, listing the modules; a suffix on a module without\n  toolsets (e.g. `notes:read-only`) warns and is ignored; that module\n  registers all its tools.\n- All widgets stay in the one Vite bundle regardless; inactive modules just\n  register no tools. Module selection is runtime-only; there is no per-module\n  bundle.\n\n### OAuth: sign-in and caller identity\n\nThe boot reads one provider's `MCP_OAUTH_*` variables; set those of ONE provider. The OAuth block\nof `.env.example` lists the providers, their variables and what fails the boot. Keycloak, say:\n\n```bash\nMCP_URL=https:\u002F\u002Fmcp.example.com     # the public origin, no path; required with OAuth\nMCP_OAUTH_KEYCLOAK_SERVER_URL=https:\u002F\u002Fkc.example.com\nMCP_OAUTH_KEYCLOAK_REALM=platform\n```\n\n`\u002Fmcp` then answers 401 without a valid bearer token (the server is an OAuth\nresource server: it verifies tokens against the provider, never issues them)\nand the default engine toolset rises to `operations`. Without a provider there is no caller identity. A\nprovider config the boot cannot honor fails the boot, naming the variables.\n\nThe token audience is NOT `MCP_URL` itself: the server accepts a token whose\n`aud` (a string, or an array of strings only) holds `\u003CMCP_URL>\u002Fmcp` (`https:\u002F\u002Fmcp.example.com\u002Fmcp` above, the\n`resource` that `\u002F.well-known\u002Foauth-protected-resource\u002Fmcp` advertises) and\nthat carries `sub`; the boot logs the value\n(`[acme-mcp] OAuth: tokens must carry aud https:\u002F\u002Fmcp.example.com\u002Fmcp …`). The\nIdP side (audience mapper, `sub`, client registration with the claude.ai\ncallback `https:\u002F\u002Fclaude.ai\u002Fapi\u002Fmcp\u002Fauth_callback`, reading a 401) is the\n[identity provider checklist](https:\u002F\u002Fmiragon.github.io\u002Fpulse\u002Fmcp\u002Foperations#identity-provider-checklist).\nA 401's `WWW-Authenticate` header names an audience mismatch;\n`MCP_OAUTH_DEBUG=1` logs why the signature, issuer, `sub` or `exp` check\nfailed, never the token.\n\n## Step 4: make it yours\n\nRenaming the placeholder scope touches a fixed set of places. Do all of them,\nthen reinstall so the lockfile matches:\n\n1. `@acme\u002Fcomposed-mcp-server` in `server\u002Fpackage.json` (the `Dockerfile`\n   selects packages by path, no edit there)\n2. `@acme\u002Fmcp-notes` in `modules\u002Fmcp-notes\u002Fpackage.json`, in\n   `server\u002Fpackage.json`'s dependencies, and in every import\n   (`server\u002Fsrc\u002Fsetup.ts`, `server\u002Fsrc\u002Fui\u002Fview-registry.ts`)\n3. the server's `name` and `title` in `SERVER_INFO` (`server\u002Fsrc\u002Fapp.ts`):\n   clients such as the inspector show the title, the server's own log lines\n   start with `[\u003Cname>]`, and the tests read both from there\n4. `pnpm install` to refresh `pnpm-lock.yaml` (the Docker build uses\n   `--frozen-lockfile`)\n\nBranding: `server\u002Fsrc\u002Fui\u002Fbrand.css` imports pulse-ui's Miragon theme (the\ndefault) and has one override block for light and one for dark. Set ROLE\nvariables there only (`--primary`, `--primary-hover`, `--link`, `--focus`,\n`--ring`, `--accent`\u002F`--accent-foreground`, `--input`, `--\u003Ctone>`\u002F`-soft`\u002F\n`-ink`, radii, shadows, `--font-sans`) in BOTH blocks (the host's dark mode\nmatches `:root` too). Miragon blue also sits in `--info`, `--chart-1\u002F-3` and\n`--sidebar-*`; set those too for a single brand. The neutrals (surfaces, the\ntext on them, `--border`) are the host's: a host that sends SEP-1865 style\nvariables writes them inline on `\u003Chtml>`, so a value set in brand.css shows\nonly where the host sends none. Check your colours against a light and a\ndark host surface. Never set the `--cd-*` tokens, never colour a widget with\npalette classes. `server\u002Ftest\u002Fbrand.test.ts` measures the role and tone\npairs (text and each `-foreground` on its fill 4.5:1, edges, dots, icons and\nthe focus ring 3:1) in light and dark over the Miragon neutrals; charts, the\nsidebar, radii, shadows and fonts it does not measure. The widgets follow the\nhost's theme; there is no theme switch in the app.\n\n## Step 5: Docker and production\n\n```bash\npnpm install                    # commit pnpm-lock.yaml if it changed\ndocker build -t my-mcp-server .\ndocker compose up -d --wait     # compose.yaml's engine, on the network pulse-starter_default\ndocker run --rm --env-file .env -p 127.0.0.1:8400:8400 \\\n  --network pulse-starter_default \\\n  -e ENGINE_BASE_URL=http:\u002F\u002Fengine:8080\u002Fengine-rest \\\n  -e ENGINE_COCKPIT_URL=http:\u002F\u002Flocalhost:8410\u002Fwebapp \\\n  my-mcp-server\n```\n\n- Config comes from the environment; the image does not read `.env` itself.\n  `--env-file` hands it over (so `MCP_ACTIVE_MODULES`, `ENGINE_ID`, `ENGINE_FLAVOR`\n  and the engine auth match the local run), and the `-e` flags after it win. Unlike dotenv it\n  reads plain `KEY=VALUE` lines: quotes and a trailing `# comment` stay in the\n  value. A dev-only `PORT` or `MCP_URL` in `.env` comes along too (a `PORT`\n  other than 8400 misses `-p …:8400:8400`): drop it or override it with `-e`.\n- Inside the container `localhost` is the container, so the server joins the\n  engine's Docker network and reaches it by its service name and port:\n  `engine:8080` on `pulse-starter_default`, the network the `name:` in\n  `compose.yaml` fixes. For the Pulse playground's engine, join\n  `pulse_default` instead with `-e ENGINE_BASE_URL=http:\u002F\u002Fcibseven:8410\u002Fengine-rest`\n  and `-e ENGINE_ID=prod-a`. That works alike on Linux and\n  under Docker Desktop; `host.docker.internal` does not: on Linux it is the\n  Docker bridge's gateway, which misses a port published on `127.0.0.1`, where\n  both engines publish theirs. An engine the container reaches by its address\n  needs no `--network`, only its URL in `ENGINE_BASE_URL`.\n- `ENGINE_COCKPIT_URL` stays on `localhost`: the user's browser opens those\n  links. Without it the cockpit links derive from the engine URL and point at\n  `engine:8080`, which a browser on the host does not resolve.\n  `-p 127.0.0.1:8400:8400` publishes the server on the host's loopback only.\n- `PORT` sets the HTTP port (default 8400); `MCP_URL` is the public base URL\n  when running behind a proxy or MCP gateway and, with\n  `MCP_ALLOWED_HOSTS`\u002F`MCP_ALLOWED_ORIGINS`, the only non-localhost\n  `Host`\u002F`Origin` the server accepts: anything else gets 403 (DNS-rebinding\n  protection), with the message naming the variable to set. It is also the\n  origin the views load Geist from (the server's own `\u002Ffonts\u002Fgeist-\u003Cversion>\u002F`\n  route, declared in every bundle view's CSP `resourceDomains`): behind a gateway,\n  route `\u002Ffonts\u002F` to the server too, or the views show the host's font.\n- Federation\u002Faggregation across MCP servers belongs in an external gateway\n  (e.g. agentgateway) IN FRONT of this server; this repo builds one\n  self-contained server; don't add upstream\u002Fproxy mechanics to it.\n\n## Step 6: connect an assistant\n\nThe server speaks streamable HTTP on `\u002Fmcp`; how a host gets there differs per\nhost.\n\n**Claude Desktop** takes stdio servers ONLY: its `claude_desktop_config.json`\nvalidates the `command`\u002F`args` shape, and a `\"url\"` entry is dropped silently\n(older builds crashed at startup instead). Bridge the HTTP endpoint with\n`mcp-remote`, via Settings → Developer → Edit Config\n(macOS `~\u002FLibrary\u002FApplication Support\u002FClaude\u002Fclaude_desktop_config.json`,\nWindows `%APPDATA%\\Claude\\claude_desktop_config.json`), then restart the app:\n\n```json\n{\n  \"mcpServers\": {\n    \"my-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mcp-remote\", \"http:\u002F\u002F127.0.0.1:8400\u002Fmcp\", \"--transport\", \"http-only\"]\n    }\n  }\n}\n```\n\n`127.0.0.1` over `localhost`: Node may resolve the name to IPv6 while the\nserver listens on IPv4. Connection problems show up in the host's MCP logs:\n`~\u002FLibrary\u002FLogs\u002FClaude\u002Fmcp*.log` (Windows: `%APPDATA%\\Claude\\logs`).\n\n**Claude Code** speaks HTTP natively, no bridge:\n\n```bash\nclaude mcp add --transport http my-mcp-server http:\u002F\u002Flocalhost:8400\u002Fmcp\n```\n\n**claude.ai \u002F ChatGPT custom connectors** need a server reachable over the\npublic internet (an `https:\u002F\u002F…\u002Fmcp` URL), so a deployment, not localhost. For\na throwaway test of a local build, and for what the inspector cannot show (a\nhand-off to the chat, the context a view hands the model, the host's locale),\ntunnel the running `pnpm dev` with Cloudflare's\n[`cloudflared`](https:\u002F\u002Fdevelopers.cloudflare.com\u002Fcloudflare-one\u002Fconnections\u002Fconnect-networks\u002Fdo-more-with-tunnels\u002Ftrycloudflare\u002F):\n\n```bash\ncloudflared tunnel --url http:\u002F\u002Flocalhost:8400   # prints https:\u002F\u002F\u003Crandom>.trycloudflare.com\n```\n\nThen set `MCP_URL` in `.env` to that `https:\u002F\u002F` origin and restart `pnpm dev`:\nthe server answers 403 to any other `Host` (DNS-rebinding protection), and\n`MCP_URL` is also the origin the views load their font from. Add\n`\u003CMCP_URL>\u002Fmcp` as the connector's URL. The tunnel is public: anyone with the\nURL reaches the server, so keep the read-only default and stop the tunnel\nwhen you are done. Cloudflare lists Server-Sent Events as unsupported on quick\ntunnels, and the server answers most requests as a short event stream: should\na host's calls hang, run a named Cloudflare Tunnel (a Cloudflare account) instead.\nA built server (`pnpm start`, the image) behind a tunnel or proxy needs the\nsame `MCP_URL`.\n\n## Step 7: verify\n\n```bash\npnpm build && pnpm typecheck && pnpm test\n```\n\nThen a functional pass in the inspector: `engine_list_engines` (engines\nconfigured), one cheap read such as `engine_list_process_definitions` (engine\nreachable, auth works) and the cockpit (`engine_open_cockpit`). A clean boot log (no\nunknown-var or no-engine warnings) is part of done.\n\n## Troubleshooting\n\n| Symptom                                   | Cause                                                                                                                                                                                                                                                                       |\n| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Every in-widget query hangs on \"Loading…\" | `resolve.dedupe` in `server\u002Fvite.config.ts` no longer spreads `VIEW_BUNDLE_DEDUPE`, or a second copy of React, the kit, widget-shell or lucide-react got installed                                                                                                          |\n| Widgets render unstyled                   | widget sources outside the Tailwind scan set (workspace modules are globbed; npm-installed ones need an `@source` in `server\u002Fsrc\u002Fui\u002Fglobals.css`)                                                                                                                           |\n| Cockpit links open the wrong web app      | the engine's vendor: without `ENGINE_FLAVOR` (or a `flavor` per engine entry) it counts as Camunda 7                                                                                                                                                                        |\n| \"Unknown environment variable\" at boot    | typo, or a var this build doesn't read; `.env.example` is the authoritative list                                                                                                                                                                                            |\n| Widget or module changes don't show up    | a widget edit rebuilds the bundle and restarts the server by itself, so reopen the view; a module's tools are built once, when `pnpm dev` starts: restart it at the repo root                                                                                               |\n| A tool is missing                         | module not in `MCP_ACTIVE_MODULES` (the copied `.env` names `engine,notes`, not a module you added), or its toolset filtered it; with no suffix and no OAuth it is `read-only` (see the boot log's `Toolsets:` line); deployments also need `ENGINE_ALLOW_DEPLOYMENTS=true` |\n| The boot refuses an unknown module        | `MCP_ACTIVE_MODULES` in `.env` still names a module you removed from `MODULES`, or a typo: take it out of the list                                                                                                                                                          |\n| Engine tools show, your module's don't    | another server holds 8400 (the stock Pulse image, say): your server logged `listen EADDRINUSE` and did not start; free 8400 or set `PORT`                                                                                                                                   |\n| Claude Desktop shows no tools at all      | a `\"url\"` entry in `claude_desktop_config.json` (stdio only, use the `mcp-remote` bridge from Step 6), or the app wasn't restarted                                                                                                                                          |\n",{"name":5,"description":7,"allowed-tools":54},"Read, Edit, Write, Glob, Grep, Bash","main","ff711bb6e1eb952767e56e3bdd4d7c249ced5b68","templates\u002Fcomposed-server\u002F.claude\u002Fskills\u002Fsetup-server",0,"https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse","https:\u002F\u002Fmiragon.github.io\u002Fpulse\u002F","https:\u002F\u002Fgithub.com\u002FMiragon","https:\u002F\u002Fwww.miragon.io","We enable organizations to become truly digital.","2026-11-14 23:44:07",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Miragon\u002Fpulse --skill setup-server",{"tool":71,"command":72},"bunx","bunx skills add Miragon\u002Fpulse --skill setup-server",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Miragon\u002Fpulse --skill setup-server","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002Ftemplates\u002Fcomposed-server\u002F.claude\u002Fskills\u002Fsetup-server\u002FSKILL.md",true,[],[80,89,116,143,168,192],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":49},"01M6ENA321FCXRTT8X06D0K4A0","create-module","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002Ftemplates\u002Fcomposed-server\u002F.claude\u002Fskills\u002Fcreate-module\u002FSKILL.md",[],[86,87,88],"create module","module","create",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":98,"publishedAt":49},"01M6EN9ZEDJZMEAJH3RP50NV5S","add-widget","Step-by-step house pattern for adding an interactive widget to a module (the React component built from the design kit `@miragon\u002Fpulse-ui` and widget-shell's view runtime, the `show_*` widget tool, the app-only `*_data` feed, the view map keyed by the show tool's name, and a widget test under `TestViewHost`). Use whenever adding or changing widgets, `show_*` tools, `*_data` feeds, in-widget data fetching, or when debugging a widget that renders empty, unstyled, or hangs on \"Loading…\".","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002Ftemplates\u002Fcomposed-server\u002F.claude\u002Fskills\u002Fadd-widget\u002FSKILL.md",[95],{"categoryNo":96,"categoryName":97,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发",[99,100,101,102,103,104,105,87,106,38,107,34,108,109,110,111,112,113,114,115],"add widget","widget","add","app","feeds","show","tool","only","debugging","view","for","loading","runtime","design","kit","map","when",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":49},"01M6EN9PRZFNEA99X41BWPYVAB","pulse-cli","Inspect and operate Camunda 7, Operaton and CIB seven process engines through their REST API with the Pulse CLI (deployments, process instances, user tasks, external tasks, incidents, jobs, history, variables, decisions), and drive process instances with its workflow commands (inspect, wait, advance, retry, deploy, status). Use it whenever a task needs to read or change the state of such an engine.","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002Fapps\u002Fcli\u002Fskills\u002Fpulse-cli\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],"pulse cli","pulse","cli","instances","history","advance","deployments","workflow","tasks","api","operate","retry","inspect","incidents","Variables","change","read","commands","status","wait",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":49},"01M6EN9J8S9R51AP99F0YBBQM7","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", or \"switch to --preset\".","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[145,102,150,151,152,153,154,155,156,157,107,158,159,160,161,88,162,163,164,165,166,109,115,167],"projects","component docs","switch","project","init","triggers","codes","false","file","components","examples","preset","component","json","project context","styling","usage","with",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":176,"publishedAt":49},"01M6EN9ETKR0TQJRVBVEHW17VM","mcp-apps-builder","Where to look before changing MCP server code in this repo (tools, resources, prompts, widgets, auth). Points to the house skills, the CLAUDE.md invariants, widget-shell's view runtime and the official MCP SDK's typings and docs; it teaches no framework API itself.","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fmcp-apps-builder\u002FSKILL.md",[174,175],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":26,"categoryName":27,"taxonomyType":20,"taxonomyTypeDesc":21},[177,39,178,179,180,29,181,182,183,184,185,38,33,186,108,111,187,188,100,132,189,190,191],"builder","apps","mcp apps builder","mcp apps","resources","widgets","auth","repo","look","code","shell","invariants","official","mcp sdk","sdk",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":201,"publishedAt":49},"01M6EN9BKN04C3NG1Q6CXBR92T","create-ticket","Create or update a GitHub issue for Pulse using the `gh` CLI. Use when the user asks to \"file a bug\", \"create a feature request\", \"open a GitHub issue\", or \"update an existing one\". Supports feature, bug, and refactor issue types with structured templates; shows a draft for confirmation before creating or editing; looks up existing issues by number or URL for updates.","https:\u002F\u002Fgithub.com\u002FMiragon\u002Fpulse\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcreate-ticket\u002FSKILL.md",[198],{"categoryNo":199,"categoryName":200,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查",[202,88,203,204,205,206,41,40,207,208,38,209,34,158,210,109,211,212,213,214,115],"ticket","create ticket","types","feature","editing","open","gh","confirmation","draft","Existing","updates","number","URL"]