Skip to main content
Glama
Unix Manual Server

Unix Manual Server

by tizee

Unix マニュアル サーバー (MCP)

Claude 会話内で直接 Unix コマンドのドキュメントを提供する MCP サーバー。

特徴

  • コマンドドキュメントの取得: Unix コマンドのヘルプ ページ、マニュアル ページ、使用方法の情報を取得します。

  • 一般的なコマンドの一覧: システムで利用可能なコマンドを機能別に分類して表示します

  • コマンドの存在を確認する: 特定のコマンドが利用可能かどうかを確認し、そのバージョン情報を取得します。

Related MCP server: DevDocs MCP Server

インストール

前提条件

設定

  1. このリポジトリをクローンする

  2. パッケージをインストールします。

pip install -e .
# or
uv install -e .
  1. Claude Desktop にサーバーをインストールします。

mcp install unix_manual_server.py
# uv
uv run mcp install unix_manual_server.py

使用法

インストールが完了すると、Claude でサーバーのツールを直接使用できるようになります。

コマンドドキュメントを取得する

I need help with the grep command. Can you show me the documentation?

よく使われるコマンドの一覧

What Unix commands are available on my system?

コマンドが存在するかどうかを確認する

Is the awk command available on my system?

発達

Claude にインストールせずにローカルでサーバーをテストするには:

mcp dev unix_manual_server.py

安全

サーバーは、コマンドインジェクションを防ぐために次の予防措置を講じます。

  • 正規表現パターンに対するコマンド名の検証

  • シェルを使わずにコマンドを直接実行する

  • すべてのコマンド実行にタイムアウトを設定する

  • ドキュメントの確認のみ行い、任意のコマンドは実行しない

ログ記録

ログはスクリプトと同じディレクトリのunix-manual-server.logに保存され、デバッグに役立ちます。

  • 内部的にはnpxで@modelcontextprotocol/inspectorを使用します。

uv run mcp dev unix_manual_server.py
npx @modelcontextprotocol/inspector uv run unix_manual_server.py

ライセンス

マサチューセッツ工科大学


MCP Python SDKを使用して作成されました。MCPの詳細については、 modelcontextprotocol.ioをご覧ください。

Available Tools

3 tools
check_command_existsC

Check if a command exists on the system.

Args: command: The command to check

Returns: Information about whether the command exists

Inputs: command (required).

get_command_documentationC

Get documentation for a command in Unix-like system.

Args: command: The command to get documentation for (no arguments) prefer_economic: Whether to prefer the economic approach (--help/-h/help) [default: True] man_section: Specific manual section to look in (1-9) [optional]

Returns: The command documentation as a string

Inputs: command (required), prefer_economic, man_section.

list_common_commandsB

List common Unix commands available on the system.

Returns: A list of common Unix commands

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: checking command existence, retrieving documentation, and listing common commands. There is no overlap in functionality, making it easy for an agent to select the appropriate tool without confusion.

    Naming Consistency4/5

    The tools follow a consistent verb_noun pattern (check_command_exists, get_command_documentation, list_common_commands), with minor deviations in verb choice ('check', 'get', 'list'). The naming is predictable and readable, though not perfectly uniform in verb style.

    Tool Count3/5

    With only 3 tools, the server feels thin for a Unix manual domain, which might include operations like searching commands, filtering by category, or managing documentation. While the core functions are covered, the toolset could benefit from additional utilities to enhance completeness.

    Completeness4/5

    The tools cover the essential operations for a Unix manual server: verifying command availability, fetching documentation, and listing commands. Minor gaps exist, such as the inability to search or filter commands, but agents can work around these limitations with the provided tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive access to documentation for 600+ Kali Linux penetration testing and security tools through Claude Desktop, enabling users to search, explore, and get detailed information about security tools by category or functionality.
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to 600+ documentation libraries from DevDocs.io including Python, JavaScript, React, Django, and more. Enables searching, browsing, and retrieving documentation content directly through Claude Desktop.
      5
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude to search and retrieve technical documentation from a local DevDocs instance for hundreds of programming languages and frameworks.
      1
      MIT