
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
mcpc-server
Advanced tools
Command line program (CLI) and API for starting and working with Minecraft Java Edition servers.
Start a server through the command line:
npx mcpc-server -v 1.18
Or with npm to use programmatically:
npm install mcpc-server
npx mcpc-server --help
npx mcpc-server --version 1.18 --online --path ./my1.18server
any extraneous -- options will be placed inside the server.properties file, e.g. --level-name coolWorld.
see index.d.ts
const mcpcServer = require('mcpc-server')
const onStart = () => console.log('Server started!')
mcpcServer.startServer('1.18.0', onStart, { 'server-port': 25565, 'online-mode': true, path: './bds' })
From minecraft.net downloads
mcpcServer.getLatestVersions().then(console.log)
to get
[
[ '1.21.4', 'release', '2024-12-03T10:24:48+00:00' ],
[ '1.21.4-pre1', 'snapshot', '2024-12-03T10:00:03+00:00' ],
[ '24w46a', 'snapshot', '2024-12-03T10:00:03+00:00' ],
...
[ '1.21.2', 'release', '2024-12-03T06:33:45+00:00' ],
[ '24w40a', 'snapshot', '2024-12-03T06:33:45+00:00' ]
]
mcpc-server - v1.0.0
Minecraft Java Edition Server runner
Usage:
mcpc-server --version latest Start a server on the latest version
mcpc-server --versions List all avaliable versions
mcpc-server -v 1.20 --download Download v1.20
Options:
--version, -v Version to download (use "latest" for latest)
--port Port to listen on for IPv4 (default: 25565)
--online Whether to run in online mode
--path Custom path to the server directory
--versions Passing --versions will list all versions
--dumpRegistries Run all data generators and output to the passed path
--download Download (but not run) the server binary
See the exported TypeScript defs for method docs.
npm test
See history
FAQs
Minecraft Java Edition server tool to run servers with CLI and API
We found that mcpc-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.