Back to Home
bgtdevhub icon

fgdb-mcp-server

Verified Safe

by bgtdevhub

Overview

The FGDB MCP Server facilitates interaction with Esri File Geodatabases (FGDB) via the Model Context Protocol, enabling geospatial data querying, modification, and schema management through ArcPy.

Installation

Run Command
python C:\{path to}\fgdb-mcp-server\fgdb_toolserver.py

Environment Variables

  • FGDB_MAX_SELECT_LIMIT
  • FGDB_LOG_FILE
  • FGDB_LOG_LEVEL
  • FGDB_LOG_MAX_BYTES
  • FGDB_LOG_BACKUP_COUNT
  • FGDB_API_VERSION
  • FGDB_SUPPORTED_VERSIONS
  • FGDB_FEATURE_EXPERIMENTAL

Security Notes

The server demonstrates a strong commitment to security through a layered architecture, comprehensive input validation (e.g., `validate_where_clause` specifically checks for dangerous SQL patterns like 'DROP TABLE', '--', '/*'), and a mandatory safety confirmation system for all mutating operations (insert, update, delete, add/delete field). This confirmation mechanism requires a unique token, preventing direct, unconfirmed execution of high-risk commands. Path validation is present for GDB paths. The ArcPy backend calls are parameterized or use validated input, minimizing SQL injection risks. No direct use of 'eval' or 'exec' on user input was identified. Hardcoded secrets are not apparent. The `SECURITY.md` file outlines a clear policy and best practices. A perfect 10 is difficult due to reliance on external ArcPy libraries, but the Python layer is well-fortified.

Similar Servers

Stats

Interest Score31
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars1
Forks0
Last Update2025-11-27

Tags

FGDBArcPyGeodatabaseMCPData Management