Skip to main content
Glama

Arch Linux MCP Server

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

Resources (URI-based Access)

Direct access to Arch ecosystem data via custom URI schemes:

URI Scheme

Example

Returns

archwiki://

archwiki://Installation_guide

Markdown-formatted Wiki page

aur://*/pkgbuild

aur://yay/pkgbuild

Raw PKGBUILD with safety analysis

aur://*/info

aur://yay/info

AUR package metadata (votes, maintainer, dates)

archrepo://

archrepo://vim

Official repository package details

pacman://installed

pacman://installed

System installed packages list (Arch only)

Tools (Executable Functions)

Category

Tool

Description

Key Features

Search

search_archwiki

Query Arch Wiki documentation

Ranked results, keyword extraction

search_aur

Search AUR packages

Smart ranking: relevance/votes/popularity/modified

get_official_package_info

Lookup official packages

Hybrid local/remote, detailed metadata

System

check_updates_dry_run

Check for updates (Arch only)

Read-only, safe, requires pacman-contrib

Installation

install_package_secure

Secure package installation

Auto security checks, blocks malicious packages, uses paru/yay

Security

analyze_pkgbuild_safety

Comprehensive PKGBUILD analysis

Detects: malicious commands based on 50+ red flags

analyze_package_metadata_risk

Package trust evaluation

Analyzes: votes, maintainer, age, updates, trust scoring

Prompts (Guided Workflows)

Prompt

Purpose

Workflow

troubleshoot_issue

Diagnose system errors

Extract keywords → Search Wiki → Context-aware suggestions

audit_aur_package

Pre-installation safety audit

Fetch metadata → Analyze PKGBUILD → Security recommendations

analyze_dependencies

Installation planning

Check 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"] } } }

If you are using Cursor, you can easily install and configure the MCP server by clicking the button below:

Add to Cursor

Contributing

Contibutions 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

Deploy Server
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Arch MCP provides three main capabilities:

  • Access to Arch Wiki, AUR packages, official repos, and installed packages

  • Search, analyze, and securely install packages with built-in 50+ safety checks

  • Guided workflows for troubleshooting, security audits, and dependency analysis

  1. Sneak Peak into what's available
    1. Resources (URI-based Access)
    2. Tools (Executable Functions)
    3. Prompts (Guided Workflows)
  2. Installation
    1. Prerequisites
    2. Quick Install with uvx
  3. Configuration
    1. Contributing
      1. License

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          MCP-NixOS is a Model Context Protocol server that provides real-time, accurate information about NixOS packages, options, Home Manager, and nix-darwin configurations, preventing AI assistants from hallucinating about NixOS resources and enabling them to deliver factual system configuration guidance.
          Last updated -
          18
          311
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that fetches up-to-date, version-specific documentation and code examples from libraries directly into LLM prompts, helping developers get accurate answers without outdated or hallucinated information.
          Last updated -
          2
          141,779
          34,843
          MIT License
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server that retrieves and provides Wikipedia content for requested topics, enabling easy access to Wikipedia information directly through the Model Control Protocol.
          Last updated -
          1
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/nihalxkumar/arch-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server