Skip to content

About

AppFlowy plugins for Claude and Codex: work in your AppFlowy workspace through the AppFlowy MCP server

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

AppFlowy for Claude, ChatGPT and Codex

Plugins that connect Claude (claude.ai, Claude Desktop, Cowork and Claude Code), ChatGPT and Codex to your AppFlowy workspace: pages, documents, databases and their views and dashboards (also embedded in documents), forms, comments, tasks and reminders. Each plugin bundles an AppFlowy MCP server and one skill that teaches the model how to use AppFlowy's tools: find pages by title, read long documents page by page, describe every change and wait for your approval, and refuse document edits that would overwrite someone else's.

You use Claude ChatGPT and Codex
AppFlowy Cloud appflowy (AppFlowy) appflowy (AppFlowy)
Your own AppFlowy server appflowy-self-hosted (AppFlowy (self-hosted)) appflowy-self-hosted (AppFlowy (self-hosted))

The AppFlowy Cloud plugins connect to https://beta.appflowy.cloud/mcp, AppFlowy Cloud's permanent MCP URL. They are the ones submitted to Anthropic's and OpenAI's plugin directories. The self-hosted plugins are offered only from this repository's marketplaces.

Status: AppFlowy Cloud's MCP server at https://beta.appflowy.cloud/mcp is not live yet. Until it is, the AppFlowy Cloud plugins install but cannot connect. The self-hosted plugins work today.

Installed appflowy 0.1.0 for your own server? Version 0.1.0 asked for your server's URL (in Codex, set-server-url.py wrote it); from 0.2.0, appflowy connects only to AppFlowy Cloud. Uninstall it (claude plugin uninstall appflowy@appflowy-plugins in Claude Code, codex plugin remove appflowy@appflowy-plugins in Codex) and install appflowy-self-hosted as described under Self-hosted AppFlowy. In Claude Code, run claude plugin marketplace update appflowy-plugins first.

Before you start

  • Sign-in. Each app signs in through AppFlowy in your browser. You choose one workspace and what the app may do there: View and search (the read scope), Create and add (write) and Edit and delete (admin). A connection works only in that workspace. To use another workspace, connect again and choose it.
  • Approval. Under AppFlowy's default workspace setting, claude.ai, Claude Desktop, Cowork and ChatGPT connect right away, and a workspace owner approves Claude Code and Codex the first time someone in the workspace connects them: members request approval while connecting, and owners can approve while connecting. A workspace set to Approved apps only needs an owner's approval for every app.
  • MCP must be on. It is on by default. An administrator can turn it off on the MCP page of AppFlowy Admin. A self-hosted server also needs an AppFlowy One, Team or Enterprise license.
  • Your server's MCP URL is shown in AppFlowy under Settings -> MCP: your AppFlowy address followed by /mcp. On AppFlowy Cloud it is https://beta.appflowy.cloud/mcp.

AppFlowy Cloud

claude.ai, Claude Desktop and Cowork

Once AppFlowy is listed in Claude's directory, find it under Customize -> Connectors or Customize -> Plugins, and connect it. Until then, choose one of:

  • The plugin (connector and skill). Add this repository as a marketplace (Customize -> Plugins -> Add -> Add marketplace, AppFlowy-IO/appflowy-ai-plugins), install AppFlowy, then connect AppFlowy from the plugin's Connectors tab and sign in through AppFlowy.
  • The connector only. Open this link to prefill Claude's Add custom connector dialog with AppFlowy's MCP URL. Confirm it, then sign in through AppFlowy. The link only fills in the dialog; nothing is added until you confirm.

Owners of a Team or Enterprise organization can add the connector for everyone with the organization variant of the link.

Claude Code

claude plugin marketplace add AppFlowy-IO/appflowy-ai-plugins
claude plugin install appflowy@appflowy-plugins

Then run /mcp in Claude Code and sign in to plugin:appflowy:appflowy. To add only the MCP server, without the skill:

claude mcp add --transport http --scope user appflowy https://beta.appflowy.cloud/mcp

