Skip to main content
Glama
Makefile1.21 kB
IMAGE?=smartthings-mcp:py .PHONY: help build run shell lint clean test install-dev check-errors help: ## Show this help message @echo 'Usage: make [target]' @echo '' @echo 'Available targets:' @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " %-15s %s\n", $$1, $$2}' build: ## Build Docker image docker build -t $(IMAGE) . run: ## Run MCP server in Docker (requires SMARTTHINGS_PAT env var) docker run --rm -i \ -e SMARTTHINGS_PAT=$$SMARTTHINGS_PAT \ -e SMARTTHINGS_LOCATION_ID=$$SMARTTHINGS_LOCATION_ID \ $(IMAGE) shell: ## Open shell in Docker container docker run --rm -it \ -e SMARTTHINGS_PAT=$$SMARTTHINGS_PAT \ -e SMARTTHINGS_LOCATION_ID=$$SMARTTHINGS_LOCATION_ID \ --entrypoint bash $(IMAGE) install-dev: ## Install development dependencies locally pip install -r requirements.txt pip install pytest pytest-asyncio mypy ruff test: ## Run tests (if test files exist) pytest -v lint: ## Run linters (ruff and mypy) ruff check app/ mypy app/ check-errors: ## Check for Python syntax errors python -m py_compile app/*.py clean: ## Remove Docker image docker rmi $(IMAGE) || true .DEFAULT_GOAL := help

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/bjornhovd/Samsung-SmartThings-MCP'

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