generated from coulomb/repo-seed
feat(mcp): SSE/HTTP mode, workplan OPS-WP-0002 done
- Add --http flag to MCP server for SSE transport on port 8002 - Add make mcp-http / mcp-stop targets - Pin fastmcp<3.1.0 to stabilize dependency - Update session-protocol: Step 0 tunnel health check before orient - Mark OPS-WP-0002 and all its tasks done Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: test lint install
|
||||
.PHONY: test lint install mcp-http mcp-stop
|
||||
|
||||
test:
|
||||
uv run pytest
|
||||
@@ -8,3 +8,9 @@ lint:
|
||||
|
||||
install:
|
||||
uv tool install -e .
|
||||
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user