Systemd-Coredump logo

Systemd-Coredump

Organization
signal-slot

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.

Publishersignal-slot
Repositorymcp-systemd-coredump
LanguageJavaScript
Forks
3
Stars
3
Available tools
6
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Systemd-Coredump exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 6 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    3 stars and 3 forks from the linked repository.

systemd-coredump MCP Server

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.

npm version License: MIT

Features

  • List all available coredumps in the system
  • Get detailed information about specific coredumps
  • Extract coredump files to a specified location
  • Remove coredumps from the system

Prerequisites

  • Node.js 18+ and npm
  • systemd-coredump must be installed and configured on the system
  • coredumpctl command-line utility must be available

Installation

From npm (recommended)

Global Installation

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

Local Installation

bash
npm install @taskjp/server-systemd-coredump

From Source

  1. Clone the repository or download the source code
  2. Install dependencies:
bash
cd systemd-coredump-server
npm install
  1. Build the server:
bash
npm run build

Configuration

Add the server to your MCP settings configuration file:

If installed from npm globally:

json
"systemd-coredump": {
  "command": "systemd-coredump-server",
  "args": [],
  "disabled": false,
  "autoApprove": []
}

If installed from npm locally:

json
"systemd-coredump": {
  "command": "node",
  "args": ["node_modules/@taskjp/server-systemd-coredump/build/index.js"],
  "disabled": false,
  "autoApprove": []
}

If installed from source:

json
"systemd-coredump": {
  "command": "node",
  "args": ["/path/to/systemd-coredump-server/build/index.js"],
  "disabled": false,
  "autoApprove": []
}

Usage

Available Tools

The server provides the following tools:

  1. list_coredumps: List all available coredumps in the system

    json
    {
      "name": "list_coredumps"
    }
  2. get_coredump_info: Get detailed information about a specific coredump

    json
    {
      "name": "get_coredump_info",
      "arguments": {
        "id": "2023-04-20 12:34:56-12345"
      }
    }
  3. extract_coredump: Extract a coredump to a file

    json
    {
      "name": "extract_coredump",
      "arguments": {
        "id": "2023-04-20 12:34:56-12345",
        "outputPath": "/path/to/output/core.dump"
      }
    }
  4. remove_coredump: Remove a coredump from the system

    json
    {
      "name": "remove_coredump",
      "arguments": {
        "id": "2023-04-20 12:34:56-12345"
      }
    }
  5. get_coredump_config: Get the current core dump configuration of the system

    json
    {
      "name": "get_coredump_config"
    }

    This tool returns information about the current core dump configuration, including:

    • Whether core dumps are enabled
    • The current core pattern
    • The core size limit
    • Whether systemd is handling the core dumps
  6. set_coredump_enabled: Enable or disable core dump generation

    json
    {
      "name": "set_coredump_enabled",
      "arguments": {
        "enabled": true
      }
    }

    Setting enabled to true will enable core dumps, while false will disable them. Note: This changes the ulimit settings for the current shell. For permanent system-wide changes, root privileges and modification of system configuration files would be required.

  7. get_stacktrace: Get stack trace from a coredump using GDB

    json
    {
      "name": "get_stacktrace",
      "arguments": {
        "id": "2023-04-20 12:34:56-12345"
      }
    }

    This tool uses GDB to extract a formatted stack trace from the coredump. Note: Requires the GDB debugger to be installed on the system.

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>.

For example:

coredump:///2023-04-20 12:34:56-12345
stacktrace:///2023-04-20 12:34:56-12345

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

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "systemd-coredump": {
      "command": "npx",
      "args": [
        "-y",
        "@taskjp/server-systemd-coredump"
      ]
    }
  }
}

Available Tools

  • list_coredumps

    List available coredumps in the system

  • get_coredump_info

    Get detailed information about a specific coredump

  • extract_coredump

    Extract a coredump to a file

  • get_coredump_config

    Get the current core dump configuration of the system

  • set_coredump_enabled

    Enable or disable core dump generation

  • get_stacktrace

    Get stack trace from a coredump using GDB

Use Systemd-Coredump MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Systemd-Coredump is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Systemd-Coredump as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Systemd-Coredump MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "systemd-coredump": {
      "command": "npx",
      "args": [
        "-y",
        "@taskjp/server-systemd-coredump"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Systemd-Coredump MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Systemd-Coredump MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Systemd-Coredump to help me with this task?
Systemd-Coredump
Sure. I read it.
Here is what I found using Systemd-Coredump.

Frequently asked questions

What is the Systemd-Coredump MCP server used for?

Systemd-Coredump is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Systemd-Coredump MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Systemd-Coredump with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Systemd-Coredump MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Systemd-Coredump connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Systemd-Coredump MCP to TypingMind?

Systemd-Coredump runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Systemd-Coredump MCP provide in TypingMind?

Systemd-Coredump exposes 6 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Systemd-Coredump MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Systemd-Coredump requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