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

@taskjp/server-systemd-coredump

v0.1.1

Published

A Model Context Protocol (MCP) server for systemd-coredump

Readme

@taskjp/server-systemd-coredump

A Model Context Protocol (MCP) server for interacting with systemd-coredump functionality. This enables MCP-capable applications to access, manage, and analyze system core dumps.

Prerequisites

  • Node.js 18+ and npm
  • systemd-coredump must be installed and configured on the system
  • coredumpctl command-line utility must be available
  • For stack trace functionality: gdb must be installed

Installation

Global Installation (recommended for CLI usage)

npm install -g @taskjp/server-systemd-coredump

Local Installation (for use in a project)

npm install @taskjp/server-systemd-coredump

Usage

As an MCP Server

  1. Add the server to your MCP configuration file:
"systemd-coredump": {
  "command": "node",
  "args": ["node_modules/@taskjp/server-systemd-coredump/build/index.js"],
  "disabled": false,
  "autoApprove": []
}

If installed globally:

"systemd-coredump": {
  "command": "systemd-coredump-server",
  "args": [],
  "disabled": false,
  "autoApprove": []
}
  1. Connect to it using any MCP client or language model.

Testing with MCP Inspector

Use the MCP Inspector to test the server directly:

npx @modelcontextprotocol/inspector node_modules/@taskjp/server-systemd-coredump/build/index.js

Or if installed globally:

npx @modelcontextprotocol/inspector systemd-coredump-server

Available Tools

The server provides the following tools:

  1. list_coredumps: List available coredumps in the system

    • Optional parameter: onlyPresent (boolean) - When true, only returns coredumps with COREFILE=="present"
  2. get_coredump_info: Get detailed information about a specific coredump

    • Required parameter: id (string) - ID of the coredump
  3. extract_coredump: Extract a coredump to a file

    • Required parameters:
      • id (string) - ID of the coredump
      • outputPath (string) - Path where to save the extracted coredump
  4. get_coredump_config: Get the current core dump configuration of the system

  5. set_coredump_enabled: Enable or disable core dump generation

    • Required parameter: enabled (boolean) - Whether to enable or disable core dumps
  6. get_stacktrace: Get stack trace from a coredump using GDB

    • Required parameter: id (string) - ID of the coredump

Available Resources

The server exposes two types of resources:

  1. Coredump Information

    • URI format: coredump:///<id>
    • Returns JSON with detailed coredump information
  2. Stack Traces

    • URI format: stacktrace:///<id>
    • Returns a formatted stack trace from the coredump

Where <id> is the unique identifier for a coredump in the format: <timestamp>-<pid>.

Note on Permissions

Some operations may require elevated privileges, especially when extracting or removing coredumps. Ensure the user running the MCP server has appropriate permissions to access system coredumps.

License

MIT