Helping Geek MCP
Sample MCP Project
Installation
npx helping-geek-mcpAsk AI about Helping Geek MCP
Powered by Claude Β· Grounded in docs
I know everything about Helping Geek MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Helping Geek MCP Server - Sample Project
A simplified Model Context Protocol (MCP) server created as a proof-of-concept for learning Python package publishing to PyPI. This project demonstrates the structure and components of an MCP server without containing production-level code.
π Overview
This is a sample MCP server project that provides:
- Basic String Operations: Simple text manipulation utilities
- Data Transformation: Basic data format conversion (JSON, XML, YAML)
- Template Management: Simple template handling with variable substitution
- Configuration System: Basic configuration management
- MCP Protocol Support: Working MCP server implementation for AI assistants
π Features
MCP Tools
process_text- Basic text processing (uppercase, lowercase, reverse, capitalize)transform_data- Data format transformation (JSON, XML, YAML)get_template- Template retrieval with variable substitutionget_config- Configuration value retrieval
Key Capabilities
- π Educational: Perfect for learning Python packaging and PyPI publishing
- π§ Simple Code: Easy-to-understand implementations
- π¦ Modern Packaging: Uses
pyproject.tomland modern Python standards - π€ MCP Compatible: Works with AI assistants (Cline, Claude Desktop)
- π§ͺ Test Suite: Complete test coverage with pytest
- π Documentation: Comprehensive guides and examples
π Requirements
- Python: 3.10 or higher
- Dependencies: mcp>=1.0.0, requests>=2.31.0
π§ Installation
Option 1: Install from PyPI (When Published)
pip install helping-geek-mcp
Option 2: Install from Source
# Navigate to the package directory
cd python-server
# Install build tools
pip install build twine
# Build the package
python -m build
# Install from the wheel
pip install dist/helping_geek_mcp-*.whl --force-reinstall
Option 3: Editable Install (For Development)
# Navigate to the package directory
cd python-server
# Install in editable mode
pip install -e ".[dev]"
Verify Installation
# Check if the package is installed
pip show helping-geek-mcp
# Test the server
helping-geek-mcp start
π― Quick Start
Running the Server
# Start with default settings
helping-geek-mcp start
# Start with logging enabled
helping-geek-mcp start --enable-logging --log-level DEBUG
# Start with custom base directory
helping-geek-mcp start --base-dir /custom/path
Configuration for AI Assistants
Cline (VS Code Extension)
Add to your Cline MCP settings:
{
"mcpServers": {
"helping-geek-mcp": {
"timeout": 60,
"command": "helping-geek-mcp",
"args": ["start"],
"env": {}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"helping-geek-mcp": {
"command": "helping-geek-mcp",
"args": ["start"]
}
}
}
π οΈ Available Tools
1. process_text
Process text with basic string operations.
Parameters:
text(required): Input text to processoperation(optional): Operation type - "uppercase", "lowercase", "reverse", "capitalize"
Example:
# Via AI assistant
"Process 'hello world' to uppercase"
# Returns: "HELLO WORLD"
2. transform_data
Transform data between different formats.
Parameters:
data(required): Input data dictionaryformat_type(optional): Output format - "json", "xml", "yaml"
Example:
# Via AI assistant
"Transform {'name': 'Alice', 'age': 30} to XML format"
3. get_template
Get a template and fill it with variables.
Parameters:
template_name(required): Name of the templatevariables(optional): Variables to substitute
Example:
# Via AI assistant
"Get the greeting template with name=Bob and service=MCP"
4. get_config
Get configuration value by key.
Parameters:
key(required): Configuration key
Example:
# Via AI assistant
"Get the version from configuration"
π Project Structure
python-server/
βββ src/
β βββ helping_geek_mcp/
β βββ server.py # Main MCP server
β βββ config/ # Configuration management
β βββ utils/ # Utility modules
β β βββ string_helper.py
β β βββ data_processor.py
β β βββ template_manager.py
β β βββ constants.py
β βββ services/ # Service layer
β βββ tools/ # Additional tools
β βββ prompts/ # Error definitions
β βββ static/ # Static resources
β βββ templates/
βββ tests/ # Test suite
β βββ test_string_helper.py
β βββ test_data_processor.py
β βββ test_template_manager.py
β βββ test_config_manager.py
β βββ test_basic_service.py
βββ docs/ # Documentation
β βββ API_DOCS.md
β βββ USAGE_EXAMPLES.md
β βββ PACKAGING_GUIDE.md
β βββ PROJECT_STRUCTURE.md
βββ pyproject.toml # Package configuration
βββ requirements.txt # Dependencies
βββ LICENSE # MIT License
βββ CHANGELOG.md # Version history
βββ README.md # Main documentation
π§ͺ Testing
Run Tests
# Run all tests
pytest
# Run with coverage
pytest --cov=helping_geek_mcp --cov-report=html
# Run specific test file
pytest tests/test_string_helper.py
# Run with verbose output
pytest -v
π§ Development
Setting Up Development Environment
# Navigate to project
cd python-server
# Create virtual environment
python -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # Linux/Mac
# Install in development mode
pip install -e ".[dev]"
Code Quality
# Format code
black src/ tests/
# Lint code
ruff check src/ tests/
Building the Package
# Clean previous builds
Remove-Item -Recurse -Force dist, build, *.egg-info
# Build package
python -m build
# Check package
twine check dist/*
π¦ Publishing to PyPI
Test PyPI (Recommended First)
# Upload to Test PyPI
twine upload --repository testpypi dist/*
# Test install
pip install --index-url https://test.pypi.org/simple/ helping-geek-mcp
Production PyPI
# Upload to PyPI
twine upload dist/*
# Verify
pip install helping-geek-mcp
π Documentation
- GET_STARTED.md - Quick start guide
- API_DOCS.md - API reference
- USAGE_EXAMPLES.md - Code examples
- PACKAGING_GUIDE.md - PyPI publishing guide
- PROJECT_STRUCTURE.md - Architecture details
- QUICK_REFERENCE.md - Command reference
π Troubleshooting
Import Errors
# Reinstall package
pip uninstall helping-geek-mcp
pip install helping-geek-mcp
Build Issues
# Clean and rebuild
Remove-Item -Recurse -Force dist, build, *.egg-info
python -m build
Version Already Exists
If uploading to PyPI fails with "file already exists":
- Update version in
pyproject.toml - Update
CHANGELOG.md - Rebuild and upload
π€ Contributing
This is a sample/educational project. Feel free to:
- Fork the repository
- Experiment with the code
- Learn from the structure
- Use as a template for your own projects
π License
MIT License - See LICENSE file for details.
π Links
- Project:
python-server/directory - Package Name:
helping-geek-mcp - Author: Helping Geek
- Email: helpinggeek1234@gmail.com
- MCP Documentation: https://modelcontextprotocol.io
π Purpose
This project serves as:
- POC for PyPI publishing process
- Learning Tool for Python packaging
- Template for MCP server projects
- Reference for project structure
β οΈ Important Notes
- This is a demonstration project
- Not for production use
- Contains simplified code only
- Perfect for testing PyPI workflow
- No proprietary or sensitive code included
π Acknowledgments
- Built with FastMCP
- Powered by Model Context Protocol
Ready to publish! See python-server/GET_STARTED.md for step-by-step publishing instructions.