and run /mcp to sign in. A connector you added on claude.ai also appears in Claude Code when you sign in with the same Claude account.

ChatGPT

Once AppFlowy is listed in OpenAI's plugin directory, search for it under Plugins. Until then, add it yourself (ChatGPT has no link that fills this in):

  1. Open chatgpt.com/plugins and select +, then Add custom MCP server.
  2. Name it AppFlowy, enter https://beta.appflowy.cloud/mcp, and choose OAuth.
  3. Confirm the warning, then create and install the plugin.
  4. In a chat, mention @AppFlowy and sign in through AppFlowy when asked.

Your ChatGPT workspace's permissions may limit who can add custom MCP servers; ask your workspace admin if the option is missing.

Codex (app and CLI)

Once AppFlowy is listed in OpenAI's plugin directory, install it from the Plugins directory. Until then, use this repository's marketplace:

codex plugin marketplace add AppFlowy-IO/appflowy-ai-plugins
codex plugin add appflowy@appflowy-plugins
codex mcp login appflowy

To add only the MCP server, without the skill:

codex mcp add appflowy --url https://beta.appflowy.cloud/mcp
codex mcp login appflowy

Codex has no link that adds an MCP server for you. The IDE extension does not load plugins; use codex mcp add there.

Self-hosted AppFlowy

Your server needs MCP turned on (the default) and an AppFlowy One, Team or Enterprise license. Find its MCP URL in AppFlowy under Settings -> MCP; the examples below use https://appflowy.example.com/mcp.

Where each app connects from. Claude Code and Codex connect from your own computer, so your server only has to be reachable from there (a VPN is fine). claude.ai, Claude Desktop, Cowork and ChatGPT connect from their vendor's cloud, so your server, including the address you sign in at, must be reachable from the internet:

Claude Code

claude plugin marketplace add AppFlowy-IO/appflowy-ai-plugins
claude plugin install appflowy-self-hosted@appflowy-plugins --config server_url=https://appflowy.example.com/mcp

Without --config, Claude Code asks for the URL when the plugin is enabled; /plugin configure appflowy-self-hosted@appflowy-plugins changes it later. Then run /mcp and sign in to plugin:appflowy-self-hosted:appflowy. Without the plugin: claude mcp add --transport http --scope user appflowy https://appflowy.example.com/mcp, then /mcp.

claude.ai, Claude Desktop and Cowork

These apps don't ask for a plugin's settings, so add your server as a custom connector: Customize -> Connectors -> Add custom connector, or open https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=AppFlowy&connectorUrl= followed by your percent-encoded MCP URL (for example https%3A%2F%2Fappflowy.example.com%2Fmcp). Confirm it, then sign in through AppFlowy. Install AppFlowy (self-hosted) from this repository's marketplace for the skill.

ChatGPT

Follow the ChatGPT steps above with your server's MCP URL.

Codex (app and CLI)

Codex has no install-time setting, so the URL is part of the plugin. In your own copy of this repository:

python3 scripts/set-server-url.py https://appflowy.example.com
git commit -am "Point the AppFlowy self-hosted plugins at our server"
codex plugin marketplace add <your-org>/<your-copy>   # or a local path to your copy
codex plugin add appflowy-self-hosted@appflowy-plugins
codex mcp login appflowy-self-hosted

set-server-url.py changes only the self-hosted plugins (the Codex plugin's URL, and the default of the Claude plugin's server_url). Without the plugin, name the server appflowy-self-hosted, because appflowy is the AppFlowy Cloud plugin's server:

codex mcp add appflowy-self-hosted --url https://appflowy.example.com/mcp
codex mcp login appflowy-self-hosted

For administrators: set it up for your organization

  • Claude Team and Enterprise. Run set-server-url.py in your copy first. Then, in Organization settings -> Plugins & skills, select Add and either:

    • Sync from GitHub: Claude syncs only a private or internal marketplace repository, so sync a private mirror of your copy (a new private repository you push it to), not a public fork. Its plugins appear in the Inventory; set AppFlowy (self-hosted)'s access there.
    • Upload a plugin: a zip of claude/appflowy-self-hosted, made with cd claude && zip -r ../appflowy-self-hosted.zip appflowy-self-hosted.

    Making a plugin available does not add its connector: also add your server under Organization settings -> Connectors -> Add -> Custom -> Web, or with the organization prefill link (https://claude.ai/admin-settings/connectors?modal=add-custom-connector&connectorName=AppFlowy&connectorUrl= plus your percent-encoded MCP URL).

  • Claude Code across a team. Run set-server-url.py in your copy so the URL is the plugin's default, then add the marketplace and the plugin through managed settings:

    {
      "extraKnownMarketplaces": {
        "appflowy-plugins": { "source": { "source": "github", "repo": "<your-org>/<your-copy>" } }
      },
      "enabledPlugins": { "appflowy-self-hosted@appflowy-plugins": true }
    }
  • ChatGPT Business and Enterprise. A workspace admin can import your copy of this repository (Admin -> Plugins -> Add -> Import marketplace), or publish a custom MCP server plugin to the workspace (Plugins -> Personal -> the plugin's menu -> Publish). Each member still signs in with their own AppFlowy account.

  • Codex across a team. Managed configuration can add your marketplace for everyone; see OpenAI's managed configuration guide.

Troubleshooting

Sign-in doesn't start. In Claude Code run /mcp and choose the AppFlowy server; in Codex run codex mcp login appflowy (or appflowy-self-hosted); on claude.ai select Connect on the connector; in ChatGPT mention @AppFlowy. Sign in with your AppFlowy account in the browser window that opens, then choose the workspace and access.

The app needs a workspace owner's approval. Under the default workspace setting, a workspace owner approves Claude Code and Codex the first time anyone in the workspace connects them (and every app, when the workspace allows Approved apps only). Request approval when you connect; an owner approves it in AppFlowy under Settings -> MCP -> Approval requests, then you connect again. An owner who connects can approve right away.

"AI app connections are turned off on this AppFlowy server." An administrator turned MCP off on the MCP page of AppFlowy Admin. Your connections are kept and work again once it is back on.

"MCP needs a self-hosted AppFlowy One, Team or Enterprise license on this server." Self-hosted servers without a One, Team or Enterprise license refuse MCP connections. Your administrator installs such a license.

"Your account is not allowed to use AI apps on this AppFlowy server." The MCP page of AppFlowy Admin limits who may connect. Ask your administrator to add you.

A tool is missing, or a change is refused for lack of access. The app sees only the tools your sign-in allowed:

  • read: search, read pages and databases, list spaces, members, comments, tasks and reminders; read view settings, forms and form sharing;
  • write: also create pages, blocks, comments, rows, properties, views, tasks and reminders; append to documents and embed database views in them; move and duplicate pages; update rows, tasks and reminders; configure forms, and create or change their sharing links;
  • admin: also rename or trash pages, replace documents, edit blocks, resolve comments, change properties and view settings, revoke or rotate form sharing links, and delete blocks, comments, rows, properties and reminders.

Connect again and grant the access you need.

The app works in the wrong workspace. A connection reaches one workspace, the one chosen at sign-in. Connect again and choose the other one.

claude.ai or ChatGPT can't reach a self-hosted server, but Claude Code can. The vendor connects from its cloud. Let its addresses through your firewall or WAF to both your MCP address and your AppFlowy sign-in address: Anthropic 160.79.104.0/21 and 153.61.208.0/20, OpenAI the ranges in openai.com/chatgpt-connectors.json. Or use the vendor's tunnel (see Self-hosted AppFlowy).

An edit is refused because the page changed. Someone else edited the same page or block after the app read it. Ask the app to read the page again and redo the change.

Codex in the IDE doesn't show the plugin. The IDE extension doesn't load plugins; add the server with codex mcp add appflowy --url https://beta.appflowy.cloud/mcp for AppFlowy Cloud, or codex mcp add appflowy-self-hosted --url <your MCP URL> for your own server.

Still stuck? Contact AppFlowy at appflowy.com/contact.

What data the plugins send

The plugins contain no code, hooks or binaries: an MCP server address, a skill (text instructions for the model) and listing metadata. They run nothing on your computer and send nothing on their own.

When the model calls an AppFlowy tool, the app (Claude, ChatGPT or Codex) sends that tool's arguments, such as search terms, page, block and database IDs, and any text you asked it to write, to the MCP server: AppFlowy Cloud at beta.appflowy.cloud for the AppFlowy Cloud plugins, or your own server for the self-hosted ones. It authenticates with the OAuth access token from your AppFlowy sign-in, which the app stores; this repository holds no credentials.

AppFlowy answers with the workspace data the tool reads: page titles and content, database rows (form responses among them), view and form settings, form sharing links (the form URLs that get-form-share, create-form-share, update-form-share and reset-form-share return; anyone who has a public form's link can answer it), comments, tasks, your own reminders, and the names and email addresses of workspace members. That data becomes part of your conversation, which Anthropic or OpenAI processes under its own terms. AppFlowy Cloud processes your data under the AppFlowy privacy policy and terms; a self-hosted server stays under its operator's control. If you ask the app to share a form publicly, anyone with its link can submit answers, without an AppFlowy account; the server saves them as new rows in the form's database. The connection reaches only the workspace you chose, with only the access you granted. To end it, disconnect it in the app, or select Disconnect in AppFlowy under Settings -> MCP.

Working on the plugins

.claude-plugin/marketplace.json     Claude marketplace appflowy-plugins: both Claude plugins
.agents/plugins/marketplace.json    Codex marketplace appflowy-plugins: both Codex plugins
claude/appflowy/                    Claude, AppFlowy Cloud (submitted to Anthropic's directory)
claude/appflowy-self-hosted/        Claude, your own server (asks for server_url)
codex/appflowy/                     ChatGPT and Codex, AppFlowy Cloud (submitted to OpenAI)
codex/appflowy-self-hosted/         Codex, your own server (URL set by set-server-url.py)
catalog/tools.json                  AppFlowy's MCP tool catalog, exported from the server
scripts/check.py                    validate the repository
scripts/annotation-table.py         write SUBMISSION.md's annotation table from the catalog
scripts/set-server-url.py           point the self-hosted plugins at one server
scripts/package-openai.py           build the ZIP of codex/appflowy for OpenAI's portal
SUBMISSION.md                       what to enter in Anthropic's and OpenAI's portals
  • The four skills/ folders hold the same skill; edit all four, and scripts/check.py fails while they differ.

  • catalog/tools.json is the server's tools/list with its tools_integrity (version, digest, tool count). When the server's tools change, export it again in an AppFlowy Cloud server checkout, which prints it from an ignored test, and save the printed JSON:

    cargo test -p appflowy-mcp-core --lib print_tool_catalog -- --ignored --nocapture \
      | sed -n '/^{/,/^}/p' > <this repository>/catalog/tools.json

    Then add a justification to scripts/annotation-table.py for each new tool, run python3 scripts/annotation-table.py --write, and update SUBMISSION.md's tool counts and catalog version, the skill and the review cases where the change affects them.

  • Run python3 scripts/check.py before every commit. It checks manifests, links between files, the fixed AppFlowy Cloud URL (and that no self-hosted URL is AppFlowy Cloud's, however it is written), the OAuth settings OpenAI's portal reads, OpenAI's listing limits and review cases (their tools must be in the catalog), that the catalog is a whole export, and that SUBMISSION.md's annotation table, tool counts and catalog version match the catalog. It also runs claude plugin validate --strict (and --profile directory on claude/appflowy) when Claude Code is installed.

  • Raise version in all four plugin.json files with every release.

  • SUBMISSION.md lists what to enter in each directory's portal.

License

AGPL-3.0, as AppFlowy. See LICENSE.

About

AppFlowy plugins for Claude and Codex: work in your AppFlowy workspace through the AppFlowy MCP server

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages