wallabag MCP

v0.1.0
io.github.rusty4444/wallabag-mcp Checked 3 days ago Published 6 months ago

MCP server for wallabag read-it-later entries, tags, and annotations.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

Values you need

VariableWhat it is
WALLABAG_BASE_URLrequired Base URL of the wallabag instance, e.g. https://wallabag.example.com
WALLABAG_ACCESS_TOKENoptional secret Existing OAuth access token; skips password grant if provided
WALLABAG_CLIENT_IDoptional OAuth client id; required unless WALLABAG_ACCESS_TOKEN is set
WALLABAG_CLIENT_SECREToptional secret OAuth client secret; required unless WALLABAG_ACCESS_TOKEN is set
WALLABAG_USERNAMEoptional wallabag username; required unless WALLABAG_ACCESS_TOKEN is set
WALLABAG_PASSWORDoptional secret wallabag password; required unless WALLABAG_ACCESS_TOKEN is set

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add wallabag-mcp -e 'WALLABAG_BASE_URL=<WALLABAG_BASE_URL>' -- uvx --with 'mcp<2' wallabag-mcp==0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "wallabag-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "wallabag-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "WALLABAG_BASE_URL": "<WALLABAG_BASE_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "wallabag-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "wallabag-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "WALLABAG_BASE_URL": "<WALLABAG_BASE_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "WALLABAG_BASE_URL",
      "id": "wallabag-base-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "wallabag-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "wallabag-mcp==0.1.0"
      ],
      "command": "uvx",
      "env": {
        "WALLABAG_BASE_URL": "${input:wallabag-base-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.wallabag-mcp]
command = "uvx"
args = ["--with", "mcp<2", "wallabag-mcp==0.1.0"]
env = { "WALLABAG_BASE_URL" = "<WALLABAG_BASE_URL>" }

For AI agents

  1. Ask the user for: WALLABAG_BASE_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: wallabag_health_check, wallabag_list_entries, wallabag_get_entry, wallabag_add_entry, wallabag_update_entry, wallabag_archive_entry, wallabag_unarchive_entry, wallabag_star_entry, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json