Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port used for StreamableHTTP transport | 3000 |
| CONFIG | No | Path to your configuration file | config.json |
| MCP_TRANSPORT | No | Type of MCP server transport (stdio or http) | stdio |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get-page | Returns a wiki page. Use metadata=true to retrieve the revision ID required by update-page. Set content="none" to fetch only metadata without content. |
| get-page-history | Returns information about the latest revisions to a wiki page, in segments of 20 revisions, starting with the latest revision. The response includes API routes for the next oldest, next newest, and latest revision segments. |
| search-page | Search wiki page titles and contents for the provided search terms, and returns matching pages. |
| set-wiki | Sets the wiki to use for the current session. You MUST call this tool when interacting with a new wiki. |
| add-wiki | Adds a new wiki to the MCP resources from a URL. |
| remove-wiki | Removes a wiki from the MCP resources. |
| update-page | Updates a wiki page. Replaces the existing content of a page with the provided content |
| get-file | Returns information about a file, including links to download the file in thumbnail, preview, and original formats. |
| create-page | Creates a wiki page with the provided content. |
| upload-file | Uploads a file to the wiki from the local disk. |
| upload-file-from-url | Uploads a file to the wiki from a web URL. |
| delete-page | Deletes a wiki page. |
| get-revision | Returns a revision of a wiki page. |
| undelete-page | Undeletes a wiki page. |
| get-category-members | Gets all members in the category. Returns only page IDs, namespaces, and titles. |
| search-page-by-prefix | Performs a prefix search for page titles. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| wikis/en.wikipedia.org | Wiki "Wikipedia" hosted at https://en.wikipedia.org |
| wikis/localhost:8080 | Wiki "Local MediaWiki Docker" hosted at http://localhost:8080 |