# Apilio — MCP server on mcp.ai > Connect your Apilio account and use 8 tools for internet of things straight from your AI agent. Connect with your own API key. Apilio is a home automation platform that enables users to connect and control smart devices from various brands, offering flexible automation through complex conditions, time constraints, and integrations with services like IFTTT and Tuya. By: mcp.ai · official Page: https://mcp.ai/apilio ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_apilio?ms=1787293560000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/apilio/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/apilio/ Authorization: Bearer sk_live_… # create one at https://mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs How to use (MCP or REST), markdown: https://mcp.ai/apilio/skill.md Postman collection (v2.1): https://mcp.ai/apilio/postman.json ## Tools - apilio_get_boolean_variables() — Tool to fetch all boolean variables. Use when you need the full list of boolean variables and their current states. - apilio_get_conditions() — Retrieves all conditions from your Apilio account. Conditions are logic rules that evaluate to true or false based on variable values. Use this to list all available conditions, get their UUIDs for us - apilio_get_logicblocks() — Retrieves all logicblocks for the authenticated Apilio user. Logicblocks are the core automation logic units in Apilio that combine conditions and actions. Use this tool to list all available logicblo - apilio_get_numeric_variables() — Retrieves all numeric variables from your Apilio account with their current values and metadata. Numeric variables in Apilio store numerical values (integers or decimals) that can be used in condition - apilio_get_string_variables() — Tool to fetch all string variables. Use after authenticating the Apilio API. - apilio_list_time_conditions() — Tool to fetch all time conditions of a user. Time conditions are conditions based on time, such as sunset/sunrise times, specific hours, or cron expressions. Use when you need to retrieve all time con - apilio_list_tuya_conditions() — Tool to retrieve all Tuya conditions from your Apilio account. Use when you need to list all Tuya-based conditions (conditions based on Tuya/Smart Life device states), get their UUIDs for use in other - apilio_list_variable_conditions() — Tool to retrieve all variable conditions from your Apilio account. Variable conditions are conditions based on the value of variables. Use when you need to list all available variable conditions, get ## Example prompts - "What can I do in Apilio?" - "Show me a summary of my Apilio account" ## Links Docs: https://mcp.ai/docs/mcps/apilio Website: https://mcp.ai/mcps/apilio