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

@cooperco/nuxt-layers-mcp

v1.0.0

Published

MCP server exposing CooperCo Nuxt layer documentation as resources for AI assistants

Downloads

51

Readme

@cooperco/nuxt-layers-mcp

MCP server that exposes CooperCo Nuxt layer documentation as structured resources for AI assistants.

Why

AI assistants in downstream projects can't see what the layers provide without digging through node_modules. This server exposes that documentation on demand via MCP resources.

Setup in consumer projects

Add to your project's .mcp.json:

{
  "mcpServers": {
    "cooperco-layers": {
      "command": "npx",
      "args": ["@cooperco/nuxt-layers-mcp"]
    }
  }
}

Once configured, AI assistants that support MCP can read the resources listed below to understand what the CooperCo layers provide.

Resources

| URI | Name | Description | |---|---|---| | cooperco://layers/overview | CooperCo Nuxt Layers — Overview | Available layers, npm package names, installation, dependency chain, and common setup patterns | | cooperco://layers/base | Base Layer | Foundational Nuxt 4 layer — ESLint, i18n, a11y, hints, optional Loggly logging, useLogger() composable | | cooperco://layers/ui | UI Layer | Nuxt UI v4, Tailwind CSS 4, icon sets (Lucide, SimpleIcons), app config defaults | | cooperco://layers/seo | SEO Layer | Sitemap generation and robots.txt for Nuxt projects — zero config needed for basic usage |

For maintainers: Working on this package

Repository layout

  • Package root: mcp-server
  • Source: mcp-server/src/
    • index.ts — server entry point
    • resources/ — one file per resource (overview.ts, base.ts, ui.ts, seo.ts)
  • Built output: mcp-server/dist/

Development scripts

# From mcp-server
npm install
npm run build        # compile TypeScript

Test with the MCP inspector:

npx @modelcontextprotocol/inspector node dist/index.js

Publishing to npm (tag-based)

This package is published via GitHub Actions when you push a tag that matches mcp-vX.Y.Z.

High-level flow:

  • Bump the version in mcp-server/package.json (SemVer)
  • Commit and push to main
  • Create and push a tag mcp-vX.Y.Z matching the version
  • CI checks whether the version exists on npm and publishes if not

Important notes:

  • Do NOT rely on npm version to create the tag (it creates vX.Y.Z). Create mcp-vX.Y.Z yourself.
  • publishConfig.access is set to public; publishes are public to npmjs.
  • The workflow skips if the exact version already exists.

Step-by-step

  1. Bump version without creating a tag:
cd mcp-server
npm version patch --no-git-tag-version  # or minor | major
  1. Commit and push:
git add mcp-server/package.json
git commit -m "chore(mcp): bump version"
git push origin main
  1. Tag and push:
cd mcp-server
VERSION=$(node -p "require('./package.json').version")
cd ..
git tag "mcp-v$VERSION"
git push origin "mcp-v$VERSION"
  1. CI will publish
  • Workflow: .github/workflows/publish-mcp.yml
  • Auth: NPM_TOKEN GitHub secret

Troubleshooting

  • Version exists: bump again and retag
  • 401/403: ensure NPM_TOKEN is configured and has access