Repository navigation
GridForge v1.7.0 — Native MCP Server, Interactive MCP Apps & AI Tool Integration
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 mcpor connect directly to/mcpon any self-hosted or hosted deployment (2025-06-18,2025-03-26, and2024-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.
- Run locally via
- Interactive SEP-1865 MCP Apps (
ui://gridforge/app.html):- Self-contained single-file HTML/JS workspace (
text/html;profile=mcp-app, CSPdefault-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).
- Self-contained single-file HTML/JS workspace (
- 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).
- Pure-Pillow dark-tactical PNG visual cards (
- 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) forFriendandAdminaccounts in hosted mode (bypassing guest-only Turnstile while preserving full quotas and tenant isolation), plus optional staticGRIDFORGE_API_KEYprotection for single-tenantauth_mode=nonedeployments. - 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.jsonrequest schemas (CreateJobRequest,StripPlanRequest), and declarativegridforge render --spec-file <path|->.
- Scoped SQLite Personal Access Tokens (
Security Hardening
- Enforced
OriginProxyAuthMiddlewareon/mcpwhile forwarding verified origin-proxy,CF-Connecting-IP, andX-Forwarded-Protoheaders strictly into in-process ASGI sub-requests. - Stripped
GRIDFORGE_API_KEYand*API_KEY*env vars from all GIS/PDF subprocesses, guardedpdftoppmpage preview rendering with per-job locks, bounded concurrency slots, and safe environments, capped JSON-RPC batches at 20 messages, rejected forged booleanexpclaims in signed tokens, scrubbed internal errors from/mcpresponses, and expanded release privacy scanning toweb/mcp-app/,docs/, andplugins/.
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:8080Verification
- 575 offline pytest cases (
unit+integration+e2e) + 49 frontend & MCP App tests (0productionnpm auditvulnerabilities) + 26 live multi-region open-data E2E renders across US, Canada, Australia, and New Zealand + non-root (UID 10001)runtimecontainer 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.0and automatically verified bytests/integration/verify_pdf.py.