About MediaWiki
MediaWiki is an MCP server published by ProfessionalWiki in the Developer Tools category: model Context Protocol (MCP) Server to connect your AI with any MediaWiki. Conduid read 2 tools from its source: list-wikis and neowiki-cypher-query. No package is published for it, so it installs from a source checkout.
The repository has 154 stars and 46 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v0.19.0 (25 Sep 2026): protect-page tool that protects or unprotects a wiki page, setting edit, move, upload or create protection separately, with an optional expiry. It follows v0.18.0 (10 Sep 2026), and the 5 most recent releases go back to v0.15.0 (28 Jul 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include mediawiki and ai-agent-tools.
Install
git clone https://github.com/ProfessionalWiki/MediaWiki-MCP-ServerTools (2)
list-wikisLists every configured wiki: its key (pass as the `wiki` argument to other tools), sitename, server URL, whether it is read-only or the default, whether it is currently reachable, and which extension-gated tools work on it. Use to discover the configured wikis, their keys, and which extension tools each supports.neowiki-cypher-queryRuns a read-only Cypher query against the wiki's NeoWiki knowledge graph (Neo4j) and returns rows. Enabled only when the wiki has NeoWiki installed; the query endpoint exists only where NeoWiki has a Neo4j backend, and on a wiki with a SPARQL store instead, neowiki-sparql-query answers.
Discover the data model first — the graph CANNOT be introspected from Cypher (CALL db.labels(), db.schema.* and all procedure calls are rejected as not-read-only). Use neowiki-list-schemas for the entity types, then neowiki-get-schema for a type's properties and relations.
Graph model:
- Subjects are nodes labelled `:Subject` plus a per-schema label, e.g. (s:Subject:Person). Subject node properties are the schema's properties plus `id` and `name`. `name` is the Subject's label, or a Main Subject's page title when it has no label, and is absent otherwise.
- Pages are (:Page) nodes linked by (:Page)-[:HasSubject {isMain, isDependent}]->(:Subject). Subject-to-subject relations are edges typed by the relation property's name (see neowiki-get-schema): (c:Subject:Company)-[:`Main product`]->(p:Subject:Product).
- A node labelled only `:Subject` is a stub: the target of a relation whose Subject was deleted or not yet created.
- Statement values are lists, except `number` and `boolean` values, which are single: match with 'Germany' IN s.Country, not s.Country = 'Germany'. `select` parts are opaque option IDs (e.g. o1abc…), not labels — decode them with neowiki-get-schema. `date` and `dateTime` parts are Neo4j dates and datetimes; `monolingualText` parts are `text@language` strings.
Gotchas:
- Whole nodes come back as { id, labels, properties }, where id is Neo4j's internal node ID and the Subject ID is properties.id; projecting the properties needed keeps rows small.
- Plain list values (labels(n), collect(...)) come back as 1-indexed JSON objects ({"1":…,"2":…}), not arrays.
- Read-only only; write clauses are rejected.
Limits: ~5,000 rows / 30s by default (50,000 / 300s with the apihighlimits right). When `truncated` is true, narrow with WHERE or add LIMIT/SKIP.
Example:
cypher: MATCH (s:Subject:Person) WHERE s.`Birth year` > $minYear RETURN s.name AS name, s.`Birth year` AS year ORDER BY year
parameters: { "minYear": 2000 }Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 185 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/transport/stdio.ts:3, src/transport/streamableHttp.ts:463
- Starts other programs
- 1 callsrc/wikis/execSecret.ts:74
- Outbound network calls
- 4 callssrc/auth/authorizationServer/cimdFetch.ts:48, src/auth/metadata.ts:103, src/auth/oauthFlow.ts:111
- Writes or deletes files
- 3 callssrc/auth/tokenStore.ts:111, src/auth/tokenStore.ts:113, src/auth/tokenStore.ts:117
- Lockfile
- package-lock.json
Pattern matches on the source text of 185 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.7K words, fetched a month ago. The original in the repository is authoritative.
Read full README