An MCP server used to talk to Chef Server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"chef-server": {
"args": [
"run",
"--rm",
"-i",
"--env",
"CHEF_USER=your-username",
"--env",
"CHEF_KEY_PATH=/chef/your-username.pem",
"--env",
"CHEF_SERVER_URL=https://your-chef-server.com/",
"--env",
"CHEF_ORG_ALIASES=qa=qa1,prod=production",
"--env",
"CHEF_DEFAULT_ORG=qa1",
"--volume",
"/path/to/.chef:/chef:ro",
"ghcr.io/aknarts/chef-server-mcp:latest"
],
"command": "docker"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides AI assistants with read-only access to Chef Server data including nodes, roles, cookbooks, data bags, environments, and more.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
Enhanced MCP server for GitLab: group projects listing and activity tracking
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform. It provides a set of tools that interact with Yunxiao's API, allowing AI assistants to manage Codeup repository, Project, Pipeline, Packages etc.
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
MCP Security Weekly
Get CVE alerts and security updates for Chef Server Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that provides AI assistants with read-only access to Chef Server data including nodes, roles, cookbooks, data bags, environments, and more.
| Variable | Required | Description |
|---|---|---|
CHEF_USER | Yes | Chef username for API authentication |
CHEF_KEY_PATH | Yes | Path to Chef private key file (.pem) |
CHEF_SERVER_URL | Yes | Chef Server base URL (without organization path) |
CHEF_DEFAULT_ORG | No | Default organization to use when none specified |
CHEF_ORG_ALIASES | No | Organization aliases in JSON or key=value format |
The server supports multiple organizations through:
CHEF_DEFAULT_ORGCHEF_ORG_ALIASES (e.g., "qa=qa1,prod=fireamp_classic")Add to your VSCode settings (.vscode/settings.json or global settings):
{
"mcpServers": {
"chef-server": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"--env", "CHEF_USER=your-username",
"--env", "CHEF_KEY_PATH=/chef/your-username.pem",
"--env", "CHEF_SERVER_URL=https://your-chef-server.com/",
"--env", "CHEF_ORG_ALIASES=qa=qa1,prod=production",
"--env", "CHEF_DEFAULT_ORG=qa1",
"--volume", "/path/to/.chef:/chef:ro",
"ghcr.io/aknarts/chef-server-mcp:latest"
]
}
}
}
Add to your Copilot configuration:
{
"servers": {
"chef-server": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"--env", "CHEF_USER=your-username",
"--env", "CHEF_KEY_PATH=/chef/your-username.pem",
"--env", "CHEF_SERVER_URL=https://your-chef-server.com/",
"--env", "CHEF_ORG_ALIASES=qa=qa1,prod=production",
"--env", "CHEF_DEFAULT_ORG=qa1",
"--volume", "/path/to/your/.chef:/chef:ro",
"ghcr.io/aknarts/chef-server-mcp:latest"
]
}
}
}
Important Notes:
--volume flag maps your local .chef directory to /chef inside the containerCHEF_KEY_PATH must point to the file path inside the container (e.g., /chef/your-username.pem).chef directory location| Tool | Description |
|---|---|
listNodes | List all node names |
getNode | Get detailed node information |
listRoles | List all role names |
getRole | Get role definition and run lists |
listUsers | List all user names |
getUser | Get user details |
search | Execute Chef search queries (decoded results) |
searchJSON | Execute Chef search queries (raw JSON results) |
getOrganization | Get organization details |
listCookbooks | List cookbooks and their versions |
getCookbook | Get cookbook metadata and files |
listDataBags | List all data bag names |
listDataBagItems | List items in a data bag |
getDataBagItem | Get specific data bag item |
listEnvironments | List all environments |
getEnvironment | Get environment configuration |
All tools suppor