other
Appwrite MCP Integration for LangChain
Connect Appwrite to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Appwrite to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Appwrite MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"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 LangChain
LangChain 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. |