.PHONY: test format lint typecheck check coverage
.DEFAULT_GOAL := all
test:
uv run pytest
install:
uv sync --all-extras
coverage:
uv run pytest --cov=mcp_text_editor --cov-report=term-missing
format:
uv run black src tests
uv run isort src tests
uv run ruff check --fix src tests
lint:
uv run black --check src tests
uv run isort --check src tests
uv run ruff check src tests
typecheck:
uv run mypy src tests
# Run all checks required before pushing
check: lint typecheck
fix: format
all: format typecheck coverage
pre-commit-install:
uv run pre-commit install --install-hooks --hook-type pre-commit --hook-type commit-msg
pre-commit-run:
uv run pre-commit run --all-files
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/tumf/mcp-text-editor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server