Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort used for StreamableHTTP transport3000
CONFIGNoPath to your configuration fileconfig.json
MCP_TRANSPORTNoType of MCP server transport (stdio or http)stdio

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
wikis/en.wikipedia.orgWiki "Wikipedia" hosted at https://en.wikipedia.org
wikis/localhost:8080Wiki "Local MediaWiki Docker" hosted at http://localhost:8080

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfessionalWiki/MediaWiki-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server