loading…
Search for a command to run...
loading…
Enables AI agents to interact with Wolai knowledge bases to read, write, and search pages, as well as manage databases and file uploads. It supports comprehensi
Enables AI agents to interact with Wolai knowledge bases to read, write, and search pages, as well as manage databases and file uploads. It supports comprehensive content operations including block management and hierarchy navigation via the Model Context Protocol.
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, Cursor, OpenCode, or any MCP-compatible AI agent.
| Category | Tools | Description |
|---|---|---|
| 📖 Read | get_block, get_block_children, get_breadcrumbs |
Read pages, list children, navigate hierarchy |
| ✏️ Write | create_block, update_block, delete_block |
Create, update, and delete blocks |
| 📊 Database | get_database, create_database_row, query_database_rows |
Query and modify database tables |
| 🔍 Search | search_pages |
Fuzzy title search across page tree |
| 📎 Upload | upload_file |
Upload file attachments to pages |
| 🔑 Token | create_token, refresh_token |
Manage API authentication tokens |
| ⚙️ Config | get_config, update_config |
Runtime configuration management |
16 tools total — covering read, write, database, search, upload, token, and configuration.
npm install -g wolai-mcp
# or
npx wolai-mcp
wolai.com/)npx wolai-mcp init
Follow the prompts to enter your credentials. They will be saved to ~/.wolai-mcp/config.json.
Alternatively, set environment variables:
export WOLAI_APP_ID="your_app_id"
export WOLAI_APP_SECRET="your_app_secret"
export WOLAI_ROOT_ID="your_root_page_id" # optional, for search
Add to your opencode.json:
{
"mcp": {
"wolai-mcp": {
"command": "npx",
"args": ["wolai-mcp"],
"env": {
"WOLAI_APP_ID": "your_app_id",
"WOLAI_APP_SECRET": "your_app_secret",
"WOLAI_ROOT_ID": "your_root_page_id"
}
}
}
}
Add to claude_desktop_config.json:
{
"mcpServers": {
"wolai-mcp": {
"command": "npx",
"args": ["wolai-mcp"],
"env": {
"WOLAI_APP_ID": "your_app_id",
"WOLAI_APP_SECRET": "your_app_secret",
"WOLAI_ROOT_ID": "your_root_page_id"
}
}
}
}
{
"wolai-mcp": {
"command": "npx",
"args": ["wolai-mcp"],
"env": {
"WOLAI_APP_ID": "your_app_id",
"WOLAI_APP_SECRET": "your_app_secret",
"WOLAI_ROOT_ID": "your_root_page_id"
}
}
}
Once configured, ask your AI agent:
create_tokenCreate a new API token.
app_id (string): Wolai Application IDapp_secret (string): Wolai Application Secretrefresh_tokenRefresh the current API token.
get_blockGet details of a specific block or page.
id (string): Block ID or Page IDget_block_childrenGet child blocks of a given block or page.
id (string): Parent block IDcursor (string, optional): Pagination cursorpage_size (number, optional): Results per page (default: 100)create_blockCreate a new block under a parent.
parent_id (string): Parent block or page IDtype (string): Block type (text, heading, bullet, code, etc.)content (string, optional): Block content texttext_alignment (string, optional): left, center, or rightlevel (number, optional): Heading level 1-3language (string, optional): Code language for code blocksupdate_blockUpdate an existing block.
id (string): Block IDcontent (string, optional): New contenttext_alignment (string, optional): New alignmentlevel (number, optional): New heading leveldelete_blockDelete a block.
id (string): Block IDget_breadcrumbsGet the breadcrumb path for a block.
id (string): Block IDget_databaseGet database structure and data.
id (string): Database IDcreate_database_rowAdd rows to a database.
database_id (string): Database IDcells (string): JSON string of cell dataquery_database_rowsQuery database rows with pagination.
database_id (string): Database IDcursor (string, optional): Pagination cursorpage_size (number, optional): Results per pagesearch_pagesSearch pages by title keyword.
query (string): Search keywordroot_id (string, optional): Root page to start search fromupload_fileUpload a file attachment.
parent_id (string): Parent block or page IDfile_path (string): Local file pathget_configGet current configuration (hides secret).
update_configUpdate configuration.
app_id (string, optional): New App IDapp_secret (string, optional): New App Secretroot_id (string, optional): New root page IDMIT License — see LICENSE for details.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"wolai-mcp-server": {
"command": "npx",
"args": []
}
}
}