# Backendless — how to use (mcp.ai)

Connect your Backendless account and use 30 tools for developer tools straight from your AI agent. Connect with your own API key. Backendless is a comprehensive backend-as-a-service (BaaS) platform providing scalable backend functionality for mobile and web applications, including user authentication, data persistence, file storage, and custom API services.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_backendless?ms=1787291520000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `backendless_copy_file`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/backendless`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/backendless/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/backendless/copy/file` — Tool to copy a file or directory within Backendless file storage. Use when duplicating files to a new location after verifying source and destination paths.
  - body: { source_path: string, target_path: string }
- `POST https://api.mcp.ai/api/backendless/create/directory` — Tool to create a new directory at the specified path. Use when you need to organize files under a new folder structure.
  - body: { user_token?: string, directory_path: string }
- `POST https://api.mcp.ai/api/backendless/create/hive` — Tool to create a new Hive. Use when you need to provision a new Hive resource before performing Hive operations. Example: Create a hive named 'groceryStore'.
  - body: { hive_name: string }
- `POST https://api.mcp.ai/api/backendless/create/timer` — Tool to create a new timer with schedule and code. Use when scheduling recurring or one-off tasks to run server-side logic after confirming parameters.
  - body: { name: string, expire?: integer, frequency: object, startDate?: integer }
- `POST https://api.mcp.ai/api/backendless/delete/directory` — Tool to delete a directory at the specified path in Backendless file storage. Use when you need to remove folders after confirming the path.
  - body: { user_token?: string, directory_path: string }
- `POST https://api.mcp.ai/api/backendless/delete/file` — Deletes a file from Backendless file storage at the specified path. Use this tool when you need to remove files from storage. The operation is permanent and cannot be undone. Ensure the file path is c
  - body: { user_token?: string, relative_path: string }
- `POST https://api.mcp.ai/api/backendless/delete/timer` — Deletes a Backendless timer by its unique name. Use this tool to permanently remove a scheduled timer from your Backendless application. The timer must exist and you must provide its exact name. Once 
  - body: { name: string }
- `POST https://api.mcp.ai/api/backendless/directory/listing` — Tool to retrieve a listing of files and directories at a given path. Use when browsing or filtering file storage directories.
  - body: { sub?: boolean, path: string, offset?: integer, pattern?: string, pagesize?: integer, user_token?: string }
- `POST https://api.mcp.ai/api/backendless/general/object/retrieval` — Tool to retrieve objects from a specified Backendless table with filtering, sorting, and pagination. Use after confirming the table name and query options. Example: "Get Users where age > 30 sorted by
  - body: { props?: string, where?: string, having?: string, offset?: integer, sortBy?: string, groupBy?: string, distinct?: string, pageSize?: integer, table_name: string, user-token?: string, excludeProps?: string, loadRelations?: string, relationsDepth?: integer, relationsPageSize?: integer }
- `POST https://api.mcp.ai/api/backendless/get/all/values` — Tool to retrieve all values from a map in a specified Hive. Use when you need to fetch the entire contents of a Hive map at once.
  - body: { map_name: string, hive_name: string }
- `POST https://api.mcp.ai/api/backendless/get/counter/value` — Tool to retrieve the current value of a Backendless counter. Use when you need to inspect an atomic counter's value.
  - body: { user_token?: string, counter_name: string }
- `POST https://api.mcp.ai/api/backendless/get/file/count` — Tool to get the count of files in a Backendless directory. Use when you need to determine how many items match a filter or include subdirectories.
  - body: { sub?: boolean, path: string, pattern?: string, user_token?: string, count_directories?: boolean }
- `POST https://api.mcp.ai/api/backendless/get/key/items` — Tool to retrieve values for a specified key in a list (all, single, or range). Use when you need specific elements or the entire list from a Hive key. Supports single index retrieval, range retrieval,
  - body: { key: string, index?: integer, to_index?: integer, hive_name: string, from_index?: integer }
- `POST https://api.mcp.ai/api/backendless/get/timer` — Tool to retrieve information about a specific timer. Use when you need to inspect a timer's schedule and next run details by name.
  - body: { name: string }
