AppFlowy Cloud MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add appflowy-cloud -- uv run main.py
README.md

Interact with the AppFlowy Cloud API to manage workspaces, databases, and rows.

AppFlowy Cloud MCP Server

A Model Context Protocol (MCP) server for interacting with AppFlowy Cloud API, providing tools for workspace, database, and row operations.

Features

  • Authentication: Login and refresh token management
  • Workspace Operations: List all workspaces
  • Database Operations: List databases, get database fields
  • Row Operations: List rows, get row details, create rows, upsert rows

Authentication

The server uses in-memory token storage. To authenticate:

  1. Use appflowy_login with your email and password
  2. The tokens are stored automatically
  3. Use appflowy_refresh_token when the access token expires

Available Tools

Authentication Tools

  • appflowy_login(request: LoginRequest) - Login to AppFlowy Cloud
  • appflowy_refresh_token(request: RefreshTokenRequest) - Refresh access token

Workspace Tools

  • appflowy_list_workspaces() - List all workspaces

Database Tools

  • appflowy_list_databases(workspace_id: str) - List databases in a workspace
  • appflowy_get_database_fields(workspace_id: str, database_id: str) - Get database fields

Row Tools

  • appflowy_list_rows(workspace_id: str, database_id: str) - List row IDs
  • appflowy_get_row_details(workspace_id: str, database_id: str, row_ids: str, with_doc: bool = False) - Get row details
  • appflowy_create_row(workspace_id: str, database_id: str, request: RowCreateRequest) - Create a new row
  • appflowy_upsert_row(workspace_id: str, database_id: str, request: RowUpdateRequest) - Update or create row

Running the Server

uv run python main.py

Usage Example

  1. Login:
request = LoginRequest(email="your@example.com", password="your_password")
response = appflowy_login(request)
  1. List workspaces:
workspaces = appflowy_list_workspaces()
  1. Get database fields:
fields = appflowy_get_database_fields("workspace_id", "database_id")
  1. Create a row:
row_request = RowCreateRequest(cells={"Field_Name": "Value"}, document="Optional markdown")
result = appflowy_create_row("workspace_id", "database_id", row_request)

Note

The server maintains tokens in memory. For production use, consider adding persistent storage (Redis, database, etc.) and proper error handling.

Tools (9)

appflowy_loginLogin to AppFlowy Cloud to obtain authentication tokens.
appflowy_refresh_tokenRefresh the current access token.
appflowy_list_workspacesList all available workspaces.
appflowy_list_databasesList databases within a specific workspace.
appflowy_get_database_fieldsRetrieve the fields defined in a specific database.
appflowy_list_rowsList row IDs in a database.
appflowy_get_row_detailsGet detailed information for specific rows.
appflowy_create_rowCreate a new row in a database.
appflowy_upsert_rowUpdate an existing row or create a new one.

Configuration

claude_desktop_config.json
{"mcpServers": {"appflowy": {"command": "uv", "args": ["run", "main.py"]}}}

Try it

List all my workspaces in AppFlowy Cloud.
Get the database fields for the 'Projects' database in my main workspace.
Create a new row in the 'Tasks' database with the title 'Finish MCP documentation'.
List all row IDs in the 'Inventory' database.

Frequently Asked Questions

What are the key features of AppFlowy Cloud?

Authentication management with login and token refresh. Workspace discovery and listing. Database schema inspection via field retrieval. Full row lifecycle management including listing, reading, creating, and upserting.

What can I use AppFlowy Cloud for?

Automating data entry into AppFlowy databases from AI-generated content. Querying project management data to summarize status updates. Syncing external information into AppFlowy rows programmatically. Exploring workspace structures to build custom reporting tools.

How do I install AppFlowy Cloud?

Install AppFlowy Cloud by running: uv run python main.py

What MCP clients work with AppFlowy Cloud?

AppFlowy Cloud works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep AppFlowy Cloud docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare