Skip to main content
Glama
appwrite

Appwrite MCP Server

Official
by appwrite

databases_create_relationship_attribute

Define relationships between collections in Appwrite databases to link related data entries and establish data connections.

Instructions

Create relationship attribute. Learn more about relationship attributes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
database_idYesDatabase ID.
collection_idYesCollection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
related_collection_idYesRelated Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
typeYesRelation type
two_wayNoIs Two Way?
keyNoAttribute Key.
two_way_keyNoTwo Way Attribute Key.
on_deleteNoConstraints option

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/appwrite/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server