Skip to content

Build your own server ​

Miragon/pulse-starter composes Pulse's published modules, the engine tools with their widgets, into an MCP server of your own, next to modules for your own systems. Start your repository from it with "Use this template" on GitHub, or with the GitHub CLI:

sh
gh repo create my-mcp-server --template Miragon/pulse-starter --private --clone

Prerequisites: Node.js 22 from 22.23.4, 24 from 24.22.1, or 26.12.1 and later (the starter's engines) and pnpm 10.32.1 (corepack enable; from Node.js 25 npm i -g pnpm@10.32.1).

First run ​

In a clone of your new repository (after the button on GitHub, git clone it first):

sh
cd my-mcp-server
pnpm install
cp .env.example .env
pnpm dev

pnpm dev serves http://localhost:8400/mcp and starts the official MCP Inspector next to it. Open the URL it prints and render the notes of the example module modules/mcp-notes in its Apps tab: the widget needs no engine. Copying that module is how you start yours; name it in MCP_ACTIVE_MODULES too, since the copied .env runs only engine,notes.

Write a module ​

A module's plugin registers on the official MCP TypeScript SDK itself: register(server) gets the SDK's registerTool, registerPrompt and registerResource, so it follows the SDK docs and MCP Apps. Pulse adds what composes modules into one server: the module contract, the registrar, toolsets that fail closed and the view runtime. The starter's CLAUDE.md holds that contract, its skills walk through a module and a widget, its README covers engines, image and assistants.

A view is a widget in the server's one bundle, which fits almost every module. A module shipped prebuilt brings a finished HTML document as its own resource instead (registerAppResource, showToolBinding(name, title, { resourceUri })): no shared bundle code, no host contexts, its CSP is its own.

Updates ​

Watch the starter's releases (Watch → Custom → Releases): your repository does not update itself. Pulse is below 1.0, so keep its exact pins, update them together and read the changelog. The starter mirrors templates/composed-server/ in Miragon/pulse: report a problem there.