Skip to content

GridForge v1.7.0 — Native MCP Server, Interactive MCP Apps & AI Tool Integration

Choose a tag to compare

@jremick jremick released this 27 Nov 04:36
· 24 commits to main since this release

GridForge v1.7.0 — Native MCP Server, Interactive SEP-1865 MCP Apps, Bearer PATs & Visual Chat Cards

GridForge v1.7.0 turns GridForge into an AI-native cartography, navigation, and RF planning backend out of the box — connecting directly to Claude Desktop & Claude Code, OpenAI Codex, Google Antigravity, ChatGPT, Cursor, and VS Code with zero extra Python SDK dependencies.

Highlights

  • Native Dual-Transport MCP Server (stdio + Streamable HTTP /mcp):
    • Run locally via ghcr.io/jremick/gridforge:v1.7.0 gridforge mcp or connect directly to /mcp on any self-hosted or hosted deployment (2025-06-18, 2025-03-26, and 2024-11-05).
    • Ships 14 model-visible tools (open_gridforge_studio, answer_location_briefing, geocode_place, preview_footprint, analyze_rf_link, compute_viewshed, measure_route, plan_strip_atlas, render_map, get_job_status, get_job_page_preview, create_share_link, list_packs, get_capabilities), 3 app-only tools (app_get_job_status, app_get_job_page, app_get_capabilities), 3 resources, and 4 guided prompts.
  • Interactive SEP-1865 MCP Apps (ui://gridforge/app.html):
    • Self-contained single-file HTML/JS workspace (text/html;profile=mcp-app, CSP default-src 'none' safe, reactive dark/light host theming) with a pan/zoom UTM & 1 km MGRS footprint canvas, SVG WMM2025 declination compass, interactive hover-scrub 1st Fresnel RF link chart, terrain viewsheds, route/strip atlas planners, and a live-polling multi-page printable PDF viewer.
    • Ships a ready-to-install Google Antigravity plugin (plugins/antigravity/) exposing inline chat widgets, side pane (aux_pane: GridForge Studio), and sidebar (global: GridForge Maps) entrypoints, plus a portable Agent Skill (docs/agent-skill/SKILL.md).
  • Crisp Inline PNG Visual Cards for Every MCP Host:
    • Pure-Pillow dark-tactical PNG visual cards (ImageContent) for footprints, viewsheds, route cards, and 760×360 curved-Earth Fresnel charts alongside natural-language Q&A summaries and rasterized PDF page previews (/api/jobs/{job_id}/pages/{page}.png).
  • AI-Ready Web API, Scoped Bearer PATs & Signed Download URLs:
    • Scoped SQLite Personal Access Tokens (GET/POST/DELETE /api/auth/api-keys, gf_... prefix, SHA-256 hashed at rest, 25 active-key per-user cap) for Friend and Admin accounts in hosted mode (bypassing guest-only Turnstile while preserving full quotas and tenant isolation), plus optional static GRIDFORGE_API_KEY protection for single-tenant auth_mode=none deployments.
    • Short-lived HMAC-signed artifact download & page-preview URLs (?sig=...), synchronous render completion polling (POST /api/jobs?wait=true&timeout_s=120), GET /api/capabilities, GET /llms.txt, complete /openapi.json request schemas (CreateJobRequest, StripPlanRequest), and declarative gridforge render --spec-file <path|->.

Security Hardening

  • Enforced OriginProxyAuthMiddleware on /mcp while forwarding verified origin-proxy, CF-Connecting-IP, and X-Forwarded-Proto headers strictly into in-process ASGI sub-requests.
  • Stripped GRIDFORGE_API_KEY and *API_KEY* env vars from all GIS/PDF subprocesses, guarded pdftoppm page preview rendering with per-job locks, bounded concurrency slots, and safe environments, capped JSON-RPC batches at 20 messages, rejected forged boolean exp claims in signed tokens, scrubbed internal errors from /mcp responses, and expanded release privacy scanning to web/mcp-app/, docs/, and plugins/.

Quick Pull (linux/amd64 + linux/arm64)

docker pull ghcr.io/jremick/gridforge:v1.7.0
# Start local Studio + /mcp endpoint
docker compose -f docker-compose.ghcr.yml up -d
# Or run the stdio MCP server directly
docker run -i --rm ghcr.io/jremick/gridforge:v1.7.0 gridforge mcp --url http://host.docker.internal:8080

Verification

  • 575 offline pytest cases (unit + integration + e2e) + 49 frontend & MCP App tests (0 production npm audit vulnerabilities) + 26 live multi-region open-data E2E renders across US, Canada, Australia, and New Zealand + non-root (UID 10001) runtime container MCP smoke test + Docker Compose parity test.
  • Attached sample PDFs below are rendered at 300–600 DPI directly from ghcr.io/jremick/gridforge:v1.7.0 and automatically verified by tests/integration/verify_pdf.py.