MCP server · Audited from source
Daniel LightRAG MCP server
by desimpkins/daniel-lightrag-mcpMIT licenceAudited 8 Oct 2026 · source c89a3ad65572
Is it safe? With care — CAUTION, grade B (89/100). It exposes 21 tools: 13 read, 5 write and 3 destructive. The audit recorded 5 findings (0 critical, 0 high, 3 medium, 1 low). Maintainer's description: A comprehensive MCP server for LightRAG integration with 22 tools for document management, querying, knowledge graph operations, and system management
Cite
Cite this page
ModelsAtlas. “Daniel LightRAG MCP server (desimpkins/daniel-lightrag-mcp)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/desimpkins/daniel-lightrag
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
5 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
- FilesystemDeclared1 observation
- NetworkDeclared5 observations
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | WARN 3 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 1 finding |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
desimpkinsUser accountAccount type recorded when we read the repository. - PackagePublished on PyPI
daniel-lightrag-mcp, no version recorded - LicenceMITFrom the repository, as read at the audited commit.
- Last push14 months agoActivity of the repository when we read it.
- Source commit readc89a3ad65572The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory21 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (5)
Sorted by severity
MEDIUMInformation disclosuredisclose.log_secret · src/daniel_lightrag_mcp/server.py:863
logger.info(f" - api_key: {'***REDACTED***' if api_key else 'None'}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/daniel_lightrag_mcp/server.py:874
logger.info(f" - Client has API key: {lightrag_client.api_key is not None}")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
delete_document, delete_entity, delete_relation
- Why
- 3 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInformation disclosuredisclose.log_secret · archive/testing_scripts/test_lightrag_connection.py:22
print(f"Using API key: {api_key[:10] + '...' if api_key else 'None'}")- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.authority_framing · archive/development_docs/implementation_plan.md:65
This MCP server will allow you to interact with your LightRAG instance through any MCP-compatible client, providing full access to document management, querying, and knowledge graph operations.
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
21 declared in source · 3 destructive
3 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_document | destructive | Delete a specific document by ID |
delete_entity | destructive | Delete an entity from the knowledge graph |
delete_relation | destructive | Delete a relation from the knowledge graph |
insert_text | write | Insert text content into LightRAG |
insert_texts | write | Insert multiple text documents into LightRAG |
update_entity | write | Update an entity in the knowledge graph |
update_relation | write | Update a relation in the knowledge graph |
upload_document | write | Upload a document file to LightRAG |
check_entity_exists | read | Check if an entity exists in the knowledge graph |
get_document_status_counts | read | Get document status counts |
get_documents | read | Retrieve all documents from LightRAG |
get_documents_paginated | read | Retrieve documents with pagination. IMPORTANT: page_size must be 10-100 (server enforces minimum for performance). Use page_size=20 for typical browsing. |
get_graph_labels | read | Get labels from the knowledge graph |
get_health | read | Check LightRAG server health |
get_knowledge_graph | read | Retrieve the knowledge graph from LightRAG |
get_pipeline_status | read | Get the pipeline status from LightRAG |
get_track_status | read | Get track status by ID |
hello | read | Say hello |
query_text | read | Query LightRAG with text |
query_text_stream | read | Stream query results from LightRAG |
scan_documents | read | Scan for new documents in LightRAG |
Install
audited commit c89a3ad
Read the findings first. The most severe is Information disclosure (medium) at src/daniel_lightrag_mcp/server.py.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit c89a3ad only.
claude mcp add daniel-lightrag-mcp --env LIGHTRAG_API_KEY=${LIGHTRAG_API_KEY} -- uvx daniel-lightrag-mcp{
"mcpServers": {
"daniel-lightrag-mcp": {
"command": "uvx",
"args": [
"daniel-lightrag-mcp"
],
"env": {
"LIGHTRAG_API_KEY": "${LIGHTRAG_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit c89a3ad65572. Transport: stdio. Reads this environment variable: LIGHTRAG_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
c89a3ad65572
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/desimpkins/daniel-lightrag/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Daniel LightRAG MCP server
What is the Daniel LightRAG MCP server?
What tools does Daniel LightRAG expose?
Is Daniel LightRAG safe to connect to an agent?
What credentials does Daniel LightRAG need?
How does Daniel LightRAG run?
How current is this page?
Sources
- desimpkins/daniel-lightrag-mcp on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit c89a3ad65572Observed · 8 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.
- What is the Daniel LightRAG MCP server?
- What tools does Daniel LightRAG expose?
- Is Daniel LightRAG safe to connect to an agent?