Integrations
Useful Model Context Protocol Servers (MCPS)
A collection of standalone Python scripts that implement Model Context Protocol (MCP) servers for various utility functions. Each server provides specialized tools that can be used by AI assistants or other applications that support the MCP protocol.
What is MCP?
The Model Context Protocol (MCP) is a standardized way for AI assistants to interact with external tools and services. It allows AI models to extend their capabilities by calling specialized functions provided by MCP servers. Communication happens via standard input/output (stdio) using JSON messages.
Available Servers
Each MCP server is designed to be run using a Python environment manager like
uv
.
YouTube Data Extractor (ytdlp
)
A server that extracts information from YouTube videos using yt-dlp.
Tools:
- Extract Chapters: Get chapter information from a YouTube video.
- Extract Subtitles: Get subtitles from a YouTube video for specific chapters or the entire video.
MCP Server Configuration:
Word Document Processor (docx_replace
)
A server for manipulating Word documents, including template processing and PDF conversion.
Tools:
- Process Template: Replace placeholders in Word templates and manage content blocks.
- Get Template Keys: Extract all replacement keys from a Word document template.
- Convert to PDF: Convert a Word document (docx) to PDF format.
MCP Server Configuration:
PlantUML Renderer (plantuml
)
A server for rendering PlantUML diagrams using a PlantUML server (often run via Docker).
Tools:
- Render Diagram: Convert PlantUML text to diagram images (e.g., PNG).
MCP Server Configuration:
(Note: Requires a running PlantUML server accessible, potentially managed via Docker as implemented in the service).
Mermaid Renderer (mermaid
)
A server for rendering Mermaid diagrams using the mermaidchart.com API.
Tools:
- Render Mermaid Chart: Convert Mermaid code into a PNG image by creating a document on mermaidchart.com.
MCP Server Configuration:
(Note: Requires a Mermaid Chart API access token set as an environment variable).
Rss feed to markdown (rss2md
)
A server for Convert rss feed content to markdown format with date filtering.
Tools:
- fetch_rss_to_markdown: Fetches an RSS feed, filters articles by date, and returns matching articles formatted as a Markdown list..
MCP Server Configuration:
Installation
- Clone the repository:Copy
- Install
uv
: If you don't haveuv
, install it:Copy - Dependencies: Dependencies are managed per-MCP via
pyproject.toml
.uv run
will typically handle installing them automatically in a virtual environment when you run an MCP for the first time using--directory
.
Usage
Running a Server
It's recommended to run each MCP server using uv run --directory <path>
pointing to the specific MCP's directory. uv
handles the virtual environment
and dependencies based on the pyproject.toml
found there.
Example (from the root useful-mcps
directory):
Alternatively, configure your MCP client (like the example JSON configurations
above) to execute the uv run --directory ...
command directly.
Connecting to a Server
Configure your MCP client application to launch the desired server using the
command
and args
structure shown in the "MCP Server Configuration" examples
for each server. Ensure the command
points to your uv
executable and the
args
correctly specify --directory
with the path to the MCP's folder and the
script name to run. Pass necessary environment variables (like API tokens) using
the env
property.
Tool-Specific Usage Examples
These show example arguments
you would send to the call_tool
function of the
respective MCP server.
YouTube Data Extractor
Extract Chapters
Extract Subtitles
Word Document Processor
Process Template
(Note: template_file
and docx_file
can also accept base64 encoded strings
instead of paths)
Get Template Keys
Convert to PDF
PlantUML Renderer
Render Diagram
(Note: input
can also be a path to a .puml
file)
Mermaid Renderer
Render Mermaid Chart
Development
Adding a New MCP Server
- Create a new directory for your MCP (e.g.,
my_new_mcp
). - Inside the directory, create:
pyproject.toml
: Define project metadata, dependencies, and the script entry point (e.g.,[project.scripts]
section mappingmy_new_mcp = "my_new_mcp:main"
).pyrightconfig.json
: (Optional) For type checking.- Your main Python file (e.g.,
my_new_mcp.py
): Implement the MCP logic using themcp
library (see template below).
- Implement the required classes and functions (
serve
,list_tools
,call_tool
).
Basic template (my_new_mcp.py
):
Testing
Run tests using pytest from the root directory:
(Ensure test dependencies are installed, potentially via
uv pip install pytest
or by adding pytest
to the dev dependencies in one of
the pyproject.toml
files).
License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
List of small useful mcp servers including:
- docx_replace: replace tag in word document
- yt-dlp: extract chaper and subtitles base on chapter
- mermaid: generate and render image using mermaidchart.com API
Related MCP Servers
- AsecurityAlicenseAqualityA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.Last updated -414612TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server for fetching and transforming web content into various formats.Last updated -44PythonMIT License
- -securityAlicense-qualityAn MCP server that allows managing Docker containers through natural language, enabling users to compose, introspect, and debug containers without running commands themselves.Last updated -418PythonGPL 3.0
- -securityFlicense-qualityAn MCP server that extracts meaningful content from websites and converts HTML to high-quality Markdown, using Mozilla's Readability engine.Last updated -11,9932JavaScript