loading…
Search for a command to run...
loading…
A powerful MCP server with 116 practical tools across 9 categories including compression, web, file system, data processing, text, system, utilities, subagent A
A powerful MCP server with 116 practical tools across 9 categories including compression, web, file system, data processing, text, system, utilities, subagent AI, and browser automation.
A powerful Model Context Protocol (MCP) server with 116 practical tools across 9 categories, built using FastMCP.
Build and Release Tests Lint Python 3.12+ License: MIT Platform
oh-my-mcp provides tools for:
Note: Python Development, UV Package Manager, and Pylance/Pyright tools have been removed from the packaged version as they require external Python interpreters and package managers. All remaining tools work completely standalone.
pip install -e .
uv run configure.py
或直接为Claude Desktop生成配置:
python -m mcp_server.cli.config --claude
或启动HTTP配置服务:
python -m mcp_server.cli.config --http-server --port 8765
详细配置说明见:docs/zh/SETUP_GUIDE.md
python -m mcp_server.main
启动后可通过Claude Desktop或MCP客户端连接使用。
For the full list of tools, usage examples, and API details, see docs/en/TOOL_REFERENCE.md.
Logs are configured in mcp_server/utils.py. You can adjust:
File operations have safety limits:
read_file: 10MB max file sizesafe_write_file: Creates parent directories automaticallyconfirm=TrueAll tools include comprehensive error handling:
Errors are returned as JSON with descriptive messages.
oh-my-mcp/
├── pyproject.toml # Dependencies
├── configure.py # Interactive setup wizard
├── README.md # Documentation
└── src/
└── mcp_server/
├── __init__.py # Package init
├── main.py # Server entry point
├── utils.py # Infrastructure & utilities
├── command_executor.py # Secure command execution
├── cli/
│ └── config.py # Configuration generator
└── tools/ # Tool plugins (9 categories)
├── __init__.py # Plugin auto-discovery
├── registry.py # @tool_handler & ToolPlugin
├── search_engine.py # Web search backend
├── subagent_config.py # Subagent config manager
├── compression/ # Compression tools (5)
├── web/ # Web & Network tools (18)
├── file/ # File System tools (12)
├── data/ # Data Processing tools (15)
├── text/ # Text Processing tools (9)
├── system/ # System tools (8)
├── utility/ # Utility tools (10)
└── subagent/ # AI Orchestration tools (6)
Create a new tool in the appropriate plugin's handlers.py:
from mcp_server.tools.registry import tool_handler
@tool_handler
def your_tool(param: str) -> str:
"""Tool description.
Args:
param: Parameter description
Returns:
Return value description
"""
try:
# Your implementation
return result
except Exception as e:
logger.error(f"Tool failed: {e}")
return f"Error: {str(e)}"
Start the server and test tools using an MCP client or the FastMCP testing utilities.
Contributions are welcome! Areas for improvement:
This project is provided as-is for educational and practical use.
The python -m mcp_server.cli.config command provides multiple ways to configure MCP clients:
# Quick install to Claude Desktop
python -m mcp_server.cli.config --claude
# Run HTTP server on custom port
python -m mcp_server.cli.config --http-server --port 9000
# Generate config file with custom server name
python -m mcp_server.cli.config --server-name my-tools --output config.json
# Show configuration in console
python -m mcp_server.cli.config --show-config
When running with --http-server:
| Endpoint | Description |
|---|---|
GET /config |
Returns MCP configuration JSON |
GET /info |
Returns server information and paths |
GET /health |
Health check endpoint |
Example usage:
# Start server on port 8765
python -m mcp_server.cli.config --http-server
# Get configuration
curl http://localhost:8765/config
# Get server info
curl http://localhost:8765/info
Enjoy oh-my-mcp! 🚀
Run in your terminal:
claude mcp add oh-my-mcp -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.