toracle/moin-cli
3.2
If you are the rightful owner of moin-cli and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server is designed to facilitate integration with Claude Code, providing a structured interface for managing and interacting with MoinMoin wiki content.
Tools
Wiki Content Access
Tools for accessing and retrieving wiki content.
Content Manipulation
Tools for editing and updating wiki pages.
MoinMoin CLI
A Python command-line interface for interacting with MoinMoin wiki servers via XML-RPC, with built-in support for serving as an MCP (Model Context Protocol) server for Claude Code.
Features
CLI Client
- Connect to MoinMoin wiki servers via XML-RPC
- Perform wiki operations from the command line
- Read, write, and manage wiki pages
- Search and navigate wiki content
- Multi-server support with secure token authentication
MCP Server
- Serve as an MCP server for Claude Code integration
- Provide wiki content access and manipulation tools
- Enable AI-assisted wiki content management
- Support for structured wiki operations
Quick Start
# Install
git clone <repository-url>
cd moin-cli
pip install -e .
# Setup your first server
moin server add work --url https://wiki.company.com
moin server set-default work
# Start using
moin get HomePage
moin put Documentation
moin search "installation"
Usage Examples
Basic Operations
# Read a page
moin get PageName
# Edit a page (opens editor)
moin put PageName
# Write from file
moin put PageName --file content.txt
# Search pages
moin search "search term"
# List all pages
moin list
Multi-Server Management
# Add multiple servers
moin server add work --url https://work.wiki.com
moin server add personal --url https://personal.wiki.com
# Use specific server
moin get HomePage --server personal
# List configured servers
moin server list
MCP Server for Claude Code
# Start MCP server
moin serve
# Or with specific settings
moin serve --host localhost --port 8000 --server work
Configuration
- Configuration file:
~/.moin/config.toml
- Token-based authentication: Secure, Azure CLI-like authentication flow
- Multi-server support: Manage multiple MoinMoin wiki servers
- Environment variables: Support for automation and CI/CD
Documentation
📖
Quick Links
- - Installation and setup
- - Complete command reference
- - Settings and server management
- - Technical design and security
License
MIT License - see file for details
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Submit a pull request
Roadmap
- Basic XML-RPC client functionality
- CLI interface for common operations
- MCP server implementation
- Configuration management
- Authentication handling
- Batch operations
- Plugin system for custom operations