Skip to main content

A MCP server for getting command help manual

Project description

Unix Manual Server (MCP)

An MCP server that provides Unix command documentation directly within Claude conversations.

Features

  • Get command documentation: Retrieve help pages, man pages, and usage information for Unix commands
  • List common commands: Discover available commands on your system, categorized by function
  • Check command existence: Verify if a specific command is available and get its version information

Installation

Prerequisites

Setup

  1. Clone this repository
  2. Install the package:
pip install -e .
# or
uv install -e .
  1. Install the server in Claude Desktop:
mcp install unix_manual_server.py
# uv
uv run mcp install unix_manual_server.py

Usage

Once installed, you can use the server's tools directly in Claude:

Get command documentation

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

List common commands

What Unix commands are available on my system?

Check if a command exists

Is the awk command available on my system?

Development

To test the server locally without installing it in Claude:

mcp dev unix_manual_server.py

Security

The server takes precautions to prevent command injection by:

  • Validating command names against a regex pattern
  • Executing commands directly without using shell
  • Setting timeouts on all command executions
  • Only checking for documentation, never executing arbitrary commands

Logging

Logs are saved to unix-manual-server.log in the same directory as the script, useful for debugging.

  • use @modelcontextprotocol/inspector with npx under the hood.
uv run mcp dev unix_manual_server.py
npx @modelcontextprotocol/inspector uv run unix_manual_server.py

License

MIT


Created with the MCP Python SDK. For more information about MCP, visit modelcontextprotocol.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_mcp_unix_manual-1.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_mcp_unix_manual-1.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_unix_manual-1.1.1.tar.gz.

File metadata

  • Download URL: mseep_mcp_unix_manual-1.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_mcp_unix_manual-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e494fa71fff36dcdf229948d88279e22f94067599420ebfc7a8beb86a0ac8a6e
MD5 603729d4b967bc3eae088a2204151758
BLAKE2b-256 74d138d11015d64f90b0b13d31a06476a33a3eb6f4f420111e54315d6c33a372

See more details on using hashes here.

File details

Details for the file mseep_mcp_unix_manual-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_unix_manual-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 135ee6965a30e4f2fa7c066702ccec4866ed5592283d0f4a6823f86bac9f2b2f
MD5 876f68e6b68821f16332a5e0a7fd45ac
BLAKE2b-256 7ec63ff94a6a5f6a61a66932414236ded6f69fe58f3b284ddbe52d3a28a52e0f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page