Markus Michalski FAQ

Wiki.js MCP Server: Security

Security of the Wiki.js MCP Server: handling the API token, what gets logged, what permissions the server has, destructive tools and recommendations.

Deutsche Version

Back to overview

Security

The API token

Store the .env with restricted file permissions (readable by your user only) and do not pass the token on in chats, tickets or commits. If it was exposed, revoke the key in the Wiki.js administration and create a new one.

What gets logged

The server writes to stderr only, so the stdio channel of the MCP protocol stays clean:

Page contents and search queries are not logged. Still, check where your MCP client stores the stderr output of servers.

Data flow

Everything a tool returns (page contents, titles, descriptions, tags) goes to your MCP client and thus to the model you use. Writing tools send the content the model produces to your wiki. Private pages get no special protection from the server: whatever the API key may read, the model can read.

Destructive operations

Recommendations