Skip to content

betterhyq/npx-mcp-template

Repository files navigation

packageName

npm version npm downloads license

Usage

Install the package:

# npm
npm installg packageName

# yarn
yarn addg packageName

# pnpm
pnpm addg packageName

# bun
bun installg packageName

# deno
deno installg npm:packageName

NPX Cursor Config

{
  "mcpServers": {
    "packageCommand": {
      "command": "npx",
      "type": "stdio",
      "transportType": "stdio",
      "args": [
        "-y",
        "packageCommand"
      ]
    }
  }
}

Http Cursor Config

start the service locally

packageCommand --http --port=4000

set the config

{
  "mcpServers": {
    "packageCommand": {
      "url": "http://0.0.0.0:4000/sse",
      "type": "sse",
      "transportType": "sse"
    }
  }
}

License

Published under the MIT license. Made by community 💛


🤖 auto updated with automd

About

Node MCP Starter

Topics

Resources

License

Stars

Watchers

Forks

Contributors