📚 Wiki MCP Server
An MCP (Model Context Protocol) Server implementation for managing Confluence wiki pages.
Supports:
- Creating new wiki pages
- Updating existing wiki pages
- Deleting wiki pages
- Searching wiki pages by keyword
- Auto-selecting correct Confluence knowledge base (
alm
,wpb
, etc.) based on user query
Built with FastAPI, following MCP Server Best Practices, and ready for production deployment.
🚀 Tech Stack
- Python 3.10+
- FastAPI
- MCP SDK
- Requests (for Confluence API interaction)
- ContextVars (for session management)
📦 Project Structure
⚙️ Installation
- Clone the repository:
- Install dependencies:
- (Optional) Configure your environment variables if needed.
🛠 Running Locally
Run the server:
After startup, you can visit:
- OpenAPI docs (Swagger UI): http://localhost:9999/docs
- ReDoc docs: http://localhost:9999/redoc
🧪 Example Request
Headers Required:
Key | Example Value |
---|---|
user_name | john.doe@domain.com |
alm_confluence_base_url | https://your-confluence-site/wiki/rest/api |
alm_confluence_api_token | your-api-token |
wpb_confluence_base_url | (optional if available) |
wpb_confluence_api_token | (optional if available) |
⚠️ If headers are missing or invalid, server will return HTTP 400 error.
Example: Create Page
POST /create_page
Behavior:
- Server will infer
wiki_type=alm
from user_query. - Create the page in Confluence and return page metadata.
🧠 Auto Inference Logic
- If the query mentions
gsna
,global
,alm-confluence
→ alm - If the query mentions
wpb
,wealth
→ wpb - Otherwise default to alm
(You can also manually specify wiki_type
in input)
🐳 Docker (Optional)
Build and run containerized server:
📜 License
MIT License.
📞 Contact
For issues or collaboration requests, please contact:
- Developer: Shawn
- Email: gsqasxb@gmail.com
- Project maintained by internal MCP Working Group
---# wiki_mcp_server
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP Server implementation that enables managing Confluence wiki pages through natural language queries, supporting operations like creating, updating, deleting, and searching pages across different knowledge bases.