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

devkit-mcp

v0.1.2

Published

Custom MCP server dev kit for Next.js + Supabase + OpenAI golden paths.

Readme

devkit-mcp

Custom MCP server that scaffolds and enforces a standard Next.js (App Router) + Supabase + OpenAI architecture.

Run (stdio)

Most MCP clients run local servers over stdio:

{
  "command": "npx",
  "args": ["-y", "devkit-mcp"]
}

Client configuration

This server is a stdio MCP server. Most clients support a config where you provide a command and args.

Codex CLI

Edit ~/.codex/config.toml and add a new mcp_servers entry:

[mcp_servers.devkit_mcp]
command = "npx"
args = ["-y", "devkit-mcp"]

If you want the tools to run against a specific project directory, add cwd:

[mcp_servers.devkit_mcp]
command = "npx"
args = ["-y", "devkit-mcp"]
cwd = "/absolute/path/to/your-nextjs-project"

Claude Desktop

Open your Claude Desktop config JSON and add an entry under mcpServers:

{
  "mcpServers": {
    "devkit-mcp": {
      "command": "npx",
      "args": ["-y", "devkit-mcp"]
    }
  }
}

Common config file locations:

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

Local development (point to your workspace build)

If you want to use the local code without publishing:

{
  "mcpServers": {
    "devkit-mcp-local": {
      "command": "node",
      "args": ["/absolute/path/to/devkit_mcp/dist/bin.js"]
    }
  }
}

Tools (MVP)

All tools return a common envelope:

  • Success: { ok: true, ... }
  • Failure: { ok: false, error: { code, message, details? }, ... }

scaffold_project

Input:

{ "name": "myapp", "packageManager": "pnpm", "dryRun": true }

Creates a minimal Next.js App Router project skeleton under ./myapp.

scaffold_feature

Input:

{ "feature": "deck", "withApi": true, "withUi": true, "dryRun": true }

Creates feature folders/files under:

  • src/server/<feature>/
  • app/api/<feature>/
  • src/components/<feature>/ (optional)

generate_api_route

Input:

{ "route": "/api/deck/create", "method": "POST", "schemaName": "CreateDeck", "dryRun": true }

Creates:

  • app/api/deck/create/route.ts
  • src/server/deck/create.ts

generate_ai_route

Input:

{ "route": "/api/ai/suggest", "schemaName": "SuggestResult", "modelHint": "gpt-5.2", "dryRun": true }

Creates:

  • app/api/ai/suggest/route.ts
  • src/server/ai/suggest.ts
  • Ensures src/server/openai/client.ts and src/env.ts exist.

generate_supabase_module

Input:

{ "table": "decks", "ownerColumn": "user_id", "withRls": true, "dryRun": true }

Creates:

  • supabase/migrations/*_create_decks.sql
  • src/server/supabase/decks.ts

check_conventions

Input:

{ "path": ".", "strict": true }

Reports violations for:

  • Direct process.env.* usage outside src/env.ts
  • API routes not using the standard response helpers
  • Missing Zod validation in app/api/**/route.ts
  • any usage (strict mode)