MCP ScannerCustom audit
All servers

P-Srikanthan/geeflow

MCP server that lets Claude run Google Earth Engine

Packagegeeflow
Version0.1.0 in packages/geeflow/pyproject.toml
PublisherP-Srikanthan community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 38Forks 7Last push 2026-07-20
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure3.4Prompts10.0Supply chainnot checkedSecrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure3.4/10Poor

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chainnot checked—

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 12 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number

Top risks in plain words

  • HIGHTool execute_code executes code by design: an agent steered by prompt injection can use it that way.
  • HIGHTools gee_init, lulc_collector_script, lulc_validate, sample_polygons read or write any file path by design: an agent steered by prompt injection can use them that way.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Run it in a container or a virtual machine

    execute_code can start programs or run code they are given. Keep it away from your home folder, keys and other projects.

  • Give it only the folder it needs

    gee_init, lulc_collector_script, lulc_validate, sample_polygons can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need execute_code, gee_init, lulc_collector_script and 2 more, switch them off.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 18 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
catalog_search, dataset_info, gee_init, lulc_analyze, lulc_check, lulc_classify and 4 more
10 of 18

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files10 tools · catalog_search, dataset_info, gee_init +7

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (18: 18 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

execute_codetool Run Python code with the Earth Engine API for anything the typed tools don't cover.Executes code
Run Python code with the Earth Engine API for anything the typed tools don't cover.

    The escape hatch: full `ee` access for arbitrary datasets and analyses (MODIS,
    climate data, custom reducers...). Prefer the typed tools when one fits — they are
    more reliable and their workflows are reproducible.

    The code runs locally in the server process with YOUR Earth Engine credentials.
    Pre-imported: `ee` (initialized via gee_init), `geeflow`, `json`. To return data,
    assign to a variable named `result` and/or print(); keep .getInfo() payloads small.

    Example:
        img = ee.ImageCollection("MODIS/061/MOD11A2").filterDate("2023-01-01", "2023-02-01").mean()
        result = img.select("LST_Day_1km").reduceRegion(
            ee.Reducer.mean(), ee.Geometry.Point([37.0, -0.2]).buffer(5000), 1000
        ).getInfo()
gee_inittool Initialize Earth Engine. Call this first in every session.Filesoutside textReads/writes files
Initialize Earth Engine. Call this first in every session.

    Args:
        project_id: Google Cloud project with Earth Engine enabled.
        service_account_key: path to a service-account key JSON (optional; otherwise
            cached user credentials from `earthengine authenticate` are used).
lulc_collector_scripttool Generate the GEE Code Editor training-polygon collector script for a year.Filesoutside textReads/writes files
Generate the GEE Code Editor training-polygon collector script for a year.

        Paste the returned JavaScript into https://code.earthengine.google.com/ to draw
        and export training polygons bound to the project's AOI, sensor and classes.
lulc_validatetool Validate a lulc.yaml project config and return the resolved run plan.Filesoutside textReads/writes files
Validate a lulc.yaml project config and return the resolved run plan.

        Args:
            config_path: path to the project's lulc.yaml.
sample_polygonstool Auto-generate labeled training polygons from a categorical land-cover product.Filesoutside textReads/writes files
Auto-generate labeled training polygons from a categorical land-cover product.

    Samples homogeneous patches of the dataset (default: ESA WorldCover 10 m) inside
    the region and returns small square polygons per class, ready to use as classifier
    training data. Output class codes are the positions in class_values (0, 1, 2...).

    Example: WorldCover values [10, 40, 80, 50] with labels
    ["Forest", "Cropland", "Water", "Built-up"] -> classes 0..3.

    Args:
        class_values: pixel values in the source dataset to sample.
        lat, lon, radius_m / aoi_geojson: the region (same as build_composite).
        dataset_id: categorical GEE dataset (image collection) to sample from.
        band: its categorical band name.
        class_labels: readable names parallel to class_values.
        points_per_class: polygons wanted per class.
        polygon_size_m: side length of the generated squares.
        save_path: optionally write the GeoJSON to this file path.
build_compositetool Build a cloud-masked, harmonized composite for a year and month window.
Build a cloud-masked, harmonized composite for a year and month window.

    The sensor is chosen automatically from the year (Landsat MSS era through 1983 at
    60 m, TM/ETM+/OLI through 2013 at 30 m, Sentinel-2 after at 10 m), scenes are
    cloud-masked, bands renamed to standard names (Blue/Green/Red/NIR/SWIR1/SWIR2...),
    with automatic fallbacks (backup sensor, wider date window) when scenes are scarce.

    A month window with start > end (e.g. 11 to 2) wraps into the next year.
    Returns a composite_id for use with compute_indices / thumbnail / region_stats /
    export_composite, plus the sensor, bands and native scale.
catalog_searchtool Search the Earth Engine data catalog by keywords.Filesoutside text
Search the Earth Engine data catalog by keywords.

    Args:
        query: space-separated terms matched against dataset id/title/tags/provider,
            e.g. "sentinel-2 surface reflectance" or "land cover 10m".
        limit: maximum results.
compute_indicestool Add spectral index bands to a composite.
Add spectral index bands to a composite.

    Args:
        composite_id: from build_composite.
        indices: from NDVI, SAVI, EVI, NDMI, NBR, BlueGreenNIR, GreenRed, NDRE, CIre,
            NDWI, NDBI. Indices whose required bands are missing in this sensor era are
            skipped and reported.
dataset_infotool Catalog metadata for an exact dataset id (e.g. "COPERNICUS/S2_SR_HARMONIZED").Filesoutside text
Catalog metadata for an exact dataset id (e.g. "COPERNICUS/S2_SR_HARMONIZED").
export_compositetool Export a composite to Google Drive (target="drive") or an EE asset (target="asset").
Export a composite to Google Drive (target="drive") or an EE asset (target="asset").

    Returns the task id; check progress with export_tasks.
export_taskstool Recent Earth Engine export tasks with their states (READY/RUNNING/COMPLETED/FAILED).
Recent Earth Engine export tasks with their states (READY/RUNNING/COMPLETED/FAILED).
lulc_analyzetool Correlation/VIF/importance analysis for a year. Reports only — never prunes.Filesoutside text
Correlation/VIF/importance analysis for a year. Reports only — never prunes.

        Writes the correlation heatmap PNG and VIF/importance CSVs to the project's
        output_dir and returns their paths plus the flagged correlated pairs.
lulc_checktool Scene availability per configured year/season/sensor for a lulc.yaml project.Filesoutside text
Scene availability per configured year/season/sensor for a lulc.yaml project.
lulc_classifytool Full classification for a year: polygon-grouped CV over RF/GBT/SVM, McNemarFilesoutside text
Full classification for a year: polygon-grouped CV over RF/GBT/SVM, McNemar
        test, native GEE retrain of the best model, majority filter, optional export.

        Returns per-model accuracies, the winner, and the JSON report path.
lulc_feature_stacktool Build the year's full candidate feature stack and return its band names.Filesoutside text
Build the year's full candidate feature stack and return its band names.
region_statstool Per-band statistics over the composite's region (reducer: mean, median, minMax, stdDev).
Per-band statistics over the composite's region (reducer: mean, median, minMax, stdDev).
scene_availabilitytool Count available scenes per sensor over a region and date range.
Count available scenes per sensor over a region and date range.

    Args:
        start_date / end_date: ISO dates (YYYY-MM-DD).
        lat, lon, radius_m: circular region (radius defaults to 10 km) — or pass
            aoi_geojson instead.
        aoi_geojson: GeoJSON string (Feature/FeatureCollection/geometry).
        sensors: sensor keys (see geeflow COLLECTIONS); default = the era-appropriate
            sensors for the start year (e.g. sentinel2_sr + landsat9_sr for recent dates).
thumbnailtool A PNG thumbnail URL for visual inspection.
A PNG thumbnail URL for visual inspection.

    Defaults to true color (Red/Green/Blue). For a single-band layer (e.g. ["NDVI"])
    pass min/max for the stretch and optionally a palette of hex colors.

Text the model reads (18)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

lulc_analyze tool
Correlation/VIF/importance analysis for a year. Reports only — never prunes.

        Writes the correlation heatmap PNG and VIF/importance CSVs to the project's
        output_dir and returns their paths plus the flagged correlated pairs.
gee_init tool
Initialize Earth Engine. Call this first in every session.

    Args:
        project_id: Google Cloud project with Earth Engine enabled.
        service_account_key: path to a service-account key JSON (optional; otherwise
            cached user credentials from `earthengine authenticate` are used).
catalog_search tool
Search the Earth Engine data catalog by keywords.

    Args:
        query: space-separated terms matched against dataset id/title/tags/provider,
            e.g. "sentinel-2 surface reflectance" or "land cover 10m".
        limit: maximum results.
dataset_info tool
Catalog metadata for an exact dataset id (e.g. "COPERNICUS/S2_SR_HARMONIZED").
scene_availability tool
Count available scenes per sensor over a region and date range.

    Args:
        start_date / end_date: ISO dates (YYYY-MM-DD).
        lat, lon, radius_m: circular region (radius defaults to 10 km) — or pass
            aoi_geojson instead.
        aoi_geojson: GeoJSON string (Feature/FeatureCollection/geometry).
        sensors: sensor keys (see geeflow COLLECTIONS); default = the era-appropriate
            sensors for the start year (e.g. sentinel2_sr + landsat9_sr for recent dates).
build_composite tool
Build a cloud-masked, harmonized composite for a year and month window.

    The sensor is chosen automatically from the year (Landsat MSS era through 1983 at
    60 m, TM/ETM+/OLI through 2013 at 30 m, Sentinel-2 after at 10 m), scenes are
    cloud-masked, bands renamed to standard names (Blue/Green/Red/NIR/SWIR1/SWIR2...),
    with automatic fallbacks (backup sensor, wider date window) when scenes are scarce.

    A month window with start > end (e.g. 11 to 2) wraps into the next year.
    Returns a composite_id for use with compute_indices / thumbnail / region_stats /
    export_composite, plus the sensor, bands and native scale.
compute_indices tool
Add spectral index bands to a composite.

    Args:
        composite_id: from build_composite.
        indices: from NDVI, SAVI, EVI, NDMI, NBR, BlueGreenNIR, GreenRed, NDRE, CIre,
            NDWI, NDBI. Indices whose required bands are missing in this sensor era are
            skipped and reported.
thumbnail tool
A PNG thumbnail URL for visual inspection.

    Defaults to true color (Red/Green/Blue). For a single-band layer (e.g. ["NDVI"])
    pass min/max for the stretch and optionally a palette of hex colors.
region_stats tool
Per-band statistics over the composite's region (reducer: mean, median, minMax, stdDev).
export_composite tool
Export a composite to Google Drive (target="drive") or an EE asset (target="asset").

    Returns the task id; check progress with export_tasks.
export_tasks tool
Recent Earth Engine export tasks with their states (READY/RUNNING/COMPLETED/FAILED).
sample_polygons tool
Auto-generate labeled training polygons from a categorical land-cover product.

    Samples homogeneous patches of the dataset (default: ESA WorldCover 10 m) inside
    the region and returns small square polygons per class, ready to use as classifier
    training data. Output class codes are the positions in class_values (0, 1, 2...).

    Example: WorldCover values [10, 40, 80, 50] with labels
    ["Forest", "Cropland", "Water", "Built-up"] -> classes 0..3.

    Args:
        class_values: pixel values in the source dataset to sample.
        lat, lon, radius_m / aoi_geojson: the region (same as build_composite).
        dataset_id: categorical GEE dataset (image collection) to sample from.
        band: its categorical band name.
        class_labels: readable names parallel to class_values.
        points_per_class: polygons wanted per class.
        polygon_size_m: side length of the generated squares.
        save_path: optionally write the GeoJSON to this file path.
execute_code tool
Run Python code with the Earth Engine API for anything the typed tools don't cover.

    The escape hatch: full `ee` access for arbitrary datasets and analyses (MODIS,
    climate data, custom reducers...). Prefer the typed tools when one fits — they are
    more reliable and their workflows are reproducible.

    The code runs locally in the server process with YOUR Earth Engine credentials.
    Pre-imported: `ee` (initialized via gee_init), `geeflow`, `json`. To return data,
    assign to a variable named `result` and/or print(); keep .getInfo() payloads small.

    Example:
        img = ee.ImageCollection("MODIS/061/MOD11A2").filterDate("2023-01-01", "2023-02-01").mean()
        result = img.select("LST_Day_1km").reduceRegion(
            ee.Reducer.mean(), ee.Geometry.Point([37.0, -0.2]).buffer(5000), 1000
        ).getInfo()
lulc_validate tool
Validate a lulc.yaml project config and return the resolved run plan.

        Args:
            config_path: path to the project's lulc.yaml.
lulc_check tool
Scene availability per configured year/season/sensor for a lulc.yaml project.
lulc_feature_stack tool
Build the year's full candidate feature stack and return its band names.
lulc_classify tool
Full classification for a year: polygon-grouped CV over RF/GBT/SVM, McNemar
        test, native GEE retrain of the best model, majority filter, optional export.

        Returns per-model accuracies, the winner, and the JSON report path.
lulc_collector_script tool
Generate the GEE Code Editor training-polygon collector script for a year.

        Paste the returned JavaScript into https://code.earthengine.google.com/ to draw
        and export training polygons bound to the project's AOI, sensor and classes.

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure3.4
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code HIGH
    1 finding in execute_code
  • Reads or writes any file path HIGH
    1 finding in lulc_collector_script; 3 more to review
  • Requests any address
    No tool sends a request to an address the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 18 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    10 of 18 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
Where the code is: 18 handlers in 1 file at commit 253beaf73b2a
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chainnot checked
  • Dependency manifests
    2 manifests: packages/geeflow/pyproject.toml, packages/lulc-engine/pyproject.toml
  • Lockfiles checked against OSV
    Nothing could be resolved to exact versions; 2 not resolved: packages/geeflow/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; packages/lulc-engine/pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • MCP SDK version
    mcp >=1.2
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 18 capabilities; 18 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDKmcp >=1.2
Servers in the code1 (geeflow)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-07-20
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseMIT
Created2026-07-19
Topicsclaude earth-engine geospatial gis mcp python remote-sensing

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.