- Create external 'monotrope' Docker network so services can communicate by container name - Add Miniflux to the shared network (db stays on internal network) - Add Hermes Miniflux plugin with list_feeds and get_unread_entries tools - Mount plugin directory and pass Miniflux API key to Hermes container Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
380 B
Python
17 lines
380 B
Python
from . import schemas, tools
|
|
|
|
|
|
def register(ctx):
|
|
ctx.register_tool(
|
|
name="list_feeds",
|
|
toolset="miniflux",
|
|
schema=schemas.LIST_FEEDS,
|
|
handler=tools.list_feeds,
|
|
)
|
|
ctx.register_tool(
|
|
name="get_unread_entries",
|
|
toolset="miniflux",
|
|
schema=schemas.GET_UNREAD_ENTRIES,
|
|
handler=tools.get_unread_entries,
|
|
)
|