KosmoKrator

other

Appwrite MCP Integration for Generic MCP Clients

Connect Appwrite to Generic MCP Clients through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API key auth

Connect Appwrite to Generic MCP Clients

Connect any stdio-compatible MCP client to local KosmoKrator integration tools.

Register kosmo mcp:serve as the command for a local stdio MCP server. The gateway is local, scoped to this integration, and starts with --write=deny so MCP clients can inspect read-capable tools without receiving write access by default.

Appwrite MCP Config for Generic MCP Clients

Start with read-only write policy and expand only for trusted projects.

{
  "mcpServers": {
    "kosmokrator-appwrite": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=appwrite",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=appwrite --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Appwrite instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Appwrite Tools Visible to MCP clients

MCP clients sees stable MCP tool names generated from the Appwrite integration catalog.

MCP toolSource functionTypeDescription
integration__appwrite__appwrite_list_databases appwrite.appwrite_list_databases Read List all databases in the Appwrite project. Returns database IDs and names.
integration__appwrite__appwrite_get_database appwrite.appwrite_get_database Read Get details of a specific Appwrite database by its ID.
integration__appwrite__appwrite_list_collections appwrite.appwrite_list_collections Read List all collections in an Appwrite database. Returns collection IDs and names.
integration__appwrite__appwrite_list_documents appwrite.appwrite_list_documents Read List documents in an Appwrite collection. Returns document data and metadata.
integration__appwrite__appwrite_get_document appwrite.appwrite_get_document Read Get a single document from an Appwrite collection by its ID.
integration__appwrite__appwrite_create_document appwrite.appwrite_create_document Write Create a new document in an Appwrite collection.
integration__appwrite__appwrite_get_current_user appwrite.appwrite_get_current_user Read Get the currently authenticated Appwrite user account information.

Related Appwrite Pages