MCP Blog Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Blog Server show me all blog posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Blog Server
A Model Context Protocol (MCP) server that provides blog management tools through a simple API interface. This server allows AI assistants to interact with a blog system to retrieve, search, and create blog posts.
π Features
Get Blogs: Retrieve all available blog posts
Search Blogs: Search for blogs by name/query
Create Blog: Add new blog posts to the system
MCP Integration: Fully compatible with MCP-compatible AI assistants
Related MCP server: blogger-mcp
π οΈ Prerequisites
Python 3.10 or higher
uvpackage manager (recommended) orpip
π¦ Installation
Clone the repository:
git clone <your-repo-url> cd mcp-by-gokoguaCreate a virtual environment:
python3.11 -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activateInstall dependencies:
uv add "mcp[cli]" httpx
π§ Configuration
Claude Desktop Configuration
To use this MCP server with Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"gokogua-blog": {
"command": "uv",
"args": ["--directory", "/path/to/your/project", "run", "main.py"]
}
}
}Note: Replace /path/to/your/project with the actual path to your project directory.
π Usage
Running the Server
# Activate virtual environment
source .venv/bin/activate
# Run the MCP server
uv run main.pyAvailable Tools
The server provides three main tools:
get_blogs()- Retrieves all blog posts from the APIsearch_blogs(query: str)- Searches for blogs matching the given querycreate_blog(name: str)- Creates a new blog post with the specified name
API Endpoint
The server connects to a mock API at:
https://6898a797ddf05523e55f7ac1.mockapi.io/blogs/BlogsποΈ Project Structure
mcp-by-gokogua/
βββ main.py # Main MCP server implementation
βββ pyproject.toml # Project configuration and dependencies
βββ README.md # This documentation
βββ .venv/ # Virtual environment (created during setup)π MCP Integration
This server implements the Model Context Protocol (MCP) using FastMCP, providing a standardized way for AI assistants to interact with external tools and data sources.
Transport
The server uses stdio transport, making it compatible with most MCP clients.
π§ͺ Testing
To test the server functionality:
Start the server using
uv run main.pyUse an MCP-compatible client to connect
Test the available tools through the MCP interface
π Dependencies
mcp: Model Context Protocol implementation
httpx: Modern HTTP client for Python
FastMCP: Fast MCP server framework
π€ Contributing
Fork the repository
Create a feature branch
Make your changes
Submit a pull request
π License
This project is open source and available under the MIT License.
π Support
If you encounter any issues:
Check that Python 3.10+ is installed
Verify all dependencies are installed correctly
Ensure the virtual environment is activated
Check the API endpoint is accessible
π Related Links
Available Tools
3 toolscreate_blogD
Inputs: name (required).
get_blogsD
Inputs: no named parameters.
search_blogsD
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 3 tools
Each tool has a distinct purpose: creating a blog, retrieving all blogs, and searching blogs. No overlap.
All tools use consistent verb_noun pattern with underscores.
Three tools is reasonable for a simple blog server, though a bit minimal.
Missing update and delete operations, which are essential for full blog management.
Maintenance
Related MCP Connectors
An MCP server for the BlogCaster project.
Create, edit, organize, publish, and configure JustBlogged blogs from MCP clients.
Blog MCP server for AI agents. One signup call returns a blog, an API key and a live URL; then your agent publishes markdown posts and gets public URLs back. Your agent does the writing; you get a dashboard for stats.
Hosted MCP for BlogBat: read, write, generate, and publish blog articles and content.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple blog API service built with FastMCP that allows users to fetch all blogs, search for blogs by title, and add new blog posts.3-
- AlicenseAqualityDmaintenanceA custom MCP server for interacting with Google Blogger blogs. It provides tools to list, create, edit, delete, and publish blog posts through Claude Code or Claude Desktop.9MIT
- AlicenseAqualityFmaintenanceMCP server that gives AI agents full blog management over a Lontar headless blogging API, enabling listing, reading, drafting, publishing, updating, and deleting posts.8MIT
- FlicenseNot gradedqualityDmaintenanceDemonstrates a simple MCP client-server setup using fastmcp, with an advanced blog server featuring dynamic resources, tools for post creation and publishing workflows, caching, and async operations.-