MCP agent runtime
An MCP agent runtime is where Model Context Protocol tool calls execute: connecting to MCP servers, exposing workflows as one, and governing the calls between.
Category
The Model Context Protocol is a standard way for a model to discover and call tools. An MCP agent runtime is the system on the other side of that protocol: it connects agents to MCP servers, calls the tools those servers advertise, decides which of those calls are allowed to run unattended, records every one of them, and can publish its own workflows back as MCP servers for other clients to call.
The protocol is the easy half
MCP solved a real problem: before it, every agent framework had its own tool interface, and connecting a model to a system meant writing an adapter for that particular pair. A shared protocol means a tool server written once is callable from anything that speaks it.
What the protocol deliberately does not specify is everything around the call. Which of these tools may this agent use. Should this particular invocation run now or wait for a person. What did the tool actually return, and how long did it take. What happens when it fails halfway through a longer run. Those are runtime questions, and they arrive the moment MCP tools touch anything that matters.
A runtime sits on both sides of the protocol
Heym is an MCP client and an MCP server, which are two genuinely different jobs.
- As a client
- An Agent node connects to external MCP servers and picks up their tools automatically, with no per-tool configuration. One agent can consume several servers at once, alongside its inline Python tools, its skills, and other Heym workflows called as tools.
- As a server
- A workflow containing an Agent node can publish its own tools as an MCP server on its own endpoint, so Claude, Cursor, or any other MCP client can call your workflows directly. The workflow becomes the tool.
- Transports
- Endpoints support the SSE transport and the Streamable HTTP transport, and agents can also connect to servers over stdio. Clients that support OAuth 2.1 with PKCE sign in that way.
- Scoped access
- A session token issued during the handshake is scoped to one named server, so a token for one server cannot reach another.
The part that only a runtime can do
An MCP tool call is an action taken by a model against a real system. That makes the controls around it the interesting part, and it is where a runtime earns its place.
- Approval scopes per tool
- Written review guidelines are interpreted into approval scopes, so a read-only lookup auto-approves and a write escalates to a person. The agent keeps moving on the safe calls and stops on the consequential ones.
- A trace of every call
- Tool names, arguments, results, and the time spent listing tools versus calling them are recorded per invocation, so a wrong answer can be traced to the tool that produced it.
- Failure that stays on the canvas
- A failing tool call is a workflow error like any other, routable through an Error Handler node rather than surfacing as an opaque agent stall.
- Cost attribution
- Tool calls extend a run and consume tokens on every loop. Because cost is tracked per execution in USD, a chatty MCP server shows up as a number rather than as a surprise.
Questions worth asking before you commit
These apply to any candidate, Heym included. They are the questions whose answers are hard to change later.
- 1
Can it be both client and server?
Consuming MCP tools and publishing your own are separate capabilities. Needing a second system for the other direction is a real cost.
- 2
Which transports are supported?
Check for SSE and Streamable HTTP for remote servers and stdio for local ones, since client support varies and you do not control what your users run.
- 3
Are tool calls individually approvable?
MCP servers advertise whatever tools they have. Without per-tool scoping, connecting one server is an all-or-nothing grant.
- 4
Is the tool call in the trace?
Arguments and results, not just the tool name. A tool that returned the wrong row is invisible otherwise.
- 5
How are server tokens scoped?
A token that works across every server you publish is one leak away from being a general-purpose key.
- 6
Can one agent hold several servers?
Real work usually needs a few. Check whether adding a second server requires configuration per tool.
Frequently asked questions
What is an MCP agent runtime?
An MCP agent runtime is the system that executes Model Context Protocol tool calls on behalf of an agent. It connects to MCP servers and picks up their tools, decides which calls may run unattended and which need approval, records the arguments and results of each one, and can publish its own workflows back as MCP servers for other clients to call.
Can Heym act as an MCP server?
Yes. A workflow with an Agent node can expose its tools as an MCP server on its own endpoint, reachable by Claude, Cursor, or any other MCP client. The endpoints support the SSE and Streamable HTTP transports, with OAuth 2.1 and PKCE sign-in for clients that use it.
Can one agent use several MCP servers at once?
Yes. An Agent node can connect to multiple MCP servers and consume all of their tools automatically, alongside inline Python tools, skills, and other Heym workflows invoked as tools.
How do you stop an agent from calling a dangerous MCP tool?
Through approval scopes. Written review guidelines are interpreted into per-tool scopes so low-risk tools auto-approve while consequential ones pause the run for human review, and the resumed run continues from the same execution snapshot.
Keep reading
- AI agent runtime The execution model MCP calls run inside.
- AI agent governance Approval scopes and the audit trail.
- MCP tab documentation Server setup, endpoints, and transports.
- Agent node documentation Connecting an agent to MCP servers.
- Embedded AI backends Shipping workflows as APIs and MCP servers.
Last reviewed September 13, 2026.