Plesk Extensions Guide MCP Server

Plesk Extensions Guide MCP Server

Provides semantic search capabilities over the Plesk Extensions Guide documentation using Retrieval-Augmented Generation (RAG) and vector embeddings. It enables AI assistants to retrieve relevant technical information and answer natural language queries regarding Plesk extension development.

Category
Visit Server

README

Plesk Extensions Guide MCP Server

Python 3.12+ License: MIT MCP Tests

Works on my machine

A Model Context Protocol (MCP) server that provides semantic search capabilities over the Plesk Extensions Guide documentation using Retrieval-Augmented Generation (RAG).

Overview

This MCP server indexes and searches Plesk extension development documentation using vector embeddings. It allows AI assistants and applications to retrieve relevant information from the Plesk Extensions Guide through natural language queries.

Features

  • Semantic Search: Search documentation using natural language queries
  • Vector Embeddings: Uses OpenRouter's text-embedding-3-small model for intelligent document matching
  • ChromaDB Storage: Efficient vector database for fast retrieval
  • Automatic Documentation Download: Easy setup with automated documentation fetching
  • Comprehensive Tests: 99.78% test coverage with 31 tests

Prerequisites

  • Python 3.12 or higher
  • uv package manager (or pip)
  • OPENROUTER_API_KEY environment variable (for embeddings)

Installation

  1. Clone the repository:

    git clone https://github.com/barateza/extensions-guide.git
    cd extensions-guide
    
  2. Create a virtual environment:

    uv venv
    source .venv/bin/activate  # macOS/Linux
    # OR
    .venv\Scripts\activate  # Windows
    
  3. Install dependencies:

    uv pip install -e .[dev]
    

Setup

1. Download Documentation

The MCP server requires the Plesk Extensions Guide documentation. Download and extract it using the provided script:

uv run python scripts/download_docs.py

This script will:

  • Download the documentation ZIP from Plesk's documentation server
  • Extract it to the html/ folder
  • Create the storage/ directory for the vector database

2. Configure API Key

Set your OpenRouter API key as an environment variable:

export OPENROUTER_API_KEY="your-api-key-here"

Or add it to a .env file in the project root (this file should not be committed to version control).

Usage

The MCP server exposes two main tools for interacting with the Plesk Extensions Guide:

1. search_extensions_guide

Search the indexed documentation with a semantic query.

Parameters:

  • query (string): Your search query in natural language

Example:

Query: "How do I create a custom UI form for my extension?"

2. index_documentation

Scan and index all documentation files. This is called automatically on first run, but can be called again to re-index.

Parameters: None

Example:

Index the html/ folder into the vector database

Configuration

The server uses the following environment variables:

Variable Description Required
OPENROUTER_API_KEY API key for OpenRouter embeddings service Yes
CHROMA_DB_IMPL ChromaDB implementation (default: duckdb+parquet) No

Architecture

  • server.py: FastMCP server implementation with indexing and search tools
  • main.py: Entry point for running the server
  • scripts/download_docs.py: Documentation download utility
  • html/: Extracted Plesk Extensions Guide documentation (created after setup)
  • storage/: Vector database storage (created automatically on first run)

Development

Running Tests

uv run pytest tests/ -v --tb=short

Coverage Reports

uv run pytest tests/ -v --tb=short --cov-report term-missing --cov=.

HTML Coverage Report

uv run pytest tests/ -v --tb=short --cov-report html --cov=.
open htmlcov/index.html

See CONTRIBUTING.md for development guidelines and how to contribute.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

For more information about Plesk extension development, visit:

Support

If you encounter any issues:

  1. Ensure Python 3.12+ is installed
  2. Verify your OPENROUTER_API_KEY is set correctly
  3. Run python scripts/download_docs.py again to refresh documentation
  4. Check that html/ and storage/ directories were created successfully

For bugs or feature requests, please open an issue on GitHub.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured