2026-03-27 14:10:49 +01:00
|
|
|
.PHONY: test lint install mcp-http mcp-stop
|
2026-03-12 11:38:23 +01:00
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
uv run pytest
|
|
|
|
|
|
|
|
|
|
lint:
|
|
|
|
|
uv run ruff check .
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
uv tool install -e .
|
2026-03-27 14:10:49 +01:00
|
|
|
|
|
|
|
|
mcp-http: ## Start MCP server in SSE mode (default port 8002)
|
|
|
|
|
BRIDGE_MCP_PORT=$${BRIDGE_MCP_PORT:-8002} uv run python src/bridge/mcp_server/server.py --http
|
|
|
|
|
|
|
|
|
|
mcp-stop: ## Stop MCP server running on port 8002
|
|
|
|
|
@lsof -ti:$${BRIDGE_MCP_PORT:-8002} | xargs -r kill -TERM && echo "MCP server stopped" || echo "No MCP server running on port $${BRIDGE_MCP_PORT:-8002}"
|