# Selfhost Recipes

> Selfhost Recipes is an MCP server for cloud and infrastructure. Search and fetch 870+ ready-to-run Docker Compose stacks for self-hosting. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, Web, Self-hosted
- **Website:** https://selfhostrecipes.com
- **MCP Registry name:** com.selfhostrecipes/selfhost-recipes
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

Selfhost Recipes is a catalogue of Docker Compose configurations for self-hosting and home labs, and this server lets an assistant search and fetch them. Recipes are grouped by area, including web servers and proxies, databases with admin UIs, monitoring stacks, CI and deployment tools, collaboration software, media servers, security and authentication, and AI and machine learning tools.

Each recipe comes with a complete docker-compose.yml and an .env template, so the usual workflow is to copy it, adjust values and run docker compose up -d. The site also publishes guides on topics such as deploying Nextcloud and planning disaster recovery for a server.

The catalogue spans well-known projects like NGINX, Traefik, Caddy, PostgreSQL, Grafana and GitLab, and is useful when an assistant needs a working starting point rather than a blank file.

## Features

- **Large recipe catalogue:** 870+ Compose stacks across many categories.
- **Compose and env files:** Each recipe includes docker-compose.yml and an .env template.
- **Category browsing:** Web servers, databases, monitoring, CI, media, security and more.
- **Search and fetch:** An assistant can search recipes and retrieve one.
- **Self-hosting guides:** Blog posts on deployment and recovery.

## Good for

- Getting a starting Compose file for a self-hosted app
- Setting up a monitoring stack with Prometheus and Grafana
- Deploying a database with an admin UI
- Standing up authentication for home lab services
- Comparing reverse proxy options

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http selfhost-recipes https://selfhostrecipes.com/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "type": "http",
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://selfhostrecipes.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "type": "http",
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://selfhostrecipes.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add selfhost-recipes --url https://selfhostrecipes.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.selfhost-recipes]
url = "https://selfhostrecipes.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "httpUrl": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http selfhost-recipes https://selfhostrecipes.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "serverUrl": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "type": "streamableHttp",
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://selfhostrecipes.com/mcp
```

Enter a Name (for example "Selfhost Recipes"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "selfhost-recipes": {
      "type": "http",
      "url": "https://selfhostrecipes.com/mcp"
    }
  }
}
```

## Tools

The server marks all 4 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `search_recipes` (says read-only): Search Docker Compose recipes by keywords (app name, technology, use case). Returns ranked matches with slug, title, description and URLs.
- `get_recipe` (says read-only): Get one recipe as Markdown: overview, docker-compose.yml, .env template, prerequisites, usage notes and troubleshooting.
- `list_categories` (says read-only): List all recipe categories with their slug, name, description and recipe count.
- `list_recipes` (says read-only): List every recipe in one category (slug, title, description, URLs).

## FAQ

### What does Selfhost Recipes contain?

Over 870 ready-to-run Docker Compose stacks for self-hosting and home labs.

### What does a recipe include?

A complete docker-compose.yml and an .env template.

### What categories exist?

Web servers, databases, monitoring, CI/CD, media, security, AI/ML, e-commerce, messaging and more.

### How do I add Selfhost Recipes to Claude Code?

Run this command in your terminal: claude mcp add --transport http selfhost-recipes https://selfhostrecipes.com/mcp

### What are the best alternatives to Selfhost Recipes?

The closest alternatives to Selfhost Recipes are Docker Recipes, Dockyard, Mysql Redis Compose Generator Nginx, Nginx Redis Stack Generator and Karandeepsingh Blog.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Docker Recipes](https://ai-powered.com/mcp/docker-recipes): Docker Recipes is an MCP server for developer tools.
- [Dockyard](https://ai-powered.com/mcp/dockyard): Dockyard is a free MCP server for developer tools.
- [Mysql Redis Compose Generator Nginx](https://ai-powered.com/mcp/mysql-redis-compose-generator-nginx): Mysql Redis Compose Generator Nginx is an MCP server for databases.
- [Nginx Redis Stack Generator](https://ai-powered.com/mcp/nginx-redis-stack-generator): Nginx Redis Stack Generator is an MCP server for databases.
- [Karandeepsingh Blog](https://ai-powered.com/mcp/karandeepsingh-blog): Karandeepsingh Blog is a free MCP server for cloud and infrastructure.
- [Recipe for Agents](https://ai-powered.com/mcp/recipe-for-agents): Recipe for Agents is a free MCP server for web search and scraping.
- [The Daily Workflow — AI Tools & Free Alternatives](https://ai-powered.com/mcp/the-daily-workflow-ai-tools-and-free-alternatives): The Daily Workflow — AI Tools & Free Alternatives is a free MCP server for ai models and llm tooling.
- [BotGathering recipes](https://ai-powered.com/mcp/botgathering-recipes): BotGathering recipes is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/selfhost-recipes
