MCP.so
登录

MCP Lucene Server

@VivekKumarNeu

基本信息

分类

其他

许可证

Apache-2.0 license

传输方式

stdio

作者

VivekKumarNeu

关于 MCP Lucene Server

MCP Lucene Server

#mcp-lucene-server#search#document-management

MCP Lucene Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "MCP-Lucene-Server": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "mcp-lucene-server",
        "."
      ]
    }
  }
}

MCP Lucene Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Lucene Server?

MCP Lucene Server is a Java-based implementation of the Model Context Protocol (MCP) that provides efficient search and retrieval capabilities using Apache Lucene. It is built with Spring Boot and offers a RESTful API for managing and querying documents.

How to use MCP Lucene Server?

Clone the repository, build with Maven (mvn clean install), then run the JAR (java -jar target/mcp-lucene-server-0.0.1-SNAPSHOT.jar). Alternatively, build a Docker image (docker build -t mcp-lucene-server .) and run it (docker run -p 8080:8080 mcp-lucene-server). The server starts on port 8080 by default.

Key features of MCP Lucene Server

  • Implements the core Model Context Protocol (MCP).
  • Uses Apache Lucene for full-text indexing and search.
  • Provides RESTful API with endpoints for document management.
  • Supports upsert, delete, list, and status endpoints.
  • Queries using Lucene syntax with optional metadata filtering.
  • Built with Spring Boot; includes Docker deployment instructions.

Use cases of MCP Lucene Server

  • Building a searchable document store with full-text indexing.
  • Adding semantic or keyword-based query capabilities to MCP-based applications.
  • Managing a local Lucene index via a lightweight REST API.
  • Containerizing a search service for easy deployment.

常见问题

1

What are the prerequisites to run MCP Lucene Server?

Java 11 or higher and Maven 3.6.0 or higher are required. Docker is optional if using the Docker image.

2

How do I configure the Lucene index location?

Set the `lucene.index.path` property in `application.properties` or use an environment variable. If unset, a default location is used.

3

How do I run MCP Lucene Server with Docker?

Build the image with `docker build -t mcp-lucene-server .` and run it with `docker run -p 8080:8080 mcp-lucene-server`.

4

What query syntax does MCP Lucene Server support?

It supports complex queries using the standard Lucene query syntax, with optional filtering by document metadata fields.

5

What license does MCP Lucene Server use?

It is licensed under the Apache 2.0 License.

评论

其他 分类下的更多 MCP 服务器