Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

QGIS MCP server

by nkarasiak/qgis-mcpGPL-2.0 licenceAudited 6 Oct 2026 · source 122a1f6ad799

PyPI qgis-mcpstreamable-http★ 345
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 122a1f6

Is it safe? No — BLOCK, grade D (69/100). It exposes 14 tools: 1 read, 13 write and 0 destructive. The audit recorded 6 findings (1 critical, 1 high, 2 medium, 2 low). Maintainer's description: Connect QGIS to AI agent through the Model Context Protocol (MCP)

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “QGIS MCP server (nkarasiak/qgis-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/nkarasiak/qgis

Why this is BLOCK. The audit found 1 critical and 1 high findings; the most severe is Prompt injection at .claude/skills/release-checklist/SKILL.md:49. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
1 critical1 high2 medium2 low0 info

6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared4 observations
  • NetworkDeclared2 observations
  • ShellDeclared1 observation
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Findings (6)

Sorted by severity

CRITICALPrompt injectionprompt.transfer_instruction · .claude/skills/release-checklist/SKILL.md:49
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Upload is not publication. Every version goes through a two-step flow: upload confirmation email, then an async security scan. Passing the scan only makes the version *available for manual approval* b
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
HIGHCode injectioncode.eval_exec · qgis_mcp_plugin/handlers/system.py:201
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(compiled, namespace)  # nosec B102 - intentional: MCP execute_code tool
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMObfuscation / stealthobf.anti_debug · qgis_mcp_plugin/handlers/system.py:199
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
sys.settrace(self._deadline_tracer(started + budget))
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.anti_debug · qgis_mcp_plugin/handlers/system.py:203
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
sys.settrace(previous_trace)
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.hidden_file · .flake8
F-13 Inventory / provenanceCWE-1104Layer L0
.flake8
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWCode injectioncode.eval_exec · tests/test_session.py:116
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(compile(script, "replay.py", "exec"), {})
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table

Tools it exposes

14 declared in source · 0 destructive

1 read13 write0 destructive
ToolWhat it doesRisk
add_fieldparams = {write
add_layout_scalebarreturn await _send(write
add_layout_tablereturn await _send(write
add_map_themereturn await _send(write
add_table_joinparams = {write
commit_editsawait ctx.info(fwrite
create_layer_groupparams = {write
create_layoutreturn await _send(write
create_memory_layerparams = {write
move_layer_to_groupreturn await _send(write
rename_fieldreturn await _send(write
save_style_qmlreturn await _send(write
start_editingreturn await _send(write
redo_editsreturn await _send(read

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 122a1f6ad799

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about QGIS MCP server

What is the QGIS MCP server?
Connect QGIS to AI agent through the Model Context Protocol (MCP)
What tools does QGIS expose?
14 in total: 1 read-only, 13 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is QGIS safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does QGIS need?
It reads QGIS_MCP_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does QGIS run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as qgis-mcp.
How current is this page?
The grade is for one exact copy of the source (122a1f6ad799), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed QGIS. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • nkarasiak/qgis-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 122a1f6ad799Observed · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.