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

mcp-apps-conformance

v0.1.2

Published

WPT-style conformance & interop test platform for the MCP Apps spec (SEP-1865). A reference test MCP server ships ui:// test pages that run inside any host and report PASS/FAIL.

Readme

mcp-apps-conformance

Conformance-test any MCP Apps host against the spec (SEP-1865 · 2026-01-26), modeled on web-platform-tests.

The host is the browser. The ui:// page is the WPT test. The bridge is the harness.

A single ui:// page — the TestSuite — renders inside your host's sandboxed iframe, drives the postMessage/JSON-RPC bridge, and asserts your behaviour against the spec. Run it by hand, or drive it from CI.

1 · Serve the suite

No clone, no build — the suite is bundled in:

npx mcp-apps-conformance            # http://localhost:3000/mcp
npx mcp-apps-conformance --stdio    # or stdio, for a desktop host's config

Connect that as an MCP server in your host and prompt the agent:

Run the MCP Apps conformance suite using the run_conformance tool.

The results render in the iframe. When a test needs a host action, an action card appears and It worked / It didn't / Skip records the verdict — so it works with no automation at all.

2 · Automate it against your host

Describe your UI in three hooks; the generic Runner does the rest and hands back SubtestResult[].

npm i -D mcp-apps-conformance playwright
npx playwright install chromium
import { BrowserHost, Runner } from "mcp-apps-conformance";
import type { Page } from "playwright";

class MyHost extends BrowserHost {
  readonly name = "my-host";
  readonly url = "https://my-host.example/chat";
  readonly widgetSelector = 'iframe[src*="my-sandbox-origin"]';

  // Get the agent to render the conformance app.
  protected async sendPrompt(page: Page, appName: string) {
    await page.fill("#composer", `run ${appName}`);
    await page.keyboard.press("Enter");
  }

  // Cookie banner / login wall, if any.
  protected async dismissModal(_page: Page) {}

  // Did this turn actually reach the conversation?
  protected async verifyConversation(page: Page, marker: string, timeoutMs: number) {
    return this.pollMarker(page, (m) => (document.body.innerText.includes(m) ? "found" : "no"),
                           marker, timeoutMs, 3_000);
  }
}

const { results } = await new Runner(new MyHost(), {
  appName: "MCP Apps Conformance",
  profileDir: ".profile/my-host",
}).run();

if (results.some((r) => r.status === "FAIL")) process.exit(1);   // gate CI on the spec

Two things worth knowing:

  • Every capability method is optional. Only setup/teardown are required, so an adapter is useful long before it's complete — a capability you don't implement resolves to unsupported and those tests skip instead of failing.
  • headless stays off by design. Headless Chromium drops cross-origin MessagePort transfers, which breaks the MCP Apps init handshake.

Electron desktop apps work too: override open() to attach over CDP instead of launching Chrome — that's the whole difference (see the bundled Cursor and Goose adapters).

mcp-apps-conformance/protocol is a dependency-free subpath with just the types and the channel constant, for the in-iframe side.

Results & docs

Live cross-host matrix, the architecture, and the requirement catalogue: alpic-ai.github.io/mcp-app-conformance · architecture · how it works

Working on the harness itself? See CONTRIBUTING.md. MIT.