Wiki MCP Server
by albertshao
An MCP Server implementation for managing Confluence wiki pages. It supports creating, updating, deleting, and searching wiki pages, and automatically selects the correct Confluence knowledge base based on the user query.
Last updated: N/A
What is Wiki MCP Server?
The Wiki MCP Server is a FastAPI-based application that acts as an MCP (Model Context Protocol) server for interacting with Confluence wiki pages. It provides a standardized interface for performing common wiki operations.
How to use Wiki MCP Server?
To use the server, clone the repository, install the dependencies using pip install -r requirements.txt
, configure the necessary environment variables (Confluence base URLs and API tokens), and run the server using uvicorn wiki_mcp_server.server:app --host 0.0.0.0 --port 9999 --reload
. Send POST requests to the /create_page
endpoint with the required headers and JSON payload.
Key features of Wiki MCP Server
Creating new wiki pages
Updating existing wiki pages
Deleting wiki pages
Searching wiki pages by keyword
Auto-selecting Confluence knowledge base
Built with FastAPI
MCP Server Best Practices
Production deployment ready
Use cases of Wiki MCP Server
Automating wiki page creation
Programmatically updating wiki content
Integrating wiki management into automated workflows
Providing a unified interface for multiple Confluence instances
Building custom wiki management tools
FAQ from Wiki MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It provides a standardized way to interact with different systems.
What is FastAPI?
What is FastAPI?
FastAPI is a modern, high-performance web framework for building APIs with Python.
How does the server infer the wiki type?
How does the server infer the wiki type?
The server infers the wiki type based on keywords in the user query (e.g., 'gsna' for 'alm', 'wpb' for 'wealth'). You can also manually specify the wiki_type
in the input.
What headers are required for the API requests?
What headers are required for the API requests?
The required headers are user_name
, alm_confluence_base_url
, alm_confluence_api_token
, and optionally wpb_confluence_base_url
and wpb_confluence_api_token
.
Is Docker supported?
Is Docker supported?
Yes, the project includes a Dockerfile for containerizing the server. You can build and run the container using docker build
and docker run
commands.