How sanketh91/dailypost-mcp-t1 works
This repository provides a FastMCP interface for searching and managing DailyPost content in Weaviate, including post, topic, date, keyword, hybrid, and chunk search, plus post insertion and style-guide access. The main workflow is an MCP client request entering the server, dispatching to registered tools, querying or updating Weaviate, and returning structured results. A separate dynamic-tool workflow analyzes requests, generates handlers, and registers them with disk persistence. Source excerpts are partial; links show only wiring evidenced by the supplied files.
Main entry points: tool.py Registered Tools · dynamic_tool_registry.py Dynamic Registry · mcp_server.py MCP Server · dynamic_tools_framework.py Tool Generator
Components 13
MCP Server
- MCP Server
mcp_server.py
Content Tools
- Registered Tools
tool.py - Content Search
tool.py - Chunk Search
tool.py - Post Insertion
tool.py - Style Guide
tool.py
Dynamic Tools
- Tool Generator
dynamic_tools_framework.py - Dynamic Registry
dynamic_tool_registry.py - Persisted Tool Store
Data Services
- Embedding Manager
tool.py - Embedding Cache
tool.py - Weaviate
Other components
- MCP Client
Connections 16
- MCP Client → MCP Server: sends requests
- MCP Server → Registered Tools: registers tools
- MCP Client → MCP Server: invokes tools
- Registered Tools → Content Search: dispatches searches
- Registered Tools → Chunk Search: dispatches searches
- Registered Tools → Post Insertion: dispatches writes
- Registered Tools → Style Guide: dispatches guide
- Content Search → Weaviate: queries
- Chunk Search → Embedding Manager: creates vectors
- Embedding Manager → Embedding Cache: checks cache
- Chunk Search → Weaviate: queries
- Post Insertion → Embedding Manager: creates vectors
- Post Insertion → Weaviate: writes posts
- Tool Generator → Dynamic Registry: registers tools
- Dynamic Registry → Persisted Tool Store: persists tools
- Dynamic Registry → Tool Generator: recreates handlers