mw-mcp-server
Verified Safeby labki-org
Overview
Integrates MediaWiki with large language models to provide semantic search, conversational AI, and structured wiki data access through LLM-callable tools.
Installation
docker compose up -dEnvironment Variables
- OPENAI_API_KEY
- WIKI_CREDS
- DB_PASSWORD
- ADMIN_API_KEY
Security Notes
The server employs robust security practices including: bidirectional JWT authentication with strong validation (scopes, issuers, audiences, `wiki_id`), Pydantic models for strict input/output validation (e.g., `extra="forbid"`), explicit tool dispatching with allow-listing, and safeguards against path traversal. SQLAlchemy ORM is used for database interactions mitigating common SQL injection risks. A global exception handler prevents sensitive information leakage. The primary security dependency lies in the MediaWiki Semantic MediaWiki (SMW) extension's handling of raw `#ask` queries forwarded by the server, though the server adds validation for known properties/categories to mitigate LLM hallucinations. No direct `eval` or `exec` on user input is observed.
Similar Servers
MaxKB
MaxKB (Max Knowledge Brain) is an enterprise-grade intelligent agent platform designed to lower the technical barrier and deployment costs of AI implementation, helping businesses quickly integrate mainstream large language models, build proprietary knowledge bases, and offer a progressive upgrade path from RAG to complex workflow automation and advanced agents for various application scenarios like smart customer service and office assistants.
MediaWiki-MCP-Server
An MCP server that enables Large Language Model (LLM) clients to interact with any MediaWiki wiki.
qdrant-loader
A Model Context Protocol (MCP) server that provides advanced Retrieval-Augmented Generation (RAG) capabilities to AI development tools by bridging a QDrant knowledge base for intelligent, context-aware search.
thinkingcap
A multi-agent research MCP server that runs multiple LLM providers in parallel and synthesizes their responses to a given query.