MCP.so
Sign In
Servers
A

Arch Mcp

@nihalxkumar

Arch MCP provides three main capabilities:

Disclaimer: Unofficial community project, not affiliated with Arch Linux.

A Model Context Protocol (MCP) server that bridges AI assistants with the Arch Linux ecosystem. Enables intelligent, safe, and efficient access to the Arch Wiki, AUR, and official repositories for AI-assisted Arch Linux usage on Arch and non-Arch systems.

Leverage AI to get output for digestible, structured results that are ready for follow up questions and actions.

📖 Complete Documentation with Comfy Guides

Sneak Peak into what's available

Claude Desktop (no terminal)

Claude Desktop Demo

VS Code (with terminal)

VS Code Demo

Resources (URI-based Access)

Direct access to Arch ecosystem data via custom URI schemes:

URI SchemeExampleReturns
archwiki://archwiki://Installation_guideMarkdown-formatted Wiki page
aur://*/pkgbuildaur://yay/pkgbuildRaw PKGBUILD with safety analysis
aur://*/infoaur://yay/infoAUR package metadata (votes, maintainer, dates)
archrepo://archrepo://vimOfficial repository package details
pacman://installedpacman://installedSystem installed packages list (Arch only)

Tools (Executable Functions)

CategoryToolDescriptionKey Features
Searchsearch_archwikiQuery Arch Wiki documentationRanked results, keyword extraction
search_aurSearch AUR packagesSmart ranking: relevance/votes/popularity/modified
get_official_package_infoLookup official packagesHybrid local/remote, detailed metadata
Systemcheck_updates_dry_runCheck for updates (Arch only)Read-only, safe, requires pacman-contrib
Installationinstall_package_secureSecure package installationAuto security checks, blocks malicious packages, uses paru/yay
Securityanalyze_pkgbuild_safetyComprehensive PKGBUILD analysisDetects: malicious commands based on 50+ red flags
analyze_package_metadata_riskPackage trust evaluationAnalyzes: votes, maintainer, age, updates, trust scoring

Prompts (Guided Workflows)

PromptPurposeWorkflow
troubleshoot_issueDiagnose system errorsExtract keywords → Search Wiki → Context-aware suggestions
audit_aur_packagePre-installation safety auditFetch metadata → Analyze PKGBUILD → Security recommendations
analyze_dependenciesInstallation planningCheck repos → Map dependencies → Suggest install order

Installation

Prerequisites

  • Python 3.11+
  • uv (recommended) or pip

Quick Install with uvx

uvx arch-ops-server

Configuration

Claude / Cursor / Any MCP client that supports STDIO transport

{
  "mcpServers": {
    "arch-ops": {
      "command": "uvx",
      "args": ["arch-ops-server"]
    }
  }
}

Contributing

Contributions are greatly appreciated. Please feel free to submit a pull request or open an issue and help make things better for everyone.

Contributing Guide

License

GPL-3.0-only

More from Other