Fess MCP Server

Fess MCP Server

By g-fukurowl GitHub

MCP server for interfacing with Fess search engine.

fess mcp
Overview

What is Fess MCP Server?

Fess MCP Server is a middleware server designed to interface with the Fess search engine, enabling clients to retrieve information seamlessly.

How to use Fess MCP Server?

To use Fess MCP Server, set it up by following the installation instructions, either using Docker or without it, and configure it to connect with the Fess server.

Key features of Fess MCP Server?

  • Middleware integration with Fess search engine
  • Supports Docker for easy deployment
  • Configuration options for connecting to Fess and client applications

Use cases of Fess MCP Server?

  1. Integrating Fess search capabilities into desktop applications.
  2. Enabling real-time data retrieval for agents using Fess.
  3. Facilitating search functionalities in custom applications.

FAQ from Fess MCP Server?

  • What is the license for Fess MCP Server?

Fess MCP Server is licensed under the MIT License.

  • Can I run Fess MCP Server without Docker?

Yes, Fess MCP Server can be set up without Docker by following the provided instructions.

  • How do I test Fess MCP Server?

You can run unit and integration tests using the provided commands in the documentation.

Content

Fess MCP Server

Fess MCP Server is a middleware server that integrates with the Fess search engine. By registering it in the settings of MCP clients such as Claude for Desktop, it enables agents to obtain information using Fess. Fess is an open-source full-text search server provided under the Apache License. Commercial support is also available. For more details, please refer to the official website. https://fess.codelibs.org/ja/

Setup

Fess Setup

For the setup procedure of the Fess server itself, please refer to the official Fess documentation. https://qiita.com/g_fukurowl/items/a00dbbad737d3e775108

The following article may also be helpful: https://qiita.com/g_fukurowl/items/a00dbbad737d3e775108

Fess MCP Server Setup

Using Docker

Start the server with the following command:

docker-compose up -d

Without Docker

Here we show the setup procedure using uv. uv is a fast Python package manager. While not required, we recommend using it.

# Install uv
irm https://astral.sh/uv/install.ps1 | iex
# Activate virtual environment
.\.venv\Scripts\activate.bat
# Install dependencies
uv pip install -e .
# Start MCP server
uv run .\fess_mcp_server.py

Configuration

Fess Server Connection Settings

The URL of the Fess server that Fess MCP Server accesses is set as the environment variable Fess_API_BASE. Please modify this variable according to your environment before starting Fess MCP Server. If running as a Docker container, edit docker-compose.yaml and change the relevant settings.

Claude for Desktop Connection Settings

Fess MCP Server starts on port 8000 by default. If Fess MCP Server is running on localhost on port 8000, edit claude_desktop_config.json as follows:

{
  "mcpServers": {
    "fess-search-sse": {
        "command": "npx",
        "args": [
          "-y",
          "mcp-remote",
          "http://localhost:8000/sse"
        ]
      }
  }
}

Testing

Without Docker

Here we show the testing procedure using uv.

# Install development dependencies:
uv pip install -e ".[test]"
# Run unit tests:
uv run pytest -v tests/unit/ -s
# Run integration tests (requires communication with Fess server):
uv run pytest -v tests/integration/ -s
# Generate coverage report:
uv run pytest --cov=fess_mcp_server --cov-report=html

Running Tests in Docker Container

# Build test Docker image:
docker build -t fess-mcp-server-test -f Dockerfile.test .
# Run unit tests:
docker run --rm fess-mcp-server-test pytest -v tests/unit/ -s
# Run integration tests (requires communication with Fess server):
docker run --rm --network host fess-mcp-server-test pytest -v tests/integration/ -s
# Generate coverage report:
docker run --rm -v ${PWD}/coverage:/app/coverage fess-mcp-server-test pytest --cov=fess_mcp_server --cov-report=html

Test Execution Options

  • -v: Show verbose output
  • -s: Show standard output
  • --cov: Generate coverage report
  • --cov-report=html: Generate HTML coverage report

License

MIT License

No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details