# Developers & MCP: Agentic EIA Pre-Submission API

Model Context Protocol (MCP) Streamable HTTP transport and REST API specification for environmental clearance reasoning.

## MCP Server Connection
- **Endpoint**: `https://eia-landing.pranay-442.workers.dev/mcp`
- **Transport**: Streamable HTTP
- **Protocol Version**: 2024-11-05

## Exposed MCP Tools
1. `eiaAuditPreSubmission`: Evaluates project parameters, jurisdiction, spatial envelope, and resource allocations to produce a pre-submission statutory gap assessment and screening analysis.
2. `eiaCheckStatutorySetbacks`: Verifies spatial buffer distances to protected habitats, sensitive ecological areas, wetlands/waterways, and declared settlements.
3. `eiaCalculateProponentDelayRoi`: Computes the financial carrying costs and capital loss risks associated with regulatory inquiry delays.
4. `eiaGetJurisdictionMatrix`: Retrieves statutory review thresholds, lead agency mandates, and pre-submission screening requirements across supported international jurisdictions.

## Exposed MCP Resources
- `eia://frameworks/international-eia-statutory-baselines`
- `eia://checklists/proponent-pre-submission-gap-matrix`
- `eia://benchmarks/statutory-inquiry-taxonomy`
- `eia://mcp/server-card.json`

## Instant Sandbox API Key
Provision an ephemeral sandbox key instantly via cURL:
```bash
curl -X POST https://eia-landing.pranay-442.workers.dev/api/v1/sandbox/keys \
  -H "Content-Type: application/json" \
  -d '{"agentName": "EiaAuditAgent", "environment": "sandbox"}'
```
