Skip to content
VS Code

Mealie MCP Server for VS Code

io.github.ni-c/mealie-mcp

MCP server for Mealie, the self-hosted recipe manager and meal planner

client:VS Code transport:stdio runtime:npm

Install Mealie MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mealie-url",
      "description": "MEALIE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-api-token",
      "description": "MEALIE_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-read-only",
      "description": "MEALIE_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-accept-language",
      "description": "MEALIE_ACCEPT_LANGUAGE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-insecure-tls",
      "description": "MEALIE_INSECURE_TLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-allow-tools",
      "description": "MEALIE_ALLOW_TOOLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mealie-deny-tools",
      "description": "MEALIE_DENY_TOOLS",
      "password": true
    }
  ],
  "servers": {
    "mealie-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/mealie-mcp"
      ],
      "env": {
        "MEALIE_URL": "${input:mealie-url}",
        "MEALIE_API_TOKEN": "${input:mealie-api-token}",
        "MEALIE_READ_ONLY": "${input:mealie-read-only}",
        "MEALIE_ACCEPT_LANGUAGE": "${input:mealie-accept-language}",
        "MEALIE_INSECURE_TLS": "${input:mealie-insecure-tls}",
        "MEALIE_ALLOW_TOOLS": "${input:mealie-allow-tools}",
        "MEALIE_DENY_TOOLS": "${input:mealie-deny-tools}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Mealie MCP Server in other clients