MCP-Lucene-Server
0
MCP Lucene Server is a Java-based server implementing Model Context Protocol for search and retrieval using Lucene. It features document management and querying, built with Spring Boot and offers RESTful API and Dockerization support.
MCP Lucene Server
Description
The MCP Lucene Server is a Java-based implementation of the Model Context Protocol (MCP) for efficient search and retrieval using Apache Lucene. It's built with Spring Boot for easy setup and deployment.
Features
- MCP Compliance: Implements the core Model Context Protocol.
- Lucene-Powered: Full-text search and indexing capabilities.
- RESTful API: Server interaction via RESTful API.
- Document Management:
- Upsert, delete, and list documents.
- Querying: Supports complex queries and filtering on metadata.
- Dockerization: Instructions for Docker containerization.
Getting Started
Prerequisites
- Java 11+
- Maven 3.6.0+
- Docker (if using the Docker image)
Usage
API Endpoints
/mcp/v1/status
: Check server status./mcp/v1/upsert
: Upsert documents./mcp/v1/query
: Query documents./mcp/v1/delete
: Delete documents./mcp/v1/list
: List documents.
Configuration
Use Spring Boot's application properties for server configuration. Key properties include server.port
and lucene.index.path
.
License
This project is licensed under the Apache 2.0 License.