Unix 手册服务器 (MCP)
MCP 服务器直接在 Claude 对话中提供 Unix 命令文档。
特征
获取命令文档:检索 Unix 命令的帮助页、手册页和使用信息
列出常用命令:发现系统上可用的命令,按功能分类
检查命令存在:验证特定命令是否可用并获取其版本信息
安装
先决条件
Python 3.13+
Claude Desktop或任何与 MCP 兼容的客户端
设置
克隆此存储库
安装软件包:
在 Claude Desktop 中安装服务器:
用法
安装完成后,您可以直接在 Claude 中使用服务器的工具:
获取命令文档
列出常用命令
检查命令是否存在
发展
要在本地测试服务器而不将其安装在 Claude 中:
安全
服务器采取预防措施来防止命令注入:
根据正则表达式模式验证命令名称
不使用shell直接执行命令
设置所有命令执行的超时
仅检查文档,从不执行任意命令
日志记录
日志保存到与脚本同一目录中的unix-manual-server.log
,对于调试很有用。
在后台使用带有
npx
的@modelcontextprotocol/inspector
。
执照
麻省理工学院
使用 MCP Python SDK 创建。如需了解更多关于 MCP 的信息,请访问
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
直接在 Claude 对话中提供 Unix 命令文档,允许用户无需离开聊天界面即可检索帮助页面、手册页和使用信息。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA collection of Model Context Protocol servers that enable Claude Desktop to provide development assistance capabilities with filesystem, Git, shell command, and web search functionality without incurring API usage costs.Last updated -219MIT License
- AsecurityAlicenseAqualityEnables Claude to interact with FTP servers through natural language commands, allowing users to list directories, download/upload files, create directories, and delete files/directories on FTP servers.Last updated -611MIT License
- -securityAlicense-qualityIntegrates with Claude to enable intelligent querying of documentation data, transforming crawled technical documentation into an actionable resource that LLMs can directly interact with.Last updated -1,912Apache 2.0
- AsecurityFlicenseAqualityA server that enables Claude to search and access documentation from popular libraries like LangChain, LlamaIndex, and OpenAI directly within conversations.Last updated -13