Suwayomi MCP Server
?? Suwayomi MCP Server
AIコーディングアシスタントや自律エージェント(Claude Code、Claude Desktop、Cursor、Windsurf、Antigravity)を、セルフホスト済みのSuwayomi-Serverマンガ・マンファライブラリへ直接接続する、高性能な**Model Context Protocol (MCP)**サーバーです。
?? 問題と解決策
ボトルネック
マンガ、マンファ、ライトノベルの愛好家は、複数の拡張ソース(MangaDex、Webtoons、Asura、Flameなど)をまたいで、何百もの作品と何千ものチャプターを管理しています。
これまで、AIエージェントでこのコレクションを管理するのは断片化されていました:
モバイル版Mihon/Tachiyomiは公開APIを持たず、ライブ検索や変更の書き込み、チャプターのダウンロードができない脆い静的なバックアップ解析(
.tachibk)に依存する。アグリゲーターUIは、手動検索、5以上の拡張タブをまたいだクリック操作、そして手動でのチャプター更新のキュー登録が必要。
解決策
suwayomi-mcp はこのギャップを埋めます。Suwayomi のローカルGraphQLエンジンと標準JSON-RPC(stdioトランスポート)を介して直接通信することで、AIアシスタントは以下をができるようになります:
ライブラリの状態をリアルタイムに監査する(未読チャプターの滞留数、完読状況、ジャンルを追跡)。
データベース全体で即座に全文検索を実行し、タイトルをお気に入りに一括追加する。
自然言語の一文だけで、バックグラウンドのチャプター・ダウンロードをキューに入れて起動する。
Related MCP server: Mealie MCP Server
??? システムアーキテクチャ
+-------------------------------------------------------------------------+
| LLM / AI ASSISTANT |
| (Claude Desktop, Claude Code, Cursor, Windsurf) |
+-------------------------------------------------------------------------+
¦ (Natural Language Intent)
?
+-------------------------------------------------------------------------+
| SUWAYOMI MCP SERVER (FastMCP / Python) |
| • suwayomi_get_library • suwayomi_search_and_add |
| • suwayomi_download_chapters • suwayomi_get_download_status |
+-------------------------------------------------------------------------+
¦ (GraphQL POST JSON / stdio)
?
+-------------------------------------------------------------------------+
| SUWAYOMI-SERVER DAEMON (localhost:4567) |
| • GraphQL Resolver • H2 Database (Library & Metadata) |
| • Source Scrapers • Chapter Downloader Worker |
+-------------------------------------------------------------------------+??? ツールスイートと実際のプロンプト例
Tool | eSignature | チャットでの依頼内容 |
|
| "今、ライブラリ内で未読チャプターが100を超えているマンガはどれ?" |
|
| "「Latte」がデータベースにあるか探してお気に入りに追加して。" |
|
| "Hand Jumper の未読の次の5話をダウンロードして。" |
|
| "Suwayomiのチャプター・ダウンローダーがまだ実行中か確認して。" |
?? 前提条件
Suwayomi-Serverがローカルにインストールされ、ポート
4567で起動していること(既定エンドポイント:http://127.0.0.1:4567/api/graphql)。システムに**Python 3.10+**がインストールされていること。
?? インストールガイド
?? Windowsセットアップ(PowerShell)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python -m venv .venv
.\.venv\Scripts\activate
# 3. Install in editable mode
pip install -e .
# 4. Run automated test suite to verify live connectivity
pytest tests -v?? macOSセットアップ(Terminal / zsh)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# 3. Install in editable mode
pip install -e .
# 4. Run automated test suite
pytest tests -vLinux / Dockerセットアップ(Ubuntu / Debian / Arch)
# 1. Clone repository
git clone https://github.com/augumenter/suwayomi-mcp.git
cd suwayomi-mcp
# 2. Create and activate virtual environment
python3 -m venv .venv
source .venv/bin/activate
# 3. Install package
pip install -e .
# 4. Run tests
pytest tests -v??
1. Claude Desktop
これをclaude_desktop_config.jsonに追加します:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"suwayomi": {
"command": "C:\\path\\to\\suwayomi-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "src.server"],
"cwd": "C:\\path\\to\\suwayomi-mcp",
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}(macOS/Linuxでは、commandを/path/to/suwayomi-mcp/.venv/bin/pythonに置き換えてください)
2. Claude Code CLI(~/.claude.json)
{
"mcpServers": {
"suwayomi": {
"command": "C:\\path\\to\\suwayomi-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "src.server"],
"cwd": "C:\\path\\to\\suwayomi-mcp",
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}3. Cursor(.cursor/mcp.json)
{
"mcpServers": {
"suwayomi": {
"command": "python",
"args": ["-m", "src.server"],
"env": {
"SUWAYOMI_GRAPHQL_URL": "http://127.0.0.1:4567/api/graphql"
}
}
}
}?? 実際の会話例
例1: ライブラリの監査とおすすめ
User: "Check my library and recommend something intense to read from my unread backlog."
Agent: "I checked your Suwayomi library. Here are your top unread thriller & action series:
1. Hand Jumper (130 unread chapters) - Thriller / Supernatural
2. Psychopath in Murim (30 unread chapters) - Action / Fantasy
3. Lookism (1,237 unread chapters) - Action / Delinquents
Would you like me to queue the next 5 chapters of Hand Jumper for offline reading?"例2: タイトルの自動取り込み
User: "Find Latna Saga and make sure it is added to my library favorites."
Agent: "Found 'Latna Saga: Survival of a Sword King' (ID: 38).
I executed the updateManga mutation and set inLibrary: true. It is now tracked in your favorites."例3: チャプターの一括ダウンロード
User: "Download the next 10 unread chapters of Omniscient Reader."
Agent: "Fetched unread chapter IDs [412, 413, 414, 415, 416, 417, 418, 419, 420, 421].
Dispatched enqueueChapterDownloads mutation and triggered the downloader daemon.
Download status: STARTED (10 items in queue)."?? インタラクティブなニューラルネットワーク・ビジュアライザー
このプロジェクトには、MCP ブリッジの全レイヤーを通過するパケットを可視化する、リアルタイムでアニメーションするニューラル・シナプス・グラフ(Neural Synaptic Graph) が含まれています。
ビジュアライザーを起動するには:
python -m http.server 8080 --directory visualizerブラウザで**http://localhost:8080**を開くと、動きのあるノードと対話し、シナプスのパルス列を発火し、ライブのペイロード通信量(テレメトリ)を確認できます。
?? トラブルシューティングFAQ
Unable to connect to Remote Server (127.0.0.1:4567)
原因: Suwayomi-Serverが起動していません。
対応: ローカルの Suwayomi デーモン(Windowsなら
Suwayomi Launcher.bat、ターミナルならsuwayomi-server)を起動し、http://localhost:4567がブラウザーで表示されることを確認してください。
GraphQL Error: Missing source
原因: 現在無効またはアンインストールされている拡張から取り込まれたマンガです。
対応: Suwayomi WebUI -> Browse -> Extensions を開き、対応する拡張がインストールされ、更新されていることを確認してください。
?? ライセンス
MIT License. Copyright (c) 2026 Ileri Nwajei (@augumenter)。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityFmaintenanceEnables AI assistants to manage StashDog inventory through natural language commands, supporting item management, collections, tags, smart search, and URL imports with secure authentication.11
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Mealie recipe databases, allowing users to manage and query their recipes through natural language conversations.16MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.7MIT
- AlicenseAqualityAmaintenanceConnects AI assistants to the Hardcover book library, enabling natural language book searches, reading status updates, list management, and library exploration.315MIT
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Augumenter/suwayomi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server