server-ops-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPS_SSH_KEY | No | SSH 私钥路径(与密码二选一) | |
| OPS_SSH_HOST | No | 远程服务器 IP / 域名 | |
| OPS_SSH_PORT | No | SSH 端口,默认 22 | |
| OPS_SSH_USER | No | SSH 用户名 | |
| OPS_CONFIG_PATH | No | 额外配置文件路径 | |
| OPS_PROJECT_ROOT | Yes | 项目根目录路径,所有文件操作都限制在此目录内 | |
| OPS_SSH_PASSWORD | No | SSH 密码(与密钥二选一) | |
| OPS_SSH_PASSPHRASE | No | 私钥 passphrase |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| system_infoB | 查看系统 CPU、内存、磁盘、负载和进程信息 |
| memory_analysisB | 分析内存占用,找出占用内存最高的进程和 OOM 风险 |
| disk_analysisC | 分析磁盘占用,找出大文件和大目录 |
| service_statusB | 查看指定服务状态(nginx、php-fpm、mysql、redis 等) |
| log_search_systemC | 搜索系统日志(journalctl) |
| log_listB | 列出项目日志文件 |
| log_readC | 读取指定日志文件 |
| log_searchC | 在项目日志中搜索关键词 |
| file_readC | 读取项目文件内容 |
| file_listA | 列出项目目录内容 |
| file_searchC | 在项目文件中搜索内容 |
| file_writeC | 写入或创建项目文件 |
| file_patchC | 对项目文件进行局部替换修改 |
| file_deleteC | 删除项目文件 |
| command_execB | 执行白名单内的安全命令(只读命令直接执行,非只读命令需确认) |
| nginx_config_testB | 测试 Nginx 配置文件语法 |
| nginx_config_readB | 读取 Nginx 配置文件 |
| nginx_reloadB | 重载 Nginx 配置 |
| certbot_installB | 为指定域名申请并安装 Let's Encrypt 证书 |
| certbot_renewC | 手动触发 certbot 证书续期 |
| project_overviewA | 查看项目概览:技术栈、Git 状态、分支、最近提交 |
| config_auditC | 审计项目配置文件(自动脱敏) |
| confirm_executeA | 确认并执行需要二次确认的操作(如 file_write、file_delete、nginx_reload 等) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/GT-dinuo/server-ops-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server