Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from bundle
Install and run silkworm-mcp via uv (stdio/http) with health checks.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/start_silkworm_http.sh
1#!/usr/bin/env bash2set -euo pipefail34TARGET_DIR="${SILKWORM_MCP_DIR:-$HOME/.cache/silkworm-mcp}"5HOST="${SILKWORM_MCP_HOST:-127.0.0.1}"6PORT="${SILKWORM_MCP_PORT:-8000}"78if [[ ! -f "$TARGET_DIR/pyproject.toml" ]]; then9echo "error: silkworm-mcp is not set up yet. Run scripts/setup_silkworm_mcp.sh first." >&210exit 111fi1213cd "$TARGET_DIR"14exec uv run python mcp_server.py --transport http --host "$HOST" --port "$PORT"15