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-github-enterprise-launcher

v1.1.0

Published

Node.js MCP stdio launcher with optional bundled github-mcp-server binary—publish with vendor/ for npx-only installs.

Readme

mcp-github-enterprise-launcher

Node.js stdio launcher for a GitHub Enterprise MCP server binary (for example a github-mcp-server executable). Publish it to npm so teams can run npx mcp-github-enterprise-launcher with env only, or ship the binary inside vendor/ so consumers do not need a separate install path.


See also (sibling projects)

| Project | Purpose | |---------|---------| | SonarQube MCP launcher | mcp-sonarqube-launcher — same pattern for a SonarQube MCP .jar. | | Jira MCP | npm @svasimahmed283/jira-mcp-oauth — full MCP server for Jira. | | Confluence MCP | npm @svasimahmed283/confluence-sso-mcp — full MCP server for Confluence. |


Prerequisites

| Requirement | Notes | |-------------|--------| | Node.js 18+ | Required to run this launcher. | | GitHub MCP binary | Built separately (or supplied by your org). This package only spawns it unless you publish with vendor/. | | GITHUB_PERSONAL_ACCESS_TOKEN | Required by the upstream server for API access; set in MCP env (never commit). |


Quick start (end users)

A — Binary bundled in npm (vendor/)

After your team publishes a tarball that includes vendor/github-mcp-server.exe (Windows) or vendor/github-mcp-server-linux / github-mcp-server-macos, Cursor can use:

"github-enterprise": {
  "command": "npx",
  "args": ["--yes", "mcp-github-enterprise-launcher"],
  "env": {
    "GITHUB_MCP_GH_HOST": "https://github.mycompany.com/",
    "GITHUB_PERSONAL_ACCESS_TOKEN": "<secret>"
  }
}

No GITHUB_MCP_SERVER_PATH is needed when the correct file exists under vendor/.

B — Binary only on disk (no bundle)

Set an explicit path:

"env": {
  "GITHUB_MCP_SERVER_PATH": "C:\\\\tools\\\\github-mcp-server.exe",
  "GITHUB_MCP_GH_HOST": "https://github.mycompany.com/",
  "GITHUB_PERSONAL_ACCESS_TOKEN": "<secret>"
}

CLI args override

If you pass any arguments after the launcher script, they replace the default child argv (same as listing args in older configs: stdio, --read-only, --toolsets, …).


Maintainer workflow

| Step | Command | |------|---------| | Copy binary into vendor/ | node scripts/bundle-github.mjs C:\path\to\github-mcp-server.exe | | Verify before publish | node scripts/verify-bundle.mjs (runs in prepublishOnly) | | Skip check (dry pack only) | set SKIP_BUNDLE_CHECK=1 then npm pack | | Smoke test (needs GITHUB_PERSONAL_ACCESS_TOKEN) | npm run smoke-test | | Publish | npm publish --access public (use a scoped name if the unscoped name is taken) |

Multi-OS: To ship one npm version for Windows + Linux + macOS, run bundle-github.mjs on each platform (or copy CI artifacts) so all expected filenames exist under vendor/ before a single npm publish. The launcher selects the file for process.platform at runtime.

Git: Large binaries under vendor/ are gitignored (except vendor/README.md). The tarball for npm publish still includes vendor/ if those files exist on disk when you pack.


Environment

| Variable | Description | |----------|-------------| | GITHUB_MCP_SERVER_PATH | Overrides bundled binary path. | | GITHUB_MCP_GH_HOST / GH_HOST | GitHub Enterprise host URL (default https://github.com/). | | GITHUB_MCP_TOOLSETS | Comma list (default repos,issues,pull_requests). | | GITHUB_MCP_READ_ONLY | Default true; set 0 or false to omit --read-only. | | GITHUB_PERSONAL_ACCESS_TOKEN | Passed through to the child process (set in MCP host env). |


npm scripts

| Script | Purpose | |--------|---------| | npm run bundle | Runs bundle-github.mjs (pass source path as argv or GITHUB_MCP_SERVER_SRC). | | npm run smoke-test | Starts the launcher briefly; requires a valid token in env for a full pass. |


Troubleshooting

| Symptom | What to do | |---------|------------| | Set GITHUB_MCP_SERVER_PATH | No bundled binary and no env path—run npm run bundle or set GITHUB_MCP_SERVER_PATH. | | Child exits: token not set | Export GITHUB_PERSONAL_ACCESS_TOKEN in MCP env. | | prepublishOnly fails | Add vendor/ binary for the current OS, or SKIP_BUNDLE_CHECK=1 only for testing tarballs. |


License

MIT