Wolai MCP
MCP Server for Wolai โ Connect AI agents to your Wolai knowledge base
Installation
npx wolai-mcpAsk AI about Wolai MCP
Powered by Claude ยท Grounded in docs
I know everything about Wolai MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Wolai MCP Server ๐บ
English | ไธญๆ
Connect AI agents to your Wolai knowledge base via the Model Context Protocol (MCP).
Read, write, search, and navigate your Wolai pages โ all from Claude, Gemini, Cursor, or any MCP-compatible AI agent.
โจ Features
| Category | Tools | Description |
|---|---|---|
| ๐ Read | get_page_content, list_child_blocks, get_root_info, get_breadcrumbs | Read pages, list children, navigate hierarchy |
| ๐ Search | search_pages_by_title | Fuzzy title search across page tree |
| โ๏ธ Write | create_page, add_block, add_code_block | Create pages, append text/lists/headings/code |
| โ๏ธ Config | set_wolai_credentials, set_root_page, get_wolai_config | Runtime credential & root page management |
11 tools total โ covering read, write, search, and configuration.
๐ Quick Start
Install
Option A: Quick Run with uvx (Recommended)
No installation needed โ runs in a temporary isolated environment:
uvx wolai-mcp
Don't have
uv? Install it:curl -LsSf https://astral.sh/uv/install.sh | sh
Option B: Install with pip
pip install wolai-mcp
Get Credentials
- Go to Wolai Developer Console
- Create an application โ get App ID and App Secret
- Find the Root Page ID from your Wolai page URL
๐ Configuration
All credentials are passed via environment variables โ no need to edit any code.
| Variable | Description | Required |
|---|---|---|
WOLAI_APP_ID | Wolai Application ID | โ |
WOLAI_APP_SECRET | Wolai Application Secret | โ |
WOLAI_ROOT_ID | Root page ID for your knowledge base | Optional (for search/navigation) |
๐ง Platform Configuration
Claude Desktop
Add to claude_desktop_config.json:
| uvx (recommended) | pip |
|---|---|
|
|
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"wolai-kb": {
"command": "wolai-mcp",
"env": {
"WOLAI_APP_ID": "your_app_id",
"WOLAI_APP_SECRET": "your_secret",
"WOLAI_ROOT_ID": "your_root_id"
}
}
}
}
Cursor / CherryStudio / Other MCP Clients
| uvx | pip |
|---|---|
|
|
๐ก Usage Examples
Once configured, ask your AI agent:
- "่ฏปๅๆ Wolai ็ฅ่ฏๅบ็้ฆ้กตๅ ๅฎน"
- "ๆ็ดขๆ ้ขๅ ๅซ'้กน็ฎ่ฎกๅ'็้กต้ข"
- "ๅจ้ฆ้กตไธๅๅปบไธไธชๆฐ้กต้ขๅซ'ไผ่ฎฎ็บช่ฆ'"
- "ๅพๆๅฎ้กต้ขๆทปๅ ไธๆฎตไปฃ็ "
- "ๆพ็คบๅฝๅ Wolai ้ ็ฝฎ็ถๆ"
๐ Runtime Configuration
You can also change credentials at runtime without restarting:
set_wolai_credentialsโ Switch Wolai accountset_root_pageโ Change the root knowledge base pageget_wolai_configโ Check current configuration
๐ Support This Project
If you find Wolai MCP useful, consider buying me a coffee! Your support keeps this project alive and growing โจ
โ ็ฑๅ็ต (Afdian)Supports Alipay & WeChat Pay |
๐ Crypto (USDC / ERC-20)Click to donate โ supports MetaMask, SafePal & more |
Every little bit helps โ thank you! ๐
๐ License
MIT License โ see LICENSE for details.
