MCP Blog API
Allows interaction with a mock blog API service, providing tools for fetching blogs, searching blogs by title, and adding new blog posts.
Click on "Install 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 APIsearch for blogs about Python programming"
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 API
A simple blog API service built with FastMCP and httpx. This project supports uv for fast, reliable Python package management and environment setup.
Description
This project provides a set of API tools to interact with a mock blog API service. It allows users to fetch all blogs, search for blogs by title, and add new blog posts. The project includes a uv.lock file for reproducible dependency management.
Related MCP server: hello-mcp
Features
Fetch all blogs from the mock API
Search for blogs by title
Add new blog posts
Requirements
Python 3.13 or higher
httpx 0.28.1 or higher
mcp 1.9.0 or higher
Installation
Using uv (Recommended)
# Clone the repository
git clone https://github.com/yourusername/mcp-blog.git
cd mcp-blog
# Install dependencies with uv
uv pip install -e .Using pip
# Clone the repository
git clone https://github.com/yourusername/mcp-blog.git
cd mcp-blog
# Install dependencies
pip install -e .Usage
# Import the MCP server
from main import mcp
# Get all blogs
blogs = mcp.tools.get_blogs()
# Search for blogs by title
search_results = mcp.tools.search_blogs(query="Python")
# Add a new blog
new_blog = mcp.tools.add_blog(title="My New Blog", body="This is the content of my new blog post.")Running the Server
Using uv (Recommended)
uv python main.pyUsing standard Python
python main.pyEnvironment Management
Using uv (Recommended)
uv provides fast environment management for Python projects. Here's how to create and manage a virtual environment for this project:
# Create a new virtual environment
uv venv
# Activate the virtual environment
# On Unix/macOS
source .venv/bin/activate
# On Windows
.venv\Scripts\activate
# Install dependencies in the virtual environment
uv pip install -e .
# Update dependencies
uv pip syncAPI Reference
get_blogs()
Fetches all blogs from the mock API.
search_blogs(query: str)
Searches for blogs by title using the mock API.
add_blog(title: str, body: str)
Adds a new blog to the mock API.
License
[Add your license information here]
Contributing
[Add contribution guidelines here]
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseAqualityCmaintenanceMCP server that gives AI agents full blog management over a Lontar headless blogging API, enabling listing, reading, drafting, publishing, updating, and deleting posts.Last updated8
- FlicenseAqualityDmaintenanceA simple MCP server that provides a greeting tool using FastMCP, with support for both local and containerized deployment.Last updated1
- FlicenseDqualityDmaintenanceMCP server for blog management that provides tools to get, search, and create blog posts via a mock API.Last updated3
- Flicense-qualityDmaintenanceDemonstrates 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.Last updated
Related MCP Connectors
FastMCP server for TheBrain API — AI access to a personal knowledge graph, Tollbooth-monetized
FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tussanakorn/POC_MCP_Protocol_using_FastMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server