{
  "markdown": "# Shiori MCP\n<p align=\"center\">\n  <a href=\"https://buymeacoffee.com/rusty4\" target=\"_blank\">\n    <img src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" height=\"50\">\n  </a>\n</p>\n\n\n\n<!-- mcp-name: io.github.rusty4444/shiori-mcp -->\n\nA Model Context Protocol (MCP) server for [Shiori](https://github.com/go-shiori/shiori), the self-hosted bookmark and read-it-later manager.\n\n## Capabilities\n\n- Verify Shiori connectivity and authentication\n- List bookmarks\n- Search bookmarks by title, URL, excerpt, and tag\n- Get one bookmark by id or exact URL from the bookmark list\n- Add bookmarks with Shiori's required tag-object format\n- Update bookmarks via either a full-bookmark payload or common field parameters\n- Delete bookmarks by id list\n- List tags and bookmark counts\n- Rename tags\n- List accounts visible to the authenticated session\n\n## Installation\n\n```bash\npipx install git+https://github.com/rusty4444/shiori-mcp.git\n```\n\nOr from a checkout:\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npip install -e .\n```\n\n## Configuration\n\n| Variable | Required | Description |\n|---|---:|---|\n| `SHIORI_BASE_URL` | Yes | Base URL of the Shiori instance, e.g. `https://shiori.example.com` |\n| `SHIORI_SESSION_ID` | Optional | Existing Shiori session id; skips login if provided |\n| `SHIORI_USERNAME` | Required unless session id is set | Shiori username |\n| `SHIORI_PASSWORD` | Required unless session id is set | Shiori password |\n| `SHIORI_TIMEOUT` | No | HTTP timeout in seconds, default `20` |\n\n## MCP client config\n\n```json\n{\n  \"mcpServers\": {\n    \"shiori\": {\n      \"command\": \"shiori-mcp\",\n      \"env\": {\n        \"SHIORI_BASE_URL\": \"https://shiori.example.com\",\n        \"SHIORI_USERNAME\": \"your-username\",\n        \"SHIORI_PASSWORD\": \"your-password\"\n      }\n    }\n  }\n}\n```\n\n## Tools\n\n| Tool | Purpose |\n|---|---|\n| `shiori_health_check` | Verify API connectivity/authentication |\n| `shiori_list_bookmarks` | List bookmarks with client-side limit/offset |\n| `shiori_search_bookmarks` | Search bookmarks by text and/or tag |\n| `shiori_get_bookmark` | Get one bookmark by id from the bookmark list |\n| `shiori_get_bookmark_by_url` | Get one bookmark by exact URL |\n| `shiori_add_bookmark` | Add a bookmark with optional tags/archive/public flags |\n| `shiori_update_bookmark` | Update a bookmark using full Shiori bookmark JSON |\n| `shiori_update_bookmark_fields` | Update common fields without manually constructing full JSON |\n| `shiori_delete_bookmark` | Delete one bookmark id |\n| `shiori_delete_bookmarks` | Delete bookmark ids from a JSON array |\n| `shiori_list_tags` | List tags and bookmark counts |\n| `shiori_rename_tag` | Rename a tag |\n| `shiori_list_accounts` | List accounts visible to this session |\n\n## Development and validation\n\n```bash\npython -m venv .venv\nsource .venv/bin/activate\npython -m pip install --upgrade pip\npip install -e '.[dev]'\nruff check .\npytest\npython scripts/live_docs_test.py\n```\n\n`live_docs_test.py` validates Shiori public API documentation and repository pages without credentials. Authenticated read/write API behaviours are covered with mocked HTTP tests.\n\nOptional LLM validation can be run with any configured OpenAI-compatible endpoint. For local Aeon validation, set `AEON_BASE_URL` and optionally `AEON_MODEL` / `AEON_API_KEY` before running `python scripts/model_validate.py`.\n\n## API note\n\nThis server targets Shiori's documented legacy API under `/api/*` because the new API v1 is still documented as in development and self-documented at `/swagger/index.html` on running instances.\n\n## Safety\n\nThe write-capable tools mutate a Shiori bookmark database. Keep credentials in environment variables or a secret manager, never in source control.\n\nThis project was developed with the assistance of AI tools.\n",
  "bytes": 3794,
  "sha": "5161fa707bbf04bf6992c9c76fa49c595f4faadca95adefcae4891fd6a606ea3",
  "repo_slug": "rusty4444/shiori-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_rusty4444_shiori_mcp_af401f9f/readme"
}