SuperMapMCP
@liyq0307
MCP Client和Server, 实现shapefile导入到数据库。
Overview
What is SuperMapMCP?
SuperMapMCP is an MCP (Model Context Protocol) Client and Server that enables importing shapefiles into a database. It is designed for users who need to automate geospatial data ingestion using SuperMap Object Java components.
How to use SuperMapMCP?
Initialize the SuperMap Object Java environment (version 12.0) and activate the Python virtual environment. Modify the .env file with your OpenAI configuration, then adjust the database connection information in the Server. Create a datasource using SuperMap components or Desktop before running. Execute with uv run client.py server.py.
Key features of SuperMapMCP
- MCP Client and Server architecture
- Imports shapefiles into a database
- Requires SuperMap Object Java 12.0
- Uses OpenAI for configuration
- Database connection info configurable in Server
Use cases of SuperMapMCP
- Automating shapefile-to-database imports
- Integrating SuperMap geospatial data with MCP-based systems
- Batch loading GIS data into a relational database
FAQ from SuperMapMCP
What does SuperMapMCP do?
It imports shapefiles into a database using an MCP Client/Server pattern.
What are the runtime dependencies?
SuperMap Object Java 12.0 with a valid license, and a Python virtual environment.
How do I configure the OpenAI integration?
Set the relevant values in the .env file as shown in the README.
How do I set up the database?
Modify the database information in the Server and create a datasource using SuperMap components or Desktop beforehand.
What file formats are supported?
The README only mentions shapefile import to a database.