The MCP Configuration File Management module provides a set of tools and resources for managing Nginx configuration files. These features allow AI agents and automation tools to perform various configuration file operations, including reading, creating, modifying, and organizing configuration files.
tool
nginx_config_base_path
tool
nginx_config_list
tool
nginx_config_get
tool
nginx_config_add
tool
nginx_config_modify
tool
nginx_config_rename
tool
nginx_config_mkdir
tool
nginx_config_history
Here are some examples of using MCP Configuration File Management features:
{
"tool": "nginx_config_base_path",
"parameters": {}
}
Example response:
{
"base_path": "/etc/nginx"
}
{
"tool": "nginx_config_list",
"parameters": {
"path": "/etc/nginx/conf.d"
}
}
Example response:
{
"files": [
{
"name": "default.conf",
"is_dir": false,
"path": "/etc/nginx/conf.d/default.conf"
},
{
"name": "example.conf",
"is_dir": false,
"path": "/etc/nginx/conf.d/example.conf"
}
]
}
{
"tool": "nginx_config_get",
"parameters": {
"path": "/etc/nginx/conf.d/default.conf"
}
}
{
"tool": "nginx_config_modify",
"parameters": {
"path": "/etc/nginx/conf.d/default.conf",
"content": "server {\n listen 80;\n server_name example.com;\n location / {\n root /usr/share/nginx/html;\n index index.html;\n }\n}"
}
}