
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
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 not healthy version release cadence and project activity because the last version was released 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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.