npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mikser-io-mcp

v1.0.0

Published

MCP (Model Context Protocol) substrate and tools for mikser-io. Extracted from core to iterate on its own release cadence.

Readme

mikser-io-mcp

MCP (Model Context Protocol) substrate and tools for mikser-io. Ships as a plugin (not in core) so MCP can iterate on its own release cadence without forcing a mikser-io version bump on every change.

What it ships

  • The MCP substratecreateMcpSubstrate, per-session McpServer + transport via mountMcpOnExpress, the pino-to-MCP log bridge wireLoggerToMcp. Other plugins compose against runtime.options.mcp to register their own tools and resources.
  • Built-in resourcesmikser://config, mikser://lifecycle, mikser://logs, mikser://server. Read-only introspection any MCP client can use.
  • Built-in toolsmikser_ping (liveness + identity), mikser_query_entities / mikser_read_entity / mikser_update_entity / mikser_delete_entity / mikser_render (catalog CRUD + render over the engine's public catalog API), mikser_refs_inbound / mikser_refs_outbound / mikser_refs_broken / mikser_refs_rename (reverse-reference graph from runtime.refs), mikser_layouts_inspect (template + variables + sample entities for a layout).
  • The MCP-UI surfaceui://mikser/preview-ui-shell resource (MCP Apps spec shell), mikser_preview_ui (render an entity's mcpUi layout to the spec), mikser_ui_action (action delivery + optional HMAC-signed webhook forwarding), mcp-ui/modes resource for layout discovery, plus mikser_preview_render for rendering an entity through the pipeline and returning a clickable preview URL.

Install

npm install mikser-io-mcp

Peer dependencies: mikser-io ^9.0.0, zod ^4.0.0.

Activate

Import the mcp factory and call it first in your mikser project's plugins array — the closure runs synchronously and creates runtime.options.mcp so any plugins that register tools (api, layouts, refs, vector, etc.) can gate on it at their own onLoaded hook:

// mikser.config.js
import { mcp } from 'mikser-io-mcp'

export default {
    plugins: [
        mcp({
            path: '/mcp',          // optional; default '/mcp' (also serves as the base for `endpoints` below)
            endpoints: { /* … */ } // optional; same shape as the in-core era
        }),
        /* … your other plugins */
    ],
}

Calling mcp() with no options is a no-op activation — the factory runs but creates no substrate and mounts no transport. To skip MCP entirely, leave the factory call out of plugins.

Run mikser with --server; the MCP transport mounts at the configured path on the same Express server the api / preview / data plugins use.

Register with a client

Once the plugin is installed in your mikser project, the package ships a CLI you can invoke via npx to connect MCP-speaking clients. Connector name + description are read automatically from the project's package.json.

Claude Desktop

npx mikser-io-mcp register claude                                  # default URL http://localhost:3001/mcp
npx mikser-io-mcp register claude --url http://localhost:4000/mcp  # custom port
npx mikser-io-mcp register claude --dry-run                        # show what would change
npx mikser-io-mcp register claude --force                          # overwrite a different existing entry
npx mikser-io-mcp register claude --unregister                     # remove the entry

Writes a mcpServers entry into Claude Desktop's per-OS config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

The entry launches supergateway (npx-installed on demand) as a stdio→streamable-HTTP bridge to your running mikser server. Fully quit + reopen Claude Desktop after registering.

ChatGPT

npx mikser-io-mcp register chatgpt --url https://YOUR-TUNNEL.example/mcp

ChatGPT's MCP integration is server-side — OpenAI's servers connect to your MCP endpoint directly. localhost is unreachable; you must expose mikser via a public tunnel (ngrok http 3001, Cloudflare Tunnel, etc.) before running this.

The script doesn't write a file (ChatGPT has no local config). It prints the three fields (Name, Description, MCP Server URL) you paste into ChatGPT's UI: Settings → Connectors → Advanced → Developer mode → Create.

Notes:

  • ChatGPT Developer mode + custom MCP connectors are beta and require a Plus / Pro / Business / Enterprise / Edu account.
  • Connectors don't auto-enable per chat — toggle on each new conversation.

Documentation

License

MIT. See LICENSE.