mcp-plesk-dev-docs
This MCP server provides unified documentation search, retrieval, and indexing for Plesk extension developers, not live Plesk server management.
Search all five Plesk doc sources (guide, CLI, API, PHP stubs, JS SDK) with hybrid search and optional category filtering.
Retrieve the full content of a specific documentation file.
Find other files that reference a symbol, method, class, or CLI command.
Refresh or rebuild the documentation index synchronously, or trigger and check background indexing jobs.
Warm up models/tables, check daemon health, list model profiles, and rebuild the TurboQuant index.
Use TOC resources for API, CLI, guide, and PHP stub documentation.
Provides unified semantic search across Plesk documentation sources (Admin Guide, REST API, CLI, PHP SDK, JS SDK) for extension developers, enabling efficient retrieval of relevant documentation, file content, and references.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-plesk-dev-docs How to add a custom button in Plesk UI?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-plesk-dev-docs
This MCP server provides unified documentation search for extension developers. If you are looking to manage your live Plesk server via AI, please see theofficial Plesk MCP Server.
State-of-the-Art (SOTA) semantic search across the entire Plesk documentation surface, optimized for sub-second latency on Apple Silicon.
Why this exists
Plesk documentation is spread across five separate sources: an admin guide, a REST API reference, a CLI reference, a PHP SDK, and a JS SDK. Answering a single extension development question often means searching all of them manually, cross-referencing results, and still missing the relevant section.
This server ingests all five sources, embeds them with a multilingual model, and exposes a single search_plesk_unified MCP tool. It uses hybrid search (Vector + FTS), Reciprocal Rank Fusion (RRF), and Cross-Encoder reranking to deliver high-precision results in milliseconds.
Related MCP server: Plesk Extensions Guide MCP Server
Architecture & Performance
flowchart TD
Client["MCP Client\n(Claude Desktop / Cursor / etc.)"]
Client -->|"search_plesk_unified(query)"| Server
subgraph Server["FastMCP Server · Modular Architecture"]
direction TB
Main["Bootstrap · server/main.py"]
Life["Lifecycle Hooks · server/lifecycle.py"]
Tools["MCP Tools · server/mcp_app.py"]
Main --> Life --> Tools
end
subgraph Pipeline["Retrieval Pipeline"]
direction TB
E["1 · Embed query\n(Hardware-accelerated)"]
S["2 · Hybrid Search\nVector (LanceDB) + native FTS"]
R["3 · RRF Merge + Rerank\n(MiniLM-L4-v2)"]
N["4 · Neighbor Expansion\n(Context Enrichment)"]
A["5 · AI Synthesis\n(opt-in per call)"]
E --> S --> R --> N --> A
end
subgraph Store["LanceDB Vector & FTS Store"]
direction LR
G["Guide"]
A_["API"]
C["CLI"]
P["PHP Stubs"]
J["JS SDK"]
end
Tools --> Pipeline
S <--> StorePerformance Benchmarks (2026-05-04)
Optimized for Apple Silicon (M2/M3) using MPS acceleration and memory-resident table caching.
Profile | Embed Model | HR@5 | MRR@5 | Avg Latency | Est. RAM |
| BAAI/bge-small | 100.0% | 0.917 | 1.007 s | ~200 MB |
| BAAI/bge-base | 100.0% | 0.917 | ~0.60s | ~600 MB |
| BAAI/bge-m3 | 75.0% | 0.750 | ~0.40s | ~1300 MB |
Default profile: light. It scored higher than full-tq on this corpus in our own
runs while using about a sixth of the RAM; full-tq (and full) stay opt-in via
PLESK_MODEL_PROFILE.
Metrics measured on Apple M2 Pro with LanceDB connection caching enabled.
Key Features
Single-Instance Lock: PID-based lock prevents concurrent LanceDB access when multiple MCP clients or IDE sessions try to launch the server simultaneously.
Hybrid Search: Combined Vector + native LanceDB FTS with RAM-cached table connections for instant retrieval.
AST-Aware Chunking: Uses
tree-sitterto respect class and method boundaries in PHP, JS, and TS documentation.TurboQuant Acceleration: Fast 4-bit quantized search for the
full-tqprofile, delivering 10x lower latency for large models.Neighborhood Retrieval: Automatically fetches adjacent chunks (prev/next) to provide complete context for grounding.
Macro-Context Summaries: Injects file-level purpose summaries into every chunk using the
SummaryCache.AI-Synthesized Answers: Generates concise answers from search results with structured inline citations
[1],[2].
MCP Components
This server provides tools, prompts, and resources. See docs/mcp-components.md for a full reference.
Primary Tools
Tool | Description |
| Hybrid search with RRF and Cross-Encoder reranking. |
| Retrieve the full content of a specific documentation file. |
| Find all files referencing a specific symbol or topic. |
| Re-fetch sources and update the index (incremental). |
| Start a background indexing job. |
| Check readiness, hardware acceleration (MPS/CUDA), and latency stats. |
Resources
plesk://toc/api- Table of Contents for API documentation.plesk://toc/cli- Table of Contents for CLI reference.plesk://toc/guide- Table of Contents for Extensions Guide.plesk://toc/php-stubs- Hierarchical list of PHP classes.
🚀 Installation & Setup
Because this server is published to PyPI and listed on the MCP Registry, you don't even need to clone the repository to run it!
Option 1: Run instantly via uvx (Recommended)
You can run or integrate the server in seconds.
1. Add to Claude Desktop
Add the server config to your claude_desktop_config.json (typically at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"plesk-dev-docs": {
"command": "uvx",
"args": ["mcp-plesk-dev-docs"]
}
}
}2. Configure in Cursor
Go to Settings > Features > MCP, click + Add New MCP Server:
Name:
plesk-dev-docsType:
commandCommand:
uvx mcp-plesk-dev-docs
Option 2: Local Developer Setup (Manual Build)
If you want to modify the source code, run benchmarks, or manage database migrations:
Quick bootstrap (recommended):
git clone https://github.com/barateza/mcp-plesk-dev-docs.git
cd mcp-plesk-dev-docs
./install.sh # Linux / macOS
# powershell -ExecutionPolicy Bypass -File install.ps1 # WindowsManual setup:
git clone https://github.com/barateza/mcp-plesk-dev-docs.git
cd mcp-plesk-dev-docs
uv pip install -e ".[dev]"On Linux the install resolves torch to the cu124 line (<2.7, pinned in
pyproject.toml): it is the last release whose wheels carry Maxwell (sm_50)
kernels and need only driver >= 525. CUDA 13 wheels require driver >= 580 and
ship no sm_50, so on an older driver they install but leave CUDA unusable.
Check with python -c "import torch; print(torch.cuda.get_arch_list())" — the
list must contain sm_50 for a Maxwell card. Blackwell (RTX 50-series) users
should raise the pin for the Linux marker and install a cu128 wheel.
Run Initial Indexing: Generate the offline vector database and full-text search indexes:
uv run python -m mcp_plesk_dev_docs.server.main refresh_knowledgeStart the Server:
uv run python -m mcp_plesk_dev_docs.server.main
Configuration
Set environment variables in .env:
PLESK_MODEL_PROFILE=light # light (default) | medium | full | full-tq
PLESK_QUERY_CACHE_ENABLED=true # Result cache (256 entries by default)
PLESK_DAEMON_AUTO_WARMUP=true # Preload models on startup
PLESK_INDEX_SUMMARIES=true # Enable file-level summaries
OPENROUTER_API_KEY=sk-or-v1-...Documentation
docs/benchmarks.md - Detailed latency and quality reports.
docs/mcp-components.md - Full tool and resource reference.
docs/turboquant.md - 4-bit quantization internals.
License
MIT. See LICENSE.
Ownership & Disclaimer
This is a personal project by Gilson Siqueira. It is not officially affiliated with, endorsed by, or supported by Plesk or WebPros International GmbH. Plesk is a trademark of WebPros International GmbH.
Important notice about Plesk-owned deliverables
Portions of this repository were developed under contract for Plesk International GmbH ("Plesk") only if specifically identified as such. The MIT license above applies only to material the repository owner is authorized to license. Files or directories owned by Plesk, if any, are listed in NOTICE. If you need assurance about licensing for a particular file, contact Plesk or seek legal counsel before relying on the MIT License for Plesk-owned files.
Built to make Plesk extension development faster.
Available Tools
10 toolscheck_sync_statusB
Check the status of a background indexing job.
Inputs: job_id (required). Returns: object
daemon_healthB
Return daemon-centric readiness status.
Inputs: no named parameters. Returns: result
get_file_contentA
Retrieve the full content of a specific documentation file.
Use this when you have a filename from a search result and need more context than what was provided in the search snippets.
Inputs: category (required), filename (required). Returns: result
list_model_profilesA
List built-in model profiles and show the active profile.
Inputs: no named parameters. Returns: result
refresh_knowledgeA
Index Plesk documentation into LanceDB.
This tool provides a blocking refresh that returns a report of the
indexing operation. For very large documentation sets, use
trigger_index_sync instead.
Inputs: category, reset_db. Returns: result
requantize_knowledgeB
Rebuild the TurboQuant index from stored vectors.
Inputs: no named parameters. Returns: result
resolve_referencesA
Find other files that reference a specific symbol or topic.
Useful for finding usage examples of a class, method, or CLI command across the documentation.
Inputs: query (required), category (required). Returns: result
search_mcp_plesk_dev_docsC
Search the unified Plesk documentation for a specific query.
Inputs: query (required), category. Returns: result
trigger_index_syncC
Trigger a background indexing job for Plesk documentation.
Returns a job_id that can be used with check_sync_status.
Inputs: category, reset_db. Returns: object
warmup_serverA
Preload the active profile models and table without running indexing.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose. Search, file retrieval, reference resolution, indexing operations, system health, and profile management are all separate concerns with no overlapping functionality.
Most tools follow a verb_noun pattern (e.g., get_file_content, trigger_index_sync), but 'search_mcp_plesk_dev_docs' includes the server name, and 'daemon_health' is noun_noun. These minor deviations from the dominant pattern prevent a perfect score.
With 10 tools, the set is well-scoped for a documentation server that includes indexing, search, and system health. Each tool serves a clear function without unnecessary bloat or sparseness.
The tool set covers the core lifecycle: indexing (refresh, trigger, check), search, retrieval, reference resolution, and system management. Minor gaps exist, such as the lack of a tool to list documentation sections or metadata, but these are not critical.
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Semantic search over Handsontable and HyperFormula docs, API reference, release notes, and issues.
Read-only search over the Vocenya AI receptionist API docs and endpoints, with code samples.
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search documentation of packages and services to find implementation details, examples, and specifications.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceProvides 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.MIT
- AlicenseNot gradedqualityDmaintenanceProvides a RAG-based search system for 1C:Enterprise platform documentation using hybrid BM25 and semantic search across multiple versions. It enables developers to retrieve API signatures, methods, and usage examples directly within IDEs or through a REST API.22MIT
- FlicenseNot gradedqualityDmaintenanceEnables semantic search over Jimdo help documentation to find relevant information and answers.-