Project showcase
The blog as an MCP server
A public MCP endpoint that lets an assistant search the blog, browse its catalog, and retrieve complete articles.
FastAPI · MCP · PostgreSQL · Hybrid search
Read technical article
Recorded demonstration. Unmute the player to listen.
What it does
Connect an MCP client to https://thelatentsource.com/mcp. It exposes three read-only tools: search_articles, list_articles, and get_article.
The narrated demonstration records a real client session: initialization, tool discovery, article search and retrieval, and an intentional missing-article error. The saved JSON contains the requests and responses.
How it is built
The technical post explains the JSON-RPC transport, tool contracts, shared search and Markdown services, error handling, and the test isolation bug behind the build.
Turning This Blog Into an MCP Server