# MediaWiki MCP for AI Agents AI Agent Connect

> MediaWiki MCP connects your AI agent to any MediaWiki instance, like Wikipedia or a private corporate wiki. It lets your agent search pages, read content, list categories, and track recent edits. Use it to turn your internal knowledge base into a searchable, interactive resource for your team. Instead of manual navigation, your agent handles the queries, giving you instant access to the information you need.

## Overview
- **Category:** collaboration
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_kkJmtmObQ9LaxKWZDc6F8eetKQmmJnJuQ53Xwqha/ai-agent-connect
- **Tags:** wiki, wikipedia, documentation, knowledge-base, mediawiki-api

## Description

Imagine you're trying to find that one specific policy in your company's internal wiki. Usually, you're clicking through endless folders or trying to remember the exact name of a page. With this Connector, you can just ask your agent to find it for you. It works by plugging directly into the MediaWiki API, allowing your agent to browse the site just like a human would, but at a much faster pace. You can have your agent summarize long articles, find all the pages related to a specific project, or even check what's changed in the documentation over the last few hours. It's a big leap forward for anyone who feels buried in documentation. By adding this to your setup through the Vinkius catalog, you're essentially giving your AI a seat at the table where all your team's knowledge lives. It handles the heavy lifting of navigating namespaces and categories so you can get straight to the answers. Instead of manual searching, you're just talking to your data. You can use it to keep your technical docs in sync or to quickly gather facts for a research paper without the usual friction of navigating a complex site structure. It turns a static wiki into a dynamic knowledge base that actually responds to your needs in real time.

## Tools

### list_all_pages
Lists every single page currently existing on the wiki. This provides a full overview of your wiki content.

### list_category_members
Shows every page that belongs to a specific category. This helps in finding all content in a specific section.

### create_account
Sets up a new user account on the wiki instance. This allows for automated user management.

### get_page_categories
Shows all the categories associated with a single page. Use this to see how a page is classified.

### get_page_info
Retrieves basic details and metadata for any wiki page. This helps your agent understand page context.

### get_page_links
Lists all the internal links found on a specific page. It helps in mapping out related documentation.

### get_page_revisions
Fetches the actual content or metadata for different versions of a page. Use this to see historical data.

### list_recent_changes
Shows a list of the most recent edits made to the wiki. This is great for staying updated on team activity.

### search_pages
Performs a full-text search across all pages on the wiki. It helps your agent find specific info quickly.

### get_site_info
Pulls general settings and configuration details from the wiki site. Use this to audit your site settings.

### get_tokens
Grabs the necessary tokens for any actions that modify data. This is required for editing or creating accounts.

### get_user_info
Shows details about the person currently logged into the wiki. Use this to check current user context.

### edit_page
Updates the content of a specific wiki page. It allows your agent to push changes directly to the wiki.

## Prompt Examples

**Prompt:** 
```
Search the wiki for anything about our new remote work policy.
```

**Response:** 
```
I've scanned the wiki and found the following relevant pages:

| Page Name | Last Updated | Summary |
| :--- | :--- | :--- |
| **Remote Work Guidelines** | 2 days ago | Overview of eligibility and core hours. |
| **Home Office Stipend** | 1 week ago | Details on equipment reimbursement. |
| **Communication Etiquette** | 3 weeks ago | Best practices for Slack and Zoom. |

Would you like me to summarize the Remote Work Guidelines for you?
```

**Prompt:** 
```
What are the latest three changes made to the HR wiki?
```

**Response:** 
```
Here are the 3 most recent edits to the HR wiki:

* **Updated:** 'Parental Leave Policy' by User:Admin (2 hours ago)
* **Created:** 'New Hire Onboarding Checklist' by User:HR_Bot (5 hours ago)
* **Edited:** 'Health Benefits Overview' by User:Editor1 (1 day ago)

Let me know if you need more details on any of these.
```

**Prompt:** 
```
List the categories for the 'Product Roadmap' page.
```

**Response:** 
```
The 'Product Roadmap' page belongs to the following categories:

* **Product Management**
* **Q4 Goals**
* **Engineering_Sync**
* **Internal_Roadmaps**

Would you like to see the members of any of these categories?
```

## Capabilities

### Search wiki pages
Find specific pages or topics using full-text keywords.

### Read page content
Pull the full text and metadata from any wiki entry.

### List category members
See every page that belongs to a specific category.

### Track recent edits
Monitor the latest changes made across the entire wiki.

### Extract internal links
Get a list of all related pages linked from a specific entry.

### Create user accounts
Set up new user profiles on your MediaWiki instance.

### Update wiki content
Modify existing pages directly through your agent.

## Use Cases

### Researching Wikipedia topics
A researcher wants to find all Wikipedia entries about 'Quantum Computing' and summarize the key points using `search_pages`.

### Checking internal API docs
A developer needs to check the internal 'API Reference' wiki to see if a specific endpoint is deprecated using `get_page_info`.

### Finding content gaps
A knowledge manager wants to see which pages are missing from a specific category to fill in gaps using `list_category_members`.

### Monitoring policy updates
An admin needs to see who has been making the most recent edits to the 'Security Policy' page using `list_recent_changes`.

## Benefits

- Stop hunting through folders by using `search_pages` to find documentation instantly.
- Keep your team updated by using `list_recent_changes` to see what is new in the wiki.
- Get full context on any topic by pulling internal links with `get_page_links`.
- Manage your knowledge base better by listing all members of a category with `list_category_members`.
- Automate documentation updates by having your agent use `edit_page` to push changes.
- Quickly audit your site structure using `get_site_info` to see global settings.

## How It Works

The bottom line is your agent becomes an expert on your wiki's content.

1. Subscribe to the Connector and enter your MediaWiki API URL.
2. Provide your bot credentials if you need to perform edits.
3. Ask your agent to find, summarize, or update wiki content.

## Frequently Asked Questions

**Can I use the MediaWiki MCP with my company's private wiki?**
Yes, it works with any MediaWiki instance, including private corporate wikis. You just need to provide your specific API URL during setup.

**Does this Connector work with Wikipedia?**
Yes, it can connect to Wikipedia to help you perform research and extract content directly into your workflow.

**Can my agent actually edit the wiki?**
Yes, if you provide the correct credentials, your agent can update existing pages or create new ones on your wiki.

**How do I connect it to my specific wiki URL?**
You just enter your MediaWiki API URL in the configuration settings. If you have a bot account, you can add those credentials too.

**Can I use this to find all pages in a specific category?**
Yes, it can list every page that belongs to a specific category, making it easy to audit or browse specific sections of your wiki.

**Is it safe to give my agent access to my wiki?**
The Connector uses the standard MediaWiki API. It interacts with your wiki in the same way a web browser or an authorized bot would.

**How do I get the actual text content of a specific wiki page?**
Use the `get_page_revisions` tool with the page title. You can specify `rvprop` as 'content' to retrieve the full text of the latest revision.

**Can I see all pages that belong to a specific category like 'Physics'?**
Yes! Use the `list_category_members` tool and provide the category title (e.g., 'Category:Physics'). It will return a list of all pages filed under that category.

**How do I check the general settings and namespaces of the wiki?**
Simply run the `get_site_info` tool. It fetches general information about the MediaWiki site, including its configuration and available namespaces.