KosmoKrator

other

Appwrite MCP Integration for Codex

Connect Appwrite to Codex 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 Codex

Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.

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

Appwrite MCP Config for Codex

Keep write access denied or ask-based unless the workspace is trusted.

{
  "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 Codex

Codex 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