Repository for holding one-file MCP servers written in Python
This repository contains self-contained, single-file MCP (Model Context Protocol) servers that can be easily integrated into Claude Desktop or other MCP-compatible applications. Each server is designed to be standalone with dependencies declared using PEP 723 inline script metadata.
- Self-contained scripts - Each MCP server is a single Python file with embedded dependencies
- PEP 723 compliant - Uses inline script metadata for dependency management
- Direct execution - Scripts can be run directly with
uv
or executed as standalone programs - No setup required - Dependencies are automatically handled by
uv
at runtime
Converts deer.social URLs to Bluesky-compatible AT URI formats for seamless integration with Bluesky tools.
Provides efficient methods for reading large files in chunks, including line-based reading, head/tail operations, byte-based access, and pattern searching with context.
A Scrabble word validation server containing the complete SOWPODS word list for word game applications.
- Python >= 3.11
- uv package manager
Each server can be run in multiple ways:
./deer_to_bsky.py
uv run --script deer_to_bsky.py
Add any server to your Claude Desktop configuration:
{
"mcpServers": {
"deer-to-bsky": {
"command": "/path/to/uv",
"args": [
"run",
"--script",
"/path/to/deer_to_bsky.py"
]
}
}
}
- Start with the PEP 723 header:
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "fastmcp",
# "pydantic"
# ]
# ///
- Follow the existing pattern for structure and documentation
- Make the file executable:
chmod +x your_server_mcp.py
All servers use:
fastmcp
- MCP frameworkpydantic
- Data validation
Dependencies are declared inline using PEP 723 format, eliminating the need for requirements.txt
or other external dependency files.
See CLAUDE.md
for detailed collaboration notes and development guidelines.
MIT License - See LICENSE file for details
Joshua Shew (2025)