Apilio MCP server

Connect Apilio to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Apilio MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the evaluate logicblock tool in Apilio
  • Use the list string variables tool in Apilio
  • Use the get variable tool in Apilio
  • Use the update boolean variable tool in Apilio
  • Use the update numeric variable tool in Apilio
  • Use the update string variable tool in Apilio

Supported Tools

evaluate_logicblock

Evaluate Logicblock

Trigger the evaluation of a logicblock in Apilio. This evaluates all conditions in the logicblock and executes the associated action chain (positive or negative) based on the result. The logicblock must be active for the actions to run.

list_string_variables

List String Variables

Retrieve all string variables from your Apilio account. String variables store text values used in automation logic, such as current weather status, last triggered device, or custom labels.

get_variable

Get Variable

Retrieve the current value and details of a specific variable in Apilio by its ID. Supports boolean, string, and numeric variable types. Useful for checking a variable's current state before updating it or making automation decisions.

update_boolean_variable

Update Boolean Variable

Set, toggle, or update a boolean variable in Apilio. Use **set** to assign true or false directly, or **toggle** to flip the current value. Boolean variables are commonly used to track device states and home/away status.

update_numeric_variable

Update Numeric Variable

Set a numeric variable to an absolute value, or add/subtract from the current value in Apilio. Use **set** to assign a specific number, **add** to increment, or **subtract** to decrement. Useful for counters, thresholds, and sensor-based automations.

update_string_variable

Update String Variable

Set or clear a string variable in Apilio. Provide a **value** to set the variable, or omit it to clear the stored text. String variables can hold any text value used in automation conditions.

list_logicblocks

List Logicblocks

Retrieve all logicblocks from your Apilio account. Logicblocks are the core automation units that combine conditions with AND/OR/NOT logic and trigger different action chains based on whether the overall evaluation is positive or negative.

get_condition

Get Condition

Retrieve the details and current evaluation state of a specific condition in Apilio. Returns whether the condition is currently met, which is useful for checking automation rule states before triggering logicblocks.

manage_logicblock

Manage Logicblock

Activate or deactivate a logicblock in Apilio. Active logicblocks will execute their action chains when evaluated; inactive logicblocks can still be evaluated but their actions will not run. This acts as an on/off switch for your automation logic.

list_numeric_variables

List Numeric Variables

Retrieve all numeric variables from your Apilio account. Numeric variables store number values used in automation logic, such as temperature readings, motion counts, or sensor thresholds.

list_conditions

List Conditions

Retrieve conditions from your Apilio account. Use get_condition to read a condition's current evaluation state. Conditions are rules that compare variable values against expected states (e.g., "Is it nighttime?") and are combined with AND/OR/NOT logic in logicblocks.

list_boolean_variables

List Boolean Variables

Retrieve all boolean variables from your Apilio account. Boolean variables store true/false states used in automation conditions, such as whether it is nighttime, if a door is open, or if you are home.

Connect Apilio to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Apilio in Metorial. In your Metorial portal, enable the Apilio MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Apilio tools.

Run Apilio through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Apilio and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Apilio tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Apilio

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Microsoft Outlook

Send, read, reply to, forward, and manage email messages in user mailboxes. Organize messages into folders, apply categories, flags, and importance levels. Manage file and item attachments. Create, update, delete, and respond to calendar events and meetings. Find available meeting times, manage attendees, handle recurrence, and work with shared or delegated calendars. Create, read, update, and delete contacts, organize them into contact folders, and manage contact photos. Manage tasks and task lists via Microsoft To Do, including due dates, reminders, recurrence, and checklist items. Support for Focused Inbox, @-mentions, mail tips, send-on-behalf, and send-as capabilities.

Linear

Create, read, update, and delete issues across teams with support for priorities, labels, assignees, due dates, and workflow states. Manage projects that group related issues, and organize work into time-boxed cycles (sprints). Create and manage documents, comments, and file attachments. Search issues using vector similarity or rich filters. Configure teams, workflow states, and labels. Track customers and link them to issues.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Jira

Create, read, update, and delete issues across projects. Search issues using JQL queries. Manage projects, boards, sprints, and epics for agile workflows. Log work time, add comments and attachments, and transition issues through workflow statuses. Create and manage project versions/releases, issue links, filters, and dashboards. Query users, groups, and permissions.

Technical notes for Apilio

Read and update existing Apilio boolean, string, and numeric variables; discover variable, time, and Tuya conditions; check condition states; and list, evaluate, activate, or deactivate logicblocks. Coordinate smart home automation through the Apilio REST API.

Frequently asked questions

Common questions about connecting Apilio to AI agents with Metorial.

  1. How many tools does the Apilio MCP server have?
    The Apilio MCP server exposes 12 tools, including Evaluate Logicblock, List String Variables, Get Variable. Each one is governed and traced through Metorial.
  2. Apilio exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Apilio MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Apilio and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Apilio MCP server yourself or use the hosted gateway.

Connect Apilio to production AI agents

See how Metorial gives your team governed access to Apilio, with tracing and security controls built in.