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

container-mcp-server

v0.1.3

Published

MCP Server for Apple Container CLI operations

Readme

Apple Container MCP Server

A Model Context Protocol (MCP) server that provides Apple Container CLI integration for AI assistants and automated workflows.

npm version TypeScript MIT License

中文文档 | English

🚀 Features

Container Lifecycle Management

  • Create & Run: Create containers with advanced configuration options
  • Start & Stop: Manage container lifecycle with proper signal handling
  • Delete: Clean removal with force options for running containers
  • Execute: Run commands inside containers with full environment control
  • Logs: Stream or fetch container logs with filtering options
  • Inspect: Get detailed container information and configuration

Image Management

  • List: View all available images with metadata
  • Pull: Download images from registries with progress tracking
  • Push: Upload images to registries
  • Build: Build custom images from Dockerfiles
  • Inspect: Examine image details and layer information
  • Tag: Create image tags and aliases
  • Delete: Remove unused images and free up space

System Operations

  • Status: Monitor Apple Container system health
  • Start/Stop: Control the container runtime system
  • Logs: Access system-level logging and diagnostics
  • Registry: Manage registry authentication and configuration
  • Builder: Control the image builder service

🛠️ Usage

Prerequisites

  • Node.js or Bun: Node.js 18.0.0+ or Bun 1.0.0+
  • Apple Container: Apple Container CLI must be installed and available in PATH

Install Apple Container CLI

Download and install the Apple Container CLI from the official releases:

Apple Container Releases

MCP Configuration

Add to your MCP configuration file (typically ~/.config/mcp/config.json):

With Bun (recommended):

{
  "mcpServers": {
    "container": {
      "command": "bunx",
      "args": ["container-mcp-server/src/index.ts"]
    }
  }
}

With pnpm + tsx:

{
  "mcpServers": {
    "container": {
      "command": "pnpm",
      "args": ["dlx", "tsx", "container-mcp-server/src/index.ts"]
    }
  }
}

With npm + tsx:

{
  "mcpServers": {
    "container": {
      "command": "npx",
      "args": ["tsx", "container-mcp-server/src/index.ts"]
    }
  }
}

🔧 Available Tools

Container Operations

| Tool | Description | Key Parameters | | ------------------- | -------------------------- | --------------------------------------- | | container_create | Create a new container | image, name, env, ports | | container_run | Create and start container | image, detach, interactive | | container_list | List containers | all, format, quiet | | container_start | Start stopped container | containerId | | container_stop | Stop running container | containerId, signal, time | | container_kill | Kill container immediately | containerId, signal | | container_delete | Remove containers | containerId, force, all | | container_exec | Execute commands | containerId, command, interactive | | container_logs | Fetch container logs | containerId, follow, tail | | container_inspect | Detailed container info | containerId |

Image Operations

| Tool | Description | Key Parameters | | --------------- | --------------------- | --------------------------------- | | image_list | List available images | format, quiet | | image_pull | Download images | reference, platform | | image_push | Upload images | reference, platform | | image_build | Build from Dockerfile | tag, contextDir, dockerfile | | image_inspect | Examine image details | images | | image_tag | Create image tags | source, target | | image_delete | Remove images | images, all | | image_save | Export to archive | reference, output | | image_load | Import from archive | input | | image_prune | Clean unused images | - |

System Operations

| Tool | Description | Key Parameters | | ----------------- | ------------------------ | -------------------------------- | | system_status | Check system health | - | | system_start | Start container system | debug, path | | system_stop | Stop container system | - | | system_logs | System diagnostics | follow, last | | registry_login | Authenticate to registry | server, username, password | | registry_logout | Sign out from registry | registry | | builder_start | Start image builder | cpus, memory | | builder_stop | Stop image builder | - | | builder_status | Builder information | json |

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Clone repository
git clone https://github.com/elliothux/trunktail
cd packages/mcp-server

# Install dependencies
bun install

# Start development server
bun run dev

# Run tests
bun test

# Build for production
bun run build

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments