Apt MCP Server

Active

A TypeScript-based Model Context Protocol (MCP) server for controlling the apt package manager on Linux. Designed for integration with AI agents (e.g., Cursor, Claude Desktop, Windsurf) and developer tools, it exposes tools for installing, removing, updating, and querying apt packages using the system's native apt and dpkg binaries with sudo privileges.

Updated 8/4/2025
Key Features

What makes this MCP server special

Query apt packages via MCP tools
Passwordless sudo assumed for all operations
Input validation and robust error handling
Human-readable output for all tools
Designed for stdio transport

Requirements

NPM
Server Information

Status

Active

Version

1.0.0

License

Apache License

Author

https://github.com/GdMacmillan

Installation Guide
Get started with this MCP server in minutes

1. Install the Package

https://github.com/GdMacmillan/apt-mcp-server?tab=readme-ov-file#setup--installation

2. Configuration

{}

3. Usage Example

{ "packages": ["curl"] }