Skip to main content
Glama

MoneyWiz MCP Server

by jcvalerio
  • Apple
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

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