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

@shaykec/ai-native-engineer

v1.0.5

Published

MCP server for AI-Native Engineer templates

Readme

AI-Native Templates MCP Server

MCP server that provides AI-Native Engineer templates for syncing to your projects.

Overview

This MCP server is a pure data provider. It fetches templates from GitHub and returns them with llmInstructions that guide the AI agent on how to handle each file. The agent (not the MCP) performs all file operations.

Prerequisites

  • Node.js 20+
  • gh CLI installed and authenticated:
# Install gh CLI
brew install gh  # macOS
# or see https://cli.github.com/

# Authenticate
gh auth login

Installation

Via npx (recommended)

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "ai-native-engineer": {
      "command": "npx",
      "args": ["@shaykec/ai-native-engineer"]
    }
  }
}

Local development

cd mcp-server
npm install
npm run build

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "ai-native-engineer": {
      "command": "node",
      "args": ["/path/to/mcp-server/dist/index.js"]
    }
  }
}

Usage

Single Tool: templates

This MCP exposes one tool with two modes:

List Templates

templates({ mode: "list" })

Returns array of available templates with descriptions:

{
  "templates": [
    { "path": "templates/root/AGENTS.md", "destPath": "AGENTS.md", "description": "Core AI agent instructions." },
    { "path": "templates/cursor-rules/security.mdc", "destPath": ".cursor/rules/security.mdc", "description": "Security rules." }
  ]
}

Sync Templates

templates({ mode: "sync" })

Returns all templates with content and handling instructions:

{
  "templates": [
    {
      "destPath": "AGENTS.md",
      "content": "# AGENTS.md - AI Agent Instructions...",
      "llmInstructions": {
        "purpose": "Core AI agent instructions.",
        "action": "merge",
        "preserve": ["Quick Reference Commands", "Project Overview"],
        "update": ["Critical Rules", "Workflows"],
        "hints": "Keep project-specific content, update process sections."
      }
    }
  ],
  "latestCommit": "abc1234",
  "globalInstructions": "For each template..."
}

llmInstructions Actions

| Action | Behavior | |--------|----------| | create-if-missing | Only create file if it doesn't exist | | overwrite | Replace file entirely with template | | merge | Use preserve/update arrays to intelligently merge |

Templates Included

  • Root docs: AGENTS.md, CONTRIBUTING.md, SECURITY.md, TESTING.md
  • Cursor rules: always.mdc, security.mdc, testing.mdc, code-style.mdc, architecture.mdc
  • Scripts: start-issue.sh, finish-issue.sh, check-ci.sh, setup.sh, etc.
  • GitHub: PR template, issue templates, CI workflows
  • Knowledge: DECISIONS.md, KNOWN_ISSUES.md, LESSONS_LEARNED.md

How It Works

  1. Templates are stored in shayke-cohen/ai-native-engineer GitHub repo
  2. MCP fetches templates via gh api (uses your existing GitHub auth)
  3. Templates are cached for 1 hour
  4. Agent receives templates + llmInstructions
  5. Agent reads existing files, applies merge logic, writes files
  6. No file system access needed by MCP - agent handles everything

Agent Workflow

When a user asks to sync templates:

  1. Agent calls templates({ mode: "sync" })
  2. For each template in response:
    • Read existing file at destPath (if any)
    • Apply action from llmInstructions
    • Write file using agent's file tools
  3. Report: X created, Y updated, Z skipped
  4. Remind user: chmod +x scripts/*.sh

Source Repository

Templates: https://github.com/shayke-cohen/ai-native-engineer

Related