SuperMapMCP logo

SuperMapMCP

by liyq0307

SuperMapMCP is a client-server application designed to import shapefiles into a database. It utilizes SuperMap Object Java components for geospatial data processing.

View on GitHub

Last updated: N/A

SuperMapMCP

MCP Client和Server, 实现shapefile导入到数据库。

1.初始化环境

1.1 初始化supermap object java环境

在supermap官网下载object java 12.0版本组件,并下载使用许可,见bin设置到环境变量。

1.2 激活虚拟环境

source .venv/bin/activate # linunx等

.venv/bin/activate # windows

2.修改配置文件

修改.env文件的内容为自己OpenAI对于内容

alt text

alt text

3.修改Server中数据库信息

alt text

alt text

需要用supermap组件或者桌面创建数据源!!

4.运行

uv run client.py server.py