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.
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)
Using pip
Usage
Running the Server
Using uv (Recommended)
Using standard Python
Environment 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:
API 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]
This server cannot be installed
Un servicio de API de blog simple creado con FastMCP que permite a los usuarios obtener todos los blogs, buscar blogs por título y agregar nuevas publicaciones de blog.
Related MCP Servers
- -securityAlicense-qualityA high-performance FastAPI server supporting Model Context Protocol (MCP) for seamless integration with Large Language Models, featuring REST, GraphQL, and WebSocket APIs, along with real-time monitoring and vector search capabilities.Last updated -9MIT License
- -securityFlicense-qualityA Python MCP server that enables semantic search through Search Labs blog posts indexed in Elasticsearch, allowing Claude to intelligently retrieve relevant information from the blog content.Last updated -3
- -securityAlicense-qualityA FastMCP-based server that provides tools for discovering RSS feeds, fetching and processing news content, searching articles by keyword, and generating summaries across multiple news sources and categories.Last updated -MIT License
- -securityAlicense-qualityA REST API built with FastAPI that exposes endpoints via Model Context Protocol (MCP), allowing clients to interact with CRUD operations through MCP interfaces.Last updated -MIT License