modelscope·@desimpkins/daniel-lightrag-mcp
暂无描述。
A comprehensive MCP (Model Context Protocol) server that provides 100% functional integration with LightRAG API, offering 22 fully working tools across 4 categories for complete document management, querying, knowledge graph operations, and system management.
All 22 tools are working perfectly after comprehensive testing and optimization:
Install the server:
pip install -e .
Start LightRAG server (ensure it's running on http://localhost:9621)
Configure your MCP client (e.g., Claude Desktop):
{
"mcpServers": {
"daniel-lightrag": {
"command": "python",
"args": ["-m", "daniel_lightrag_mcp"]
}
}
}
Test the connection:
Use the get_health tool to verify everything is working.
# Basic installation
pip install -e .
# With development dependencies
pip install -e ".[dev]"
Start the MCP server:
daniel-lightrag-mcp
Configure the server with environment variables:
export LIGHTRAG_BASE_URL="http://localhost:9621"
export LIGHTRAG_API_KEY="your-api-key" # Optional
export LIGHTRAG_TIMEOUT="30" # Optional
export LOG_LEVEL="INFO" # Optional
daniel-lightrag-mcp
The server expects LightRAG to be running on http://localhost:9621 by default. Make sure your LightRAG server is started before running this MCP server.
Add to your MCP client (e.g., Claude Desktop):
{
"mcpServers": {
"daniel-lightrag": {
"command": "python",
"args": ["-m", "daniel_lightrag_mcp"],
"env": {
"LIGHTRAG_BASE_URL": "http://localhost:9621",
"LIGHTRAG_API_KEY": "lightragsecretkey"
}
}
}
}
For detailed configuration options, see MCP_CONFIGURATION_GUIDE.md.
This server has undergone comprehensive testing and optimization to achieve 100% functionality. Key improvements include:
For complete technical details, see IMPLEMENTATION_GUIDE.md.
insert_textInsert text content into LightRAG.
Parameters:
text (required): Text content to insertExample:
{
"text": "This is important information about machine learning algorithms and their applications in modern AI systems."
}
insert_textsInsert multiple text documents into LightRAG.
Parameters:
texts (required): Array of text documents with optional title and metadataExample:
{
"texts": [
{
"title": "AI Overview",
"content": "Artificial Intelligence is transforming industries...",
"metadata": {"category": "technology", "author": "researcher"}
},
{
"content": "Machine learning algorithms require large datasets..."
}
]
}
upload_documentUpload a document file to LightRAG.
Parameters:
file_path (required): Path to the file to uploadExample:
{
"file_path": "/path/to/document.pdf"
}
scan_documentsScan for new documents in LightRAG.
Parameters: None
Example:
{}
get_documentsRetrieve all documents from LightRAG.
Parameters: None
Example:
{}
get_documents_paginatedRetrieve documents with pagination.
Parameters:
page (required): Page number (1-based)page_size (required): Number of documents per page (1-100)Example:
{
"page": 1,
"page_size": 20
}
delete_documentDelete a specific document by ID.
Parameters:
document_id (required): ID of the document to deleteExample:
{
"document_id": "doc_12345"
}
clear_documentsClear all documents from LightRAG.
Parameters: None
Example:
{}
query_textQuery LightRAG with text.
Parameters:
query (required): Query textmode (optional): Query mode - "naive", "local", "global", or "hybrid" (default: "hybrid")only_need_context (optional): Whether to only return context without generation (default: false)Example:
{
"query": "What are the main concepts in machine learning?",
"mode": "hybrid",
"only_need_context": false
}
query_text_streamStream query results from LightRAG.
Parameters:
query (required): Query textmode (optional): Query mode - "naive", "local", "global", or "hybrid" (default: "hybrid")only_need_context (optional): Whether to onl…暂无描述。
暂无描述。
一种模型上下文协议服务器,它将Wireshark的网络分析能力与Claude等人工智能系统集成在一起,允许在无需手动复制的情况下直接分析网络数据包。
通过SearchAPI.site将AI助手连接到外部数据源(如Google、Bing等),并通过模型上下文协议(MCP)实现对网络信息的安全和上下文访问。
暂无描述。
暂无描述。