guides

Your Automations, Available to Any AI: The ByteChef MCP Server

Your Automations, Available to Any AI: The ByteChef MCP Server
8 min read
Ivica Čardić

TL;DR: ByteChef can turn your connectors and workflows into an MCP server, the open protocol Claude and a growing list of AI tools use to call external tools. You create the server in the UI, add component actions and deployed workflows as tools, and mark the fields the AI should supply with fromAi(). ByteChef builds each tool's input schema from those fields, hosts the server at a streamable HTTP endpoint and walks you through connecting Claude, Cursor, VS Code, ChatGPT and other clients. You don't need an SDK, server code or a deployment of your own.

Here is a situation most teams know well. Your people spend their day talking to an AI assistant: Claude, an agent inside their IDE, an internal chatbot. The assistant is clever and pleasant to work with, and it can't actually do anything in your systems. It can't send the Slack message, update the HubSpot contact or kick off the onboarding process you spent a month getting right.

ByteChef, meanwhile, already holds everything that assistant is missing: authenticated connections to your SaaS tools and workflows that capture how your business works. The Model Context Protocol (MCP) is the standard way to connect the two, and ByteChef can build your end of that connection for you.

From Configuration to a Running Server

Normally an MCP server is something you write. You pick up an SDK, define tools, describe their schemas, deal with authentication and then find somewhere to host it. In ByteChef the whole thing is configuration.

Open MCP Servers, click New MCP Server, give it a name, and start adding tools. There are two kinds.

Component actions

Any action from any connector can become a tool: send a Gmail message, create a HubSpot contact, insert a row into a Data Table. You pair the action with one of your stored connections, and when the AI calls the tool, ByteChef runs the action with those credentials. The credentials never leave ByteChef, and the AI never sees them.

An MCP server's Component Tools tab with Affinity, Gmail and HTTP Client components, and the Gmail Get Email action enabled as a tool

Each component groups its actions, and every action has its own switch, so you can expose Get Email without exposing Send Email.

Workflows

This is the part I find most useful. You can attach workflows from your deployed projects, and each one becomes a tool with a name and a description. Write the description carefully, because that's what the AI reads when it decides whether to call the tool.

The Workflow Tools tab listing a project and its workflow exposed as a tool

When the tool is called, ByteChef runs the real workflow on the same engine and records it in the same execution history as any other run. It waits for the job to finish and sends the result back to the caller. The controls you already rely on keep working: disable the workflow and it drops out of the tool list, disable the server and calls are refused.

So a workflow you built visually months ago, with its approval steps, error handling and retries, is now a function an AI can call, and all of that care comes along with every call.

fromAi(): You Decide What the AI Fills In

The tricky part of handing tools to an AI is parameters. Some of them are policy: which Slack channel, which table, which API version. Those should be up to you. Others are content: the message text, the search query, the customer's name. Those are exactly what the AI is good at. Most tool bridges make you choose between exposing everything and hard-coding everything.

ByteChef settles it with a single expression. Any parameter you set normally stays fixed. You decide it and the AI never sees it. Any parameter you mark with fromAi() becomes an input the AI provides:

channel:  #customer-alerts                      ← fixed by you
message:  =fromAi('message')                    ← written by the AI
subject:  ='[Escalation] ' + fromAi('title')    ← prefix is yours, title is the AI's

In the tool editor, a field marked this way says Automatically defined by the model, while everything else keeps the value you gave it. If you want the AI to handle every field, Let AI fill all marks them in one go.

The Edit Get Email Tool panel, with Message ID marked as automatically defined by the model and Format fixed to Simple

ByteChef then builds the MCP tool's input schema from the fromAi() fields alone. The AI sees exactly the parameters you handed over, with their names and descriptions, and nothing else. It can write the message, but it can't send it to a different channel. And because fromAi() is an ordinary expression, you can combine the AI's input with your own fixed text instead of picking one or the other.

That one rule, "this field belongs to the AI and the rest belong to me", is most of what makes it feel safe to point an outside model at real automations.

Connecting a Client

Every server is served over streamable HTTP at an address that contains its own secret:

https://<your-bytechef>/api/automation/{secretKey}/mcp

The secret in the URL tells ByteChef which server you're calling. It isn't meant to be the credential, so each server also has a Require authentication switch. It's on by default, and with it on, a caller has to present an API key or an OAuth token on top of the URL. The connection snippets are marked Sensitive, and you can regenerate the URL if it ever ends up somewhere it shouldn't.

The Connect Tab Walks Each Client Through Setup

Getting a client configured used to be the fiddliest step, so every MCP server has a Connect tab. You pick your client (Claude, Claude Code, Cursor, VS Code, ChatGPT, Codex CLI or Devin Desktop) and ByteChef walks you through that client's own setup, with the server URL already filled in. Cursor and VS Code get an install button that adds the server for you.

The Connect tab with a list of MCP clients on the left and step-by-step instructions for adding ByteChef as a custom connector in Claude

For Claude, the One click path is just that: add ByteChef as a custom connector, paste the URL, click Sign in, and approve access when ByteChef opens in your browser. There are no keys to copy. The Manual path covers clients that prefer an API key in a request header. How sign-in works under the hood is a story of its own, told in the MCP security post.

So the whole setup is: create the server, add tools, mark the fromAi() fields, follow the Connect steps for your client, then ask the assistant to do something. In my experience the slowest part is writing good tool descriptions.

Coming in v0.38: Tools From Other MCP Servers

v0.38 adds a third tab next to Component Tools and Workflow Tools. MCP Server Tools lets you put tools from a remote MCP server, such as Notion or Linear, behind your ByteChef server. You pick the server from the catalog or add a custom one, choose which of its tools to include, and your client sees them next to your own actions and workflows.

Two rules keep the list unambiguous: you can add the same remote server once per connection, and tool names have to be unique across the whole server. ByteChef caches the remote tool list and refreshes it every five minutes, so a slow remote server doesn't slow down every tool listing.

Both Directions of the Protocol

If you read the A2A post, this will sound familiar: open protocols, with ByteChef on whichever side you need.

  • ByteChef as an MCP server (this post): outside AIs call into your connectors and workflows.
  • ByteChef as an MCP client: the MCP Client component lets your ByteChef agents and workflows call out to third-party MCP servers.

Your automations can be tools for someone else's AI, and someone else's tools can become part of your automations.

What Changes When Your Automation Platform Speaks MCP

Three things change.

  • Your assistant can act, under your rules. You don't build a plugin for every assistant your team uses. You expose one standard server. Credentials stay in ByteChef's connection store, so the AI holds the server's address and never your Slack token.
  • Workflows become the unit of AI capability. There's a big gap between "the AI can call APIs" and "the AI can run our process." A workflow tool carries your validation, your approvals and your error handling, so the AI starts a process instead of hitting a raw endpoint.
  • The boundary is visible. fromAi() schemas, per-server tool lists, switches at the server, component and workflow level, plus an address you can regenerate: what the AI can do is configuration you can read and audit, not a set of prompt instructions you hope it follows.

Try It With One Workflow

Start small: pick one deployed workflow your team already trusts, expose it as a tool, and mark only the fields the AI really needs with fromAi(). You'll learn more from watching an assistant call one real process than from exposing fifty raw actions.

Open ByteChef, create an MCP Server, add a workflow, mark a field with fromAi() and follow the Connect tab for your client. The MCP Servers docs cover every option.

Subscribe to the ByteChef Newsletter

Get the latest guides on complex automation, AI agents, and visual workflow best practices delivered to your inbox.

Related posts