Other MCP Server · MODEL CONTEXT PROTOCOL

kicker315 deepseek qgis mcp

kicker315 deepseek qgis mcp is a community-listed Model Context Protocol server. Review the source repository before installation.

WHAT IT CONNECTS

kicker315 deepseek qgis mcp 为 AI Agent 提供什么

  • **Two-way communication**: Connect Claude AI to QGIS through a socket-based server.
  • **Project manipulation**: Create, load and save projects in QGIS.
  • **Layer manipulation**: Add and remove vector or raster layers to a project.
  • **Execute processing**: Execute processing algorithms ([Processing Toolbox](https://docs.qgis.org/3.40/en/docs/user_manual/processing/toolbox.html)).
  • **Code execution**: Run arbitrary Python code in QGIS from Claude. Very powerful, but also be very cautious using this tool.
  • **[QGIS plugin](/qgis_mcp_plugin/)**: A QGIS plugin that creates a socket server within QGIS to receive and execute commands.
  • **[MCP Server](/src/qgis_mcp/qgis_mcp_server.py)**: A Python server that implements the Model Context Protocol and connects to the QGIS plugin.
  • QGIS 3.X (only tested on 3.22)
  • Cloud desktop
  • Python 3.10 or newer
  • uv package manager:
  • In QGIS, go to `plugins` -> `QGIS MCP`-> `QGIS MCP`
  • Click "Start Server"
  • `ping` - Simple ping command to check server connectivity
  • `get_qgis_info` - Get QGIS information about the current installation
  • `load_project` - Load a QGIS project from the specified path
  • `create_new_project` - Create a new project and save it
  • `get_project_info` - Get current project information
  • `add_vector_layer` - Add a vector layer to the project
  • `add_raster_layer` - Add a raster layer to the project
  • `get_layers` - Retrieve all layers in the current project
  • `remove_layer` - Remove a layer from the project by its ID
  • `zoom_to_layer` - Zoom to the extent of a specified layer
  • `get_layer_features` - Retrieve features from a vector layer with an optional limit
  • `execute_processing` - Execute a processing algorithm with the given parameters
  • `save_project` - Save the current project to the given path
  • `render_map` - Render the current map view to an image file
  • `execute_code` - Execute arbitrary PyQGIS code provided as a string
  • Ping to check the connection. If it works, continue with the following steps.
  • Create a new project and save it at: "C:/Users/USER/GitHub/qgis_mcp/data/cdmx.qgz"
  • Load the vector layer: ""C:/Users/USER/GitHub/qgis_mcp/data/cdmx/mgpc_2019.shp" and name it "Colonias".
  • Load the raster layer: "C:/Users/USER/GitHub/qgis_mcp/data/09014.tif" and name it "BJ"
  • Zoom to the "BJ" layer.
  • Execute the centroid algorithm on the "Colonias" layer. Skip the geometry check. Save the output to "colonias_centroids.geojson".
  • Execute code to create a choropleth map using the "POB2010" field in the "Colonias" layer. Use the quantile classification method with 5 classes and the Spectral color ramp.
  • Render the map to "C:/Users/USER/GitHub/qgis_mcp/data/cdmx.png"
  • Save the project.

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。