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

@mcpcloud/runtime

v0.2.0

Published

MCPCloud generated-server runtime: transports, config, upstream auth/HTTP, validation, projection, and discovery for MCP servers built on MCPCloud.

Readme

@mcpcloud/runtime

The runtime for MCP servers generated by MCPCloud. Generated bundles are data + handlers; this package provides the behavior: transports, configuration, upstream auth (API key + delegated OAuth with URL elicitation), request building, input validation, response projection, and wrapper-mode tool discovery.

Usage (generated code)

import { defineServer, toWorkerHandler } from '@mcpcloud/runtime'

import { searchReposDefinition } from './tools/search-repos.definition'
import { executeSearchRepos } from './tools/search-repos'

const server = defineServer({
  identity: {
    serverName: 'GitHub MCP',
    serverVersion: '1.0.0',
    defaultUpstreamBaseUrl: 'https://api.github.com',
    apiKeyHeader: 'Authorization',
    apiKeyPrefix: 'Bearer ',
  },
  discoveryMode: 'all',
  tools: [{ definition: searchReposDefinition, handler: executeSearchRepos }],
})

export default toWorkerHandler(server) // Cloudflare Workers

Other entries:

  • @mcpcloud/runtime/stdiostartStdioServer(server) for local MCP clients.
  • @mcpcloud/runtime/nodeserve(server, { port }) for self-hosted / container deployments (/health + /mcp included).

Configuration

All runtime configuration is environment-driven (UPSTREAM_*, MCP_OAUTH_*, MCP_RUNTIME_AUTH_*). See the .env.example shipped with your exported server for the bindings your server requires. The MCP_OAUTH_RUNTIME_TOKEN platform credential is module-private by design and never appears on the public RuntimeConfig.

Versioning

Semver. The public API is everything exported from the three entries; minified internals are not API. Deployed and exported servers pin exact versions.

License

Proprietary. Use with MCPCloud-generated servers (including self-hosted) is permitted; redistribution and competing use are not. Full text:

MCPCloud Runtime License

Copyright (c) 2026 MCPCloud.sh. All rights reserved.

Permission is granted to use this package, in unmodified form, as the runtime dependency of MCP servers generated by the MCPCloud platform — including running such servers on MCPCloud-managed infrastructure, locally, or on infrastructure you operate yourself.

The following are NOT permitted without prior written consent from MCPCloud:

  1. Redistributing this package, or modified versions of it, other than as the unmodified dependency of an MCPCloud-generated server.
  2. Using this package, in whole or in part, to build, operate, or improve a product or service that competes with MCPCloud, including MCP server generation, hosting, or distribution platforms.
  3. Removing or altering this license, the copyright notice, or any embedded attribution.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The same text ships as LICENSE inside the package.