health_checkLABSCO SUMMARY
It holds no session, so one install can address several Chef organisations.
Authentication travels with each call rather than sitting in the config, which is what makes it multi-tenant. The same connection can address one organisation on this call and a different one on the next, with nothing cached in between.
What it is
A server over the Chef Infra Server API with one tool per endpoint rather than a generic wrapper. It holds no session: every tenant-facing call carries its own authentication.
What you get
- Nodes, roles and environments: chef_create_node, chef_delete_node, chef_create_role, chef_delete_role, chef_create_environment and chef_delete_environment
- Clients and their keys: chef_create_client, chef_get_client, chef_delete_client, chef_create_client_key, chef_get_client_key and chef_delete_client_key
- Cookbooks: chef_get_cookbook, chef_get_cookbook_version, chef_delete_cookbook_version, chef_get_cookbook_artifact, chef_get_cookbook_artifact_version and chef_delete_cookbook_artifact_version
- Data bags: chef_create_data_bag, chef_create_data_bag_item, chef_delete_data_bag and chef_delete_data_bag_item
- Uploads: chef_create_sandbox and chef_commit_sandbox
- Organisations and membership: chef_create_organization_global, chef_delete_organization_global, chef_create_association_request, chef_delete_association_request, chef_associate_org_user and chef_disassociate_org_user
- Users, groups and containers: chef_create_user_global, chef_delete_user_global, chef_create_user_key_global, chef_delete_user_key_global, chef_authenticate_user, chef_create_group, chef_delete_group, chef_create_container and chef_delete_container
Requirements
A Chef Infra Server you can reach, and credentials passed on each call: a user id and RSA private key for Chef signature authentication, or a username and password for the endpoints that take basic auth. Connecting through the hosted MewCP gateway also takes a MewCP account and its API key (dashboard → Developer); running it from source does not.
Setup effort
Add the hosted endpoint plus a key — paste it into your client, then supply credentials
USE CASES
Taking stock of an organisation you inherited
Read the clients, containers and cookbooks that exist before changing anything, using credentials scoped to that organisation alone.
Onboarding somebody onto an organisation
Create the user, raise the association request and complete the membership in one pass.
Standing up a new environment
Create the environment, the roles that belong to it, and the nodes underneath.
Rotating a client's key
Issue the new key, confirm it is registered, then remove the old one — in that order, so nothing loses access mid-way.
Pulling back a cookbook version that should not have shipped
Read the version to confirm what it contains, then delete it.
102 tools
Listed in project docs. Your client may show a different list.
chef_authenticate_userchef_get_licensechef_list_organizations_globalchef_create_organization_globalchef_get_organization_globalchef_update_organization_globalchef_delete_organization_globalchef_get_statschef_get_statuschef_list_users_globalchef_create_user_globalchef_get_user_globalchef_update_user_globalchef_delete_user_globalchef_list_user_keys_globalchef_create_user_key_globalchef_get_user_key_globalchef_update_user_key_globalchef_delete_user_key_globalchef_get_universe_globalchef_list_association_requestschef_create_association_requestchef_delete_association_requestchef_list_clientschef_create_clientchef_get_clientchef_update_clientchef_delete_clientchef_list_client_keyschef_create_client_keychef_get_client_keychef_update_client_keychef_delete_client_keychef_list_containerschef_create_containerchef_get_containerchef_delete_containerchef_list_cookbook_artifactschef_get_cookbook_artifactchef_get_cookbook_artifact_versionchef_upsert_cookbook_artifact_versionchef_delete_cookbook_artifact_versionchef_list_cookbookschef_get_latest_cookbookschef_get_latest_recipeschef_get_cookbookchef_get_cookbook_versionchef_upsert_cookbook_versionchef_delete_cookbook_versionchef_list_data_bagschef_create_data_bagchef_get_data_bagchef_create_data_bag_itemchef_delete_data_bagchef_get_data_bag_itemchef_update_data_bag_itemchef_delete_data_bag_itemchef_list_environmentschef_create_environmentchef_get_default_environmentchef_get_environmentchef_update_environmentchef_delete_environmentchef_get_environment_cookbookchef_resolve_environment_cookbook_versionschef_list_environment_cookbookschef_list_environment_nodeschef_list_environment_recipeschef_get_environment_role_run_listchef_list_groupschef_create_groupchef_get_groupchef_update_groupchef_delete_groupchef_list_nodeschef_create_nodechef_get_nodechef_update_nodechef_delete_nodechef_head_nodechef_list_policieschef_list_policy_groupschef_get_principalchef_get_required_recipechef_list_roleschef_create_rolechef_get_rolechef_update_rolechef_delete_rolechef_list_role_environmentschef_get_role_environmentchef_create_sandboxchef_commit_sandboxchef_list_search_indexeschef_search_indexchef_partial_search_indexchef_get_updated_sincechef_list_org_userschef_associate_org_userchef_get_org_userchef_disassociate_org_userBEFORE YOU INSTALL
What to know first
Tools you get
102 tools named in the project's documentation.
Requires
A MewCP account and API key (MEWCP_KEY, dashboard → Developer); the Hobby plan is free for 20K actions a month
INSTALLATION
Connect your client
Server setup
https://gateway.mewcp.com/personal/mcpAdd this hosted endpoint to your MCP client using the credentials listed under Requirements.
MCP Clients
VS Code
{
"servers": {
"mewcp": {
"type": "http",
"url": "https://gateway.mewcp.com/personal/mcp",
"headers": {
"Authorization": "Bearer <YOUR_MEWCP_KEY>"
}
}
}
}Cursor
{
"mcpServers": {
"mewcp": {
"url": "https://gateway.mewcp.com/personal/mcp",
"headers": {
"Authorization": "Bearer <YOUR_MEWCP_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mewcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://gateway.mewcp.com/personal/mcp",
"--transport",
"http-only",
"--header",
"Authorization: Bearer <YOUR_MEWCP_KEY>"
]
}
}
}Any MCP client — From Source
Clone the repository and install its dependencies
git clone https://github.com/AStheTECH/mewcp-chef-server
cd mewcp-chef-server
pip install -r requirements.txtAdd this to your client
<YOUR_PATH_TO_MEWCP_CHEF_SERVER> is the path of your clone. No MewCP key is needed this way; Chef credentials are passed on each tool call.
{
"mcpServers": {
"chef-server": {
"command": "python",
"args": [
"<YOUR_PATH_TO_MEWCP_CHEF_SERVER>/server.py"
]
}
}
}