Back to Home
kcofoni icon

pmwiki-mcp

Verified Safe

by kcofoni

Overview

Provides a Model Context Protocol (MCP) server for LLMs to read and search PmWiki content.

Installation

Run Command
docker run -d --name pmwiki-mcp-server -p 3000:3000 -v /path/to/your/wiki.d:/wiki_data:ro -e WIKI_DIR=/wiki_data kcofoni/pmwiki-mcp:latest

Environment Variables

  • WIKI_DIR

Security Notes

The server design is secure by default due to read-only mounting of the PmWiki 'wiki.d' directory, preventing any write operations to the wiki files. There are no 'eval' statements or other direct code injection vulnerabilities. Path traversal within 'read_page' is mitigated by replacing '/' with '.' and 'os.path.join' appending to a controlled directory, making it highly unlikely for an attacker to access files outside the mounted volume.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens350
Stars0
Forks0
Last Update2025-12-23

Tags

MCPPmWikiLLMDockerPython