Skip to main content
Glama
jcvalerio

MoneyWiz MCP Server

by jcvalerio
Makefileβ€’4.83 kB
# MoneyWiz MCP Server - Development Makefile # Modern Python development workflow with Ruff, Black, Mypy, and more .PHONY: help install install-dev clean lint format type-check security test test-cov test-integration docs pre-commit setup-pre-commit ci-local build # Default target help: ## Show this help @echo "MoneyWiz MCP Server - Development Commands" @echo "==========================================" @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) # Installation install: ## Install package for production pip install -e . install-dev: ## Install package with development dependencies pip install -e ".[dev,test]" # Code Quality lint: ## Run all linting checks @echo "πŸ” Running Ruff linter..." ruff check . @echo "βœ… Linting complete!" lint-fix: ## Run linting with auto-fix @echo "πŸ”§ Running Ruff with auto-fix..." ruff check --fix . @echo "βœ… Auto-fix complete!" format: ## Format code with Ruff and Black @echo "🎨 Formatting code..." ruff format . black . @echo "βœ… Formatting complete!" format-check: ## Check code formatting without making changes @echo "πŸ” Checking code formatting..." ruff format --check . black --check . @echo "βœ… Format check complete!" type-check: ## Run static type checking with Mypy @echo "πŸ”¬ Running type checks..." mypy src/ @echo "βœ… Type checking complete!" security: ## Run security checks @echo "πŸ›‘οΈ Running security checks..." bandit -r src/ safety check @echo "βœ… Security checks complete!" # Testing test: ## Run tests @echo "πŸ§ͺ Running tests..." pytest @echo "βœ… Tests complete!" test-cov: ## Run tests with coverage report @echo "πŸ§ͺ Running tests with coverage..." pytest --cov=moneywiz_mcp_server --cov-report=term-missing --cov-report=html @echo "πŸ“Š Coverage report generated in htmlcov/" test-integration: ## Run integration tests only @echo "πŸ”— Running integration tests..." pytest tests/integration/ -v @echo "βœ… Integration tests complete!" test-unit: ## Run unit tests only @echo "πŸ”¬ Running unit tests..." pytest tests/unit/ -v @echo "βœ… Unit tests complete!" # Documentation docs: ## Build documentation (if configured) @if [ -f "mkdocs.yml" ]; then \ echo "πŸ“š Building documentation..."; \ mkdocs build; \ echo "βœ… Documentation built!"; \ else \ echo "πŸ“ No documentation configuration found"; \ fi docs-serve: ## Serve documentation locally @if [ -f "mkdocs.yml" ]; then \ echo "🌐 Serving documentation at http://localhost:8000"; \ mkdocs serve; \ else \ echo "πŸ“ No documentation configuration found"; \ fi # Pre-commit setup-pre-commit: ## Install pre-commit hooks @echo "πŸͺ Installing pre-commit hooks..." pre-commit install pre-commit install --hook-type commit-msg @echo "βœ… Pre-commit hooks installed!" pre-commit: ## Run pre-commit hooks on all files @echo "πŸ”„ Running pre-commit hooks..." pre-commit run --all-files @echo "βœ… Pre-commit complete!" # CI/CD Simulation ci-local: ## Run complete CI pipeline locally @echo "πŸš€ Running local CI pipeline..." @echo "πŸ“‹ Step 1: Code formatting check" $(MAKE) format-check @echo "πŸ“‹ Step 2: Linting" $(MAKE) lint @echo "πŸ“‹ Step 3: Type checking" $(MAKE) type-check @echo "πŸ“‹ Step 4: Security checks" $(MAKE) security @echo "πŸ“‹ Step 5: Tests with coverage" $(MAKE) test-cov @echo "πŸ“‹ Step 6: Build package" $(MAKE) build @echo "πŸŽ‰ Local CI pipeline complete!" # Package Management build: ## Build package distribution @echo "πŸ“¦ Building package..." python -m build @echo "βœ… Package built in dist/" build-check: ## Check built package @echo "πŸ” Checking package..." twine check dist/* @echo "βœ… Package check complete!" clean: ## Clean build artifacts and cache @echo "🧹 Cleaning up..." rm -rf build/ rm -rf dist/ rm -rf *.egg-info/ rm -rf .coverage rm -rf htmlcov/ rm -rf .pytest_cache/ rm -rf .ruff_cache/ rm -rf .mypy_cache/ find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true find . -type f -name "*.pyc" -delete @echo "βœ… Cleanup complete!" # Development workflow dev-setup: ## Complete development environment setup @echo "πŸš€ Setting up development environment..." $(MAKE) install-dev $(MAKE) setup-pre-commit @echo "βœ… Development environment ready!" quick-check: ## Quick code quality check (format + lint + type) @echo "⚑ Quick quality check..." $(MAKE) format $(MAKE) lint $(MAKE) type-check @echo "βœ… Quick check complete!" # MCP Server specific run-server: ## Run MCP server locally @echo "πŸ–₯️ Starting MoneyWiz MCP Server..." python -m moneywiz_mcp_server.main test-mcp: ## Test MCP server functionality @echo "πŸ§ͺ Testing MCP server..." python test_mcp_minimal.py

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jcvalerio/moneywiz-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server