Skip to content
简体中文

切换主题

// 搭自动化工作流

Appwrite(面向 Agent 与开发者的开源云平台,内置认证、数据、函数与 MCP)2.7.4

Appwrite 是 Appwrite 公司以 BSD-3-Clause 许可证开源的后端云平台。官方 README 将其定位为面向 Agent 与开发者的 MCP 优先平台,把认证、数据库(含托管 PostgreSQL 与 MySQL)、存储、云函数、站点托管、消息推送、实时通道和防火墙放在同一套产品里,并内置 MCP 服务器,供 Cursor、Claude Code、Codex 等编程 Agent 直接操作线上项目。使用方式分两种:注册 Appwrite Cloud(含 Free 方案,可在此基础上按需升级),或在已安装 Docker 的机器上按官方安装命令自托管。官方 GitHub Releases 最新版本为 2.7.3(2026-11-17T12:55:27Z,北京时间 20:55),是 2.7 线的维护补丁,基础镜像改为 appwrite/base 2.2.12、执行器改为 openruntimes/executor 1.3.5;从 2.7.2 升级无需更改数据库结构。查阅时主仓库 README 中的安装示例仍写 appwrite/appwrite:2.7.2,安装与升级应以 Releases 说明为准。适合需要为应用程序和 Agent 工作流提供统一后端的开发团队。

开源 维护中 开发者

一段话结论

Appwrite(面向 Agent 与开发者的开源云平台,内置认证、数据、函数与 MCP) 是Appwrite 是 Appwrite 公司以 BSD-3-Clause 许可证开源的后端云平台。官方 README 将其定位为面向 Agent 与开发者的 MCP 优先平台,把认证、数据库(含托管 PostgreSQL 与 MySQL)、存储、云函数、站点托管、消息推送、实时通道和防火墙放在同一套产品里,并内置 MCP 服务器,供 Cursor、Claude Code、Codex 等编程 Agent 直接操作线上项目。使用方式分两种:注册 Appwrite Cloud(含 Free 方案,可在此基础上按需升级),或在已安装 Docker 的机器上按官方安装命令自托管。官方 GitHub Releases 最新版本为 2.7.3(2026-11-17T12:55:27Z,北京时间 20:55),是 2.7 线的维护补丁,基础镜像改为 appwrite/base 2.2.12、执行器改为 openruntimes/executor 1.3.5;从 2.7.2 升级无需更改数据库结构。查阅时主仓库 README 中的安装示例仍写 appwrite/appwrite:2.7.2,安装与升级应以 Releases 说明为准。适合需要为应用程序和 Agent 工作流提供统一后端的开发团队。

适合:想搭自动化工作流的开发者和团队。

01怎么开始

  1. 1先看官方快速上手(上方按钮)。
  2. 2按官方说明安装或注册。
  3. 3先拿一个小例子跑通,再接进项目。

02README(项目原文)

以下内容来自 appwrite/appwrite 的 README,许可证 BSD-3-Clause,版权归原作者。 查看原文 ↗

image

Appwrite

The open-source cloud for agents and developers. Appwrite is an MCP and agent-first platform for building and scaling apps. Give your agents Auth, Databases, Storage, Functions, Messaging, Realtime, and Hosting, all in one place.

English | 简体中文

Appwrite is an MCP and agent-first, open-source platform for building and scaling apps. MCP is included, so coding agents can operate on a live Appwrite project. Appwrite is available as a managed cloud platform and can also be self-hosted on infrastructure you control.

It is designed for the AI agents in your workflow as well as for developers. Connect Cursor, Claude Code, Codex, and other agents through the hosted MCP server, or integrate an SDK into your app. Modular products stay unified from the first prototype to production scale.

Find out more at https://appwrite.io.

Table of Contents:

Products

  • Appwrite Auth - Authenticate users securely with email, SMS, OAuth, anonymous sessions, and magic URLs.

  • Appwrite Databases - Model, query, and scale with Appwrite databases or managed PostgreSQL and MySQL, so you can match your use case and team needs.

  • Appwrite Storage - Store files with compression, encryption, image transformations, and access control.

  • Appwrite Functions - Deploy serverless functions with secure isolated runtimes and event-driven execution.

  • Appwrite Sites - Deploy static, SSR, and CSR frontends from Git with instant previews and Appwrite behind them.

  • Appwrite Messaging - Send email, SMS, and push notifications through a unified messaging service.

  • Appwrite Firewall - Protect apps with traffic rules, abuse controls, and edge security for every project.

  • Appwrite Realtime - Subscribe and react to events across your project as they happen.

  • Appwrite MCP - Connect agents to your Appwrite project, APIs, and docs. MCP is included on Cloud, with no local install required.

Installation & Setup

The easiest way to get started with Appwrite is by signing up for Appwrite Cloud. Cloud includes a Free plan so you can start building immediately, with paid plans when you need to scale.

Self-Hosting

Appwrite was designed from the ground up with self-hosting in mind. You can install and run Appwrite on any operating system that can run a Docker CLI. Running your server is as easy as running one command from your terminal.

Before running the installation command, make sure you have Docker installed on your machine. The setup wizard listens on port 20080 and is published on localhost only. It also prints a one-time installer secret to STDOUT — open the printed URL (or send x-appwrite-installer-secret) to complete setup. For a remote host, SSH-tunnel to 127.0.0.1:20080 rather than publishing the port on all interfaces.

Unix
docker run -it --rm \
    --publish 127.0.0.1:20080:20080 \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:2.7.2
Windows
CMD
docker run -it --rm ^
    --publish 127.0.0.1:20080:20080 ^
    --volume //var/run/docker.sock:/var/run/docker.sock ^
    --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
    --entrypoint="install" ^
    appwrite/appwrite:2.7.2
PowerShell
docker run -it --rm `
    --publish 127.0.0.1:20080:20080 `
    --volume /var/run/docker.sock:/var/run/docker.sock `
    --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
    --entrypoint="install" `
    appwrite/appwrite:2.7.2

Once the installer is running, open the URL printed in the terminal (it includes a one-time secret) to complete the setup wizard. After installation, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation.

Docker API version mismatch

If install or upgrade fails with an error like client version 1.52 is too new. Maximum supported API version is 1.42, the Docker CLI inside the Appwrite image is newer than your host Docker Engine. Pass DOCKER_API_VERSION set to the maximum API version from the error (or upgrade Docker on the host):

docker run -it --rm \
    --env DOCKER_API_VERSION=1.42 \
    --publish 127.0.0.1:20080:20080 \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:2.7.2

Use the same --env DOCKER_API_VERSION=... flag with --entrypoint="upgrade" when upgrading.

For advanced production and custom installation, check out our Docker environment variables docs. You can also use our public docker-compose.yml and .env files to manually set up an environment.

Upgrade from an Older Version

If you are upgrading your Appwrite server from an older version, you should use the Appwrite migration tool once your setup is completed. For more information regarding this, check out the migration instructions.

One-Click Setups

In addition to running Appwrite locally, you can launch Appwrite using a pre-configured marketplace app for instant setup.

Choose from one of the providers below:

DigitalOcean Logo
DigitalOcean
Gitpod Logo
Gitpod
Akamai Logo
Akamai Compute
AWS Logo
AWS Marketplace

For custom deployments on a cloud provider or PaaS, see the guides for AWS, DigitalOcean, Google Cloud, Azure, Coolify, and Dokploy.

Getting Started

Getting started with Appwrite is as easy as creating a new project, connecting an agent, or integrating an SDK into your code. You can start from a prompt, a quick start tutorial, or the hosted MCP server.

Agents

Designed for the AI agents in your workflow. Query a database, chart traffic, or ship a change: your agent does it on a live Appwrite project. The hosted MCP server uses OAuth, so you do not need to create or manage API keys. For a self-hosted instance, use the local MCP server instead.

Add the remote server to Cursor, Claude Code, Codex, VS Code, and other MCP clients:

{
    "mcpServers": {
        "appwrite": {
            "url": "https://mcp.appwrite.io/"
        }
    }
}

You can also add the MCP server to Cursor in one click.

Install language-specific agent skills so models generate correct SDK calls:

npx skills add appwrite/agent-skills

Browse quick start prompts, generate an AGENTS.md file for your repo, or see the AI tooling docs for IDE and vibe coding setup.

Getting started with your platform of choice is also covered in the tutorials below.

Platform Technology
Web app Quick start for Web
Quick start for Next.js
Quick start for React
Quick start for Vue.js
Quick start for Nuxt
Quick start for SvelteKit
Quick start for Astro
Quick start for TanStack Start
Quick start for Refine
Quick start for Angular
Mobile and Native Quick start for React Native
Quick start for Flutter
Quick start for Apple
Quick start for Android
Server Quick start for Node.js
Quick start for Python
Quick start for .NET
Quick start for Dart
Quick start for Ruby
Quick start for Deno
Quick start for PHP
Quick start for Kotlin
Quick start for Swift
Quick start for Go
Quick start for Rust
SDKs

Below is a list of currently supported platforms and languages. If you would like to help us add support to your platform of choice, you can go over to our SDK Generator project and view our contribution guide.

Client
Server
  • :white_check_mark:   Node.js
  • :white_check_mark:   Python
  • :white_check_mark:   Dart
  • :white_check_mark:   PHP
  • :white_check_mark:   Ruby
  • :white_check_mark:   .NET
  • :white_check_mark:   Go
  • :white_check_mark:   Swift
  • :white_check_mark:   Kotlin
  • :white_check_mark:   Rust

Looking for more SDKs? - Help us by contributing a pull request to our SDK Generator!

Architecture

flowchart TB
  Console & Flutter & iOS & Android & Web & Agents & MCP & CLI & SDKs & Terraform --> Appwrite
  Appwrite --> REST & Realtime & GraphQL & S3
  REST & Realtime & GraphQL & S3 --> securityLayer[Security layer]
  securityLayer --> services
  subgraph services [Services]
    Auth
    Databases
    Functions
    Sites
    Messaging
    Storage
    Avatars
    Locale
  end
  services --> Executor & Queue & Cache & Browser & SMTP & Embeddings
  Cache --> Database
  Queue --> Workers
  Executor --> openRuntimes[Open Runtimes]

Appwrite uses a hybrid monolithic-microservice architecture that was designed for easy scaling and delegation of responsibilities. In addition, Appwrite supports multiple APIs, such as REST, WebSocket, and GraphQL to allow you to interact with your resources by leveraging your existing knowledge and protocols of choice.

The Appwrite API layer was designed to be extremely fast by leveraging in-memory caching and delegating any heavy-lifting tasks to the Appwrite background workers. The background workers also allow you to precisely control your compute capacity and costs using a message queue to handle the load. You can learn more about our architecture in AGENTS.md.

Contributing

All code contributions, including those of people having commit access, must go through a pull request and be approved by a core developer before being merged. This is to ensure a proper review of all the code.

We truly :heart: pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Security

Please see SECURITY.md for how to report a vulnerability. Do not open a public GitHub issue for security reports.

Follow Us

Join our growing community around the world! Read the Blog, or follow us on Discord, GitHub, X, LinkedIn, YouTube, daily.dev, Bluesky, TikTok, and Instagram.

License

This repository is available under the BSD 3-Clause License.

03替代品与对比

并排对比 →
版本历史 · 收录依据 · 给 AI 读

给 AI 读

数据更新于:AI 软件库与热度 · 软件档案 / 需求 · 软件官方下载(北京时间)