other
Appwrite MCP Integration for Vercel AI SDK
Connect Appwrite to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Appwrite to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Appwrite MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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
Expose only Appwrite instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Appwrite Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Appwrite integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |