trackmcp
Back to directory
tizee

mcp-unix-manual

View on GitHub

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

1 stars PythonAI & Machine Learning Updated Apr 5, 2025
mcpmodel-context-protocol-serversunix-manual

Documentation

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:

bash
pip install -e .
# or
uv install -e .

3. Install the server in Claude Desktop:

bash
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

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

List common commands

code
What Unix commands are available on my system?

Check if a command exists

code
Is the awk command available on my system?

Development

To test the server locally without installing it in Claude:

bash
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.
zsh
uv run mcp dev unix_manual_server.py
code
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.*

Frequently asked questions

What is mcp-unix-manual?

mcp-unix-manual is An MCP server that provides Unix command documentation directly within LLMs conversations.

How do I install mcp-unix-manual?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-unix-manual open source?

Yes — it is hosted on GitHub at https://github.com/tizee/mcp-unix-manual and has 1 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP