File size: 441 Bytes
d10c06c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
set -euo pipefail
# Refresh MCP snapshot (pulls latest llms-full.txt) and regenerates curated markdown files
OUT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
URL="https://modelcontextprotocol.io/llms-full.txt"
TMP="$OUT_DIR/.tmp"
mkdir -p "$TMP" "$OUT_DIR/mcp"
curl -fsSL "$URL" -o "$TMP/mcp_llms-full.txt"
python3 "$OUT_DIR/scripts/split_mcp.py" "$TMP/mcp_llms-full.txt" "$OUT_DIR/mcp"
echo "Refreshed MCP into $OUT_DIR/mcp"