wallabag MCP
A Model Context Protocol (MCP) server for wallabag, the open-source read-it-later service.
This server gives AI assistants a structured interface for common wallabag workflows:
- Verify connectivity and authentication with a tiny read-only health check
- List, filter, and page through saved articles
- Fetch entry metadata or full extracted content
- Save new URLs
- Archive/unarchive and star/unstar entries
- Reload/refetch article extraction
- Delete entries
- List and add tags
- List, create, and delete annotations
Why this exists
wallabag is widely used in self-hosted setups, but its API is OAuth-based and awkward for general LLM tools. This MCP server wraps the important entry, tag, and annotation operations with an AI-friendly surface and documented parameters.
Installation
pipx install git+https://github.com/rusty4444/wallabag-mcp.git
Or from a checkout:
python -m venv .venv
source .venv/bin/activate
pip install -e .
Configuration
The server reads configuration from environment variables:
| Variable | Required | Description |
|---|---|---|
WALLABAG_BASE_URL |
Yes | Base URL of your wallabag instance, e.g. https://app.wallabag.it |
WALLABAG_ACCESS_TOKEN |
Optional | Existing OAuth access token; if set, password grant is skipped |
WALLABAG_CLIENT_ID |
Required unless access token is set | OAuth client id from wallabag's developer client page |
WALLABAG_CLIENT_SECRET |
Required unless access token is set | OAuth client secret |
WALLABAG_USERNAME |
Required unless access token is set | wallabag username |
WALLABAG_PASSWORD |
Required unless access token is set | wallabag password |
WALLABAG_TIMEOUT |
No | HTTP timeout in seconds, default 20 |
Create a wallabag API client from your wallabag instance under Developer / API clients. wallabag's official docs show the password grant against /oauth/v2/token.
MCP client config
{
"mcpServers": {
"wallabag": {
"command": "wallabag-mcp",
"env": {
"WALLABAG_BASE_URL": "https://wallabag.example.com",
"WALLABAG_CLIENT_ID": "your-client-id",
"WALLABAG_CLIENT_SECRET": "your-client-secret",
"WALLABAG_USERNAME": "your-username",
"WALLABAG_PASSWORD": "your-password"
}
}
}
}
Tools
| Tool | Purpose |
|---|---|
wallabag_health_check |
Verify connectivity and authentication with a tiny read-only request |
wallabag_list_entries |
List entries with pagination and filters |
wallabag_get_entry |
Fetch one entry, optionally including extracted content |
wallabag_add_entry |
Save a URL into wallabag |
wallabag_update_entry |
Update title, URL, archive/starred state, or tags |
wallabag_archive_entry |
Mark an entry archived/read |
wallabag_unarchive_entry |
Mark an entry unarchived/unread |
wallabag_star_entry |
Star/favourite an entry |
wallabag_unstar_entry |
Remove starred/favourite state |
wallabag_reload_entry |
Ask wallabag to refetch/reparse the original URL |
wallabag_delete_entry |
Delete an entry |
wallabag_list_tags |
List known tags |
wallabag_add_tags_to_entry |
Add comma-separated tags to an entry |
wallabag_delete_tag |
Delete a tag globally |
wallabag_list_annotations |
List annotations for an entry |
wallabag_create_annotation |
Create an annotation on quoted article text |
wallabag_delete_annotation |
Delete an annotation |
Development and validation
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
ruff check .
pytest
python scripts/live_docs_test.py
live_docs_test.py validates wallabag's public API documentation and the hosted API docs page without needing account credentials. Mutation and authenticated request behaviours are covered with mocked HTTP tests.
Safety
Write-capable tools mutate your read-it-later library. Keep OAuth secrets in environment variables or a secret manager, never in source control.
Metadata
Release files for wallabag-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wallabag_mcp-0.1.0.tar.gz | 13.4 kB | Without provenance | Details for wallabag_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wallabag_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for wallabag_mcp-0.1.0-py3-none-any.whl |
Total release size: 23.4 kB
Release files / wallabag_mcp-0.1.0.tar.gz
| Download URL | wallabag_mcp-0.1.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a9226b39daeed663707c9b6a49333826d9e6501ff89ea9c5d03e14133b70a41
|
|
BLAKE2b-256 checksum How to use checksums |
4d5f4c12f8a505080a5563d43fde54524f3dfadd47369e8136ccbcb617fc1524
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / wallabag_mcp-0.1.0-py3-none-any.whl
| Download URL | wallabag_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9e493e1fb66ca40a5dbac518cc9b7612b42a20a9acccc036ce1e9549e8bdad7
|
|
BLAKE2b-256 checksum How to use checksums |
00bbe06cf87881368473deb5673a2011d2d6fb02b4dc177729d31ab9266014ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for wallabag-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.