- `POST https://api.mcp.ai/api/backendless/map/put` — Tool to set or update key-value pairs in a Hive map. Use when you need to add or update multiple entries in a Hive map.
  - body: { entries: object, map_name: string, hive_name: string }
- `POST https://api.mcp.ai/api/backendless/move/file` — Tool to move a file or directory within Backendless file storage. Use when relocating resources to a new path after verifying source and destination.
  - body: { source_path: string, target_path: string }
- `POST https://api.mcp.ai/api/backendless/publish/message` — Tool to publish a message to a specified messaging channel. Use when you need to send notifications or events to subscribers after confirming channel and payload.
  - body: { headers?: object, message: string|integer|number|boolean|object|string|integer|number|boolean[], publishAt?: integer, user_token?: string, publisherId?: string, repeatEvery?: integer, channel_name: string, repeatExpiresAt?: integer }
- `POST https://api.mcp.ai/api/backendless/reset/counter` — Tool to reset a Backendless counter back to zero. Use when you need to reinitialize a counter before starting a new sequence.
  - body: { user_token?: string, counter_name: string }
- `POST https://api.mcp.ai/api/backendless/set/counter/value` — Tool to set a Backendless counter to a specific value conditionally. Use when you need to ensure the counter only updates if it currently matches an expected value.
  - body: { expected: integer, user_token?: string, counter_name: string, updatedvalue: integer }
- `POST https://api.mcp.ai/api/backendless/update/timer` — Tool to update schedule or code of an existing timer. Use when you need to modify a timer's configuration after retrieval.
  - body: { code?: string, name: string, expire?: integer, frequency?: object, startDate?: integer }
- `POST https://api.mcp.ai/api/backendless/user/delete` — Tool to delete a user by user ID. Use when removing a user account after confirming permissions.
  - body: { user_id: string, user_token?: string }
- `POST https://api.mcp.ai/api/backendless/user/find` — Tool to retrieve user information by ID. Use when you need to fetch details for a specific user after you have their objectId.
  - body: { user_id: string, user_token?: string }
- `POST https://api.mcp.ai/api/backendless/user/grant/permission` — Tool to grant a permission to a user on a specific data object. Use when precise access rights must be assigned after verifying the table and object IDs. Example: "Grant FIND permission to a user for 
  - body: { user: string, object_id: string, permission: string, table_name: string }
- `POST https://api.mcp.ai/api/backendless/user/login` — Tool to log in a registered user with identity and password. Use when you need to authenticate a user before making subsequent requests. Example: "Login alice@wonderland.com with password wonderland".
  - body: { login: string, password: string }
- `POST https://api.mcp.ai/api/backendless/user/logout` — Tool to log out the currently authenticated user. Use when you need to terminate the user session after operations.
  - body: { user-token: string }
- `POST https://api.mcp.ai/api/backendless/user/password/recovery` — Tool to initiate password recovery for a user. Use when a user requests a password reset after forgetting their password. Triggers an email with recovery instructions.
  - body: { user_identity: string }
- `POST https://api.mcp.ai/api/backendless/user/registration` — Tool to register a new user with email and password. Use when creating a user account or converting a guest account to a registered one after collecting credentials. Example: Register 'alice@wonderlan
  - body: { email: string, objectId?: string, password: string }
- `POST https://api.mcp.ai/api/backendless/user/revoke/permission` — Tool to revoke a permission from a specified user or role on a specific data object. Use when you need to deny a previously granted operation for a user or role on a data object after verifying the ta
  - body: { role?: string, user?: string, object_id: string, permission: string, table_name: string }
- `POST https://api.mcp.ai/api/backendless/user/update` — Tool to update properties of an existing Backendless user. Use when you need to modify user profile fields after login. Example: Update phoneNumber to "5551212".
  - body: { user_id: string, properties: object, user_token?: string }
- `POST https://api.mcp.ai/api/backendless/validate/user/token` — Tool to validate a user session token. Use after obtaining a token from login to confirm the session is active.
  - body: { userToken: string }

## Example prompts
- "What can I do in Backendless?"
- "Show me a summary of my Backendless account"

## More
- Page: https://mcp.ai/backendless
- Agent spec (llms.txt): https://mcp.ai/backendless/llms.txt
- Postman collection: https://mcp.ai/backendless/postman.json
