mcp-lightrag
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LIGHTRAG_HOST | No | LightRAG API host | localhost |
| LIGHTRAG_PORT | No | LightRAG API port | 9621 |
| LIGHTRAG_API_KEY | No | Optional API key for LightRAG |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| query_knowledge_graphB | Search the knowledge graph for information using various strategies. Ideal for answering questions based on indexed data. |
| ingest_textA | Index raw text content directly into the knowledge graph. Useful for small snippets or dynamic data. |
| ingest_fileB | Index a specific local file from the file system. The file must be accessible by the running server. |
| upload_and_indexB | Upload a file to the LightRAG server's input directory and trigger indexing. Handles file transfer if the server is remote. |
| upsert_documentA | Intelligently upload a document: if it doesn't exist, creates it; if it exists and is identical (same content length), skips upload; if it exists but was modified, deletes the old version and re-uploads. |
| ingest_batchB | Recursively index all files in a directory that match specific patterns. |
| list_all_docsA | List ALL documents currently in the system. WARNING: Can be slow if there are many documents. Use get_latest_documents for better performance. |
| find_documentA | Check if a document exists by its filename or path. Returns a dictionary with detailed status: 'id', 'status' (processed/failed/pending), 'created_at', 'updated_at', 'content_length', 'chunks_count', and 'error_msg' if any. |
| get_latest_documentsA | Get a paginated list of the most recently updated documents. Useful for monitoring ingestion progress. |
| check_indexing_statusA | Check the current status of the document processing pipeline (idle or busy). |
| get_graph_metadataA | Retrieve schema information about the knowledge graph, including available node labels and relationship types. |
| verify_server_healthA | Check if the LightRAG server is reachable and healthy. |
| create_entitiesB | Manually insert specific entities into the knowledge graph. |
| remove_entitiesB | Delete one or more specific entities from the knowledge graph by name. |
| purge_by_documentB | Remove all entities and relationships associated with specific document IDs from the graph. |
| modify_entitiesB | Update the properties (type, description, source_id) of existing entities. |
| connect_entitiesB | Define or update relationships between entities, including edge weights and descriptions. |
| unify_entitiesA | Merge multiple source entities into a single target entity to resolve duplicates or synonyms. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/enriquecatala/mcp-lightrag'
If you have feedback or need assistance with the MCP directory API, please join our Discord server