How moonlin1213/cove-sticker-mcp works
cove-sticker-mcp is a local-first sticker library exposed through a web manager and MCP server. Users import and manage images, optionally generate tags with a configured vision provider, then search or let an agent select a sticker under frequency and recent-use policies. The graph includes backup/restore, feedback, and both MCP transports as documented capabilities. Source excerpts show key calls, but not every route or library operation; documented relationships use README evidence, and uncertain internal links are omitted.
Main entry points: library.py Library Operations · web.py Web Manager · mcp_server.py MCP Tools · cli.py CLI Services
Components 18
User Interfaces
- Web Manager
src/sticker_mcp/web.py - Manager UI
src/sticker_mcp/static/index.html - MCP Tools
src/sticker_mcp/mcp_server.py - CLI Services
src/sticker_mcp/cli.py
Sticker Library
- Library Operations
src/sticker_mcp/library.py - Image Validation
src/sticker_mcp/assets.py - Sticker Models
src/sticker_mcp/models.py - Provider URL Validation
src/sticker_mcp/urls.py - Backup and Restore
src/sticker_mcp/library.py - Search and Selection
src/sticker_mcp/library.py - Feedback and Preferences
src/sticker_mcp/library.py
Vision Tagging
- Tag Job Queue
src/sticker_mcp/vision.py - Vision Provider
src/sticker_mcp/vision.py
Local State
- Library Database
src/sticker_mcp/storage.py - Image Files
src/sticker_mcp/assets.py
Other components
- MCP Client
- Library User
- Vision Service
Connections 24
- Library User → Manager UI: manages library
README.md - Manager UI → Web Manager: sends requests
README.md - Web Manager → Library Operations: handles operations
src/sticker_mcp/web.py - Library Operations → Image Validation: validates images
src/sticker_mcp/library.py - Library Operations → Library Database: reads and writes
src/sticker_mcp/library.py - Library Operations → Image Files: stores image bytes
src/sticker_mcp/library.py - Library Operations → Sticker Models: uses data models
src/sticker_mcp/library.py - Library Operations → Provider URL Validation: validates endpoints
src/sticker_mcp/library.py - Web Manager → Tag Job Queue: queues tagging
src/sticker_mcp/web.py - Tag Job Queue → Vision Provider: requests tags
src/sticker_mcp/vision.py - Vision Provider → Vision Service: sends preview
README.md - Tag Job Queue → Library Operations: applies metadata
src/sticker_mcp/vision.py - Web Manager → Vision Provider: tests configuration
src/sticker_mcp/web.py - Web Manager → Backup and Restore: exports and restores
README.md - Web Manager → Feedback and Preferences: edits preferences
src/sticker_mcp/web.py - MCP Client → MCP Tools: calls tools
README.md - MCP Tools → Library Operations: selects and retrieves
src/sticker_mcp/mcp_server.py - MCP Tools → Search and Selection: requests selection
src/sticker_mcp/mcp_server.py - MCP Tools → Feedback and Preferences: uses policies
README.md - CLI Services → Library Operations: builds services
src/sticker_mcp/cli.py - CLI Services → MCP Tools: starts MCP
src/sticker_mcp/cli.py - CLI Services → Web Manager: starts web app
src/sticker_mcp/cli.py - CLI Services → Tag Job Queue: configures tagging
src/sticker_mcp/cli.py - MCP Tools → Web Manager: mounts web routes
src/sticker_mcp/mcp_server.py