Table of Contents
Model Context Protocol Plugin
Compatible with DokuWiki
No compatibility info given!
This is a proof-of-concept plugin! This plugin implements a Model Context Protocol (MCP) server for DokuWiki. This means you can give your MCP-capable AI client access to DokuWiki API calls as LLM tools.
It is basically a thin wrapper around the Remote API. It uses the new (March 2025) Streaming HTTP transport.
Note: even though not clearly defined in the MCP specification, some tools seem not to like dots in tool names. Thus this plugin converts them into underscores. Eg. the DokuWiki API call core.getVersion becomes the core_getVersion tool in this plugin.
Installation
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
Usage
First enable and configure the Remote API. Then configure your client to use https://example.com/dokuwiki/lib/plugins/mcp/mcp.php (adjust to your base URL as needed) as remote MCP tool server. Be sure to also set an access token via the Bearer Auth header.
Below is an example in MCP Inspector:
Tools not supporting the streaming HTTP transport natively yet, can use the mcp-remote tool.
{
"mcpServers": {
"dokuwiki": {
"command": "npx",
"args": [
"mcp-remote",
"https://example.com/dokuwiki/lib/plugins/mcp/mcp.php",
"--header",
"Authorization: Bearer mytoken"
],
},
}
}


