io.github.OpenAdaptAI/openadapt-agent
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@io.github.OpenAdaptAI/openadapt-agentList the available workflows."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OpenAdapt Agent
mcp-name: io.github.OpenAdaptAI/openadapt-agent
The local agent bridge for
openadapt-flow.
It presents compiled, governed workflows to MCP clients and Agent Skills
without turning an agent into a second automation runtime.
openadapt-flow remains the authority for execution, policy, identity,
verification, durable pauses, repair, and audit. This package adds two
agent-facing surfaces:
openadapt-agent serveexposes compiled workflows and their local Needs Attention queue over MCP stdio.openadapt-agent emit-skillemits a portable Agent Skill for a compiled workflow, with the result and halt semantics an agent must follow.
Healthy workflow calls run through Flow's governed run command. A
halted or refused run is returned as a structured halt or refusal, never
as a fabricated success.
Install
pip install openadapt-agentOr run it without installing — the intended MCP-client entry point:
uvx openadapt-agent serve --bundles /path/to/bundles # read-only
uvx openadapt-agent serve --bundles /path/to/bundles --allow-runPython 3.10–3.12 is supported. The package installs a compatible
openadapt-flow runtime and the official MCP SDK.
Related MCP server: Workoflow MCP Server
Serve compiled workflows
Compile a workflow with Flow, then serve its bundle directory:
openadapt-flow demo-record --out /tmp/recording
openadapt-flow compile /tmp/recording \
--out /tmp/bundles/triage \
--name "Demo Triage"
openadapt-agent serve \
--bundles /tmp/bundles \
--runs-dir /tmp/openadapt-runs \
--allow-runFor example, register it with an MCP client that accepts a local stdio command:
claude mcp add openadapt-workflows -- \
openadapt-agent serve \
--bundles /tmp/bundles \
--runs-dir /tmp/openadapt-runs \
--allow-runThe client receives list_workflows, get_workflow,
get_run_report, list_needs_attention, get_attention_item, and one
typed run_workflow_<opaque-id> tool per loadable bundle. Declared
parameters are required; recorded demonstration values never appear in
the schema and are not silently reused. Omit --allow-run when the
client should be able to inspect workflows but not start them.
By default every MCP response is safe to render outside the protected workflow-data boundary. Workflow labels and intents, recorded values, bundle/run paths, raw reports, observed text, stdout, stderr, and local exception messages remain on the OpenAdapt machine. The client receives opaque workflow/run IDs, fixed outcome copy, declared parameter names/types, and count/boolean metrics.
Two explicit development switches are deliberately separate:
--allow-protected-exportsends raw local metadata and evidence to the MCP client. Use it only when that client is trusted and inside the same protected data boundary.--allow-synthetic-recorded-defaultslets omitted parameters reuse recorded values. It requires--allow-runand is only for synthetic demonstrations; production runs require every declared parameter to prevent a wrong-record action.
Connect the attended workflow
Add Flow's qualified deployment configuration to let a local operator finish an exception and continue the same durable run:
openadapt-agent serve \
--bundles /opt/openadapt/bundles \
--runs-dir /var/lib/openadapt/runs \
--allow-run \
--allow-attended-actions \
--config /etc/openadapt/deployment.yaml \
--headedThe queue summary is deliberately safe to show in an agent UI: it uses opaque IDs, typed categories, counts, and signed-capability metadata without returning observed text, workflow values, reports, or local paths. Protected evidence stays in the local OpenAdapt operator experience.
Attended actions are separate, exact tools:
Tool | What happens |
| The operator confirms they completed the paused task in the live app. Flow revalidates its postconditions and independent effects, checkpoints it as human-completed, and resumes after it. It does not perform the completed action again. |
| Flow applies only an already-declared, non-consequential skip. A stale, undeclared, consequential, or ambiguous skip is refused. |
| Records an audited request for a corrective demonstration. Flow's existing revision and regression gates decide what can be promoted. |
| Records an audited escalation and leaves the exact durable pause intact for a qualified operator. |
Every action requires:
the opaque queue-item ID;
the item's exact current capability digest;
a caller-stable idempotency key; and
an action-specific
trueconfirmation in the tool request.
Before submitting that request to Flow, the server also opens an MCP form elicitation with action-specific language and requires the local operator to accept and confirm it. This is a host-mediated explicit confirmation signal, not cryptographic proof that a particular person clicked it or proof of that person's identity. Flow separately records the effective local OS account as the operator. Clients without form elicitation cannot execute attended actions through this MCP bridge; the same Continue, Skip, Teach, and Escalate capabilities remain available through Flow's attended console/CLI. MCP destructive/idempotent/open-world annotations give the host an additional approval signal. Neither those hints nor the elicitation replaces Flow's signed capability, live revalidation, idempotency, or audit contract.
The direct fallback uses the same run directory and deployment boundary:
openadapt-flow console \
--attend \
--allow-actions \
--bundles /opt/openadapt/bundles \
--runs /var/lib/openadapt/runs \
--config /etc/openadapt/deployment.yaml \
--headedFlow rechecks the signed capability, run identity, bundle version, checkpoint lineage, authorization, live state, and effect evidence at decision time. Stale capabilities and uncertain delivery are refused. Retries with the same idempotency key return the prior terminal decision instead of repeating it.
With --allow-attended-actions but no deployment --config, the safe
Teach and Escalate transitions remain available; Continue and Skip are
not registered until Flow can construct the deployment-bound live
verifier and backend.
MCP tools
Tool | Registration |
| Always |
| Always |
| Always |
| Always |
| Always |
|
|
|
|
|
|
Run outcomes
Every run_workflow_<opaque-id> call returns one of these outcomes:
| Meaning |
| The process exited successfully and the persisted report records |
| Execution halted, completed without sufficient verification, or completed a rollback. It is not a verified success; protected evidence remains local. |
| A governed admission gate refused the bundle before execution. Nothing ran. |
| The process exceeded its deadline. The target may be partially executed and must be inspected before retrying. |
| The CLI, report, or other execution infrastructure was inconsistent. |
get_run_report returns a PHI-safe status and count-only summary for a
run created by this server. The persisted report remains in the local
operator experience unless protected export was explicitly enabled. A
client must never summarize halt, refused, timeout, or error as
success.
Emit an Agent Skill
openadapt-agent emit-skill \
/tmp/bundles/triage \
--out ~/.claude/skillsThis wraps Flow's own skill emitter, preserves its portable bundle, and adds MCP invocation, Needs Attention, and result-handling guidance. The emitted skill is not a sanitized derivative: it includes the compiled bundle and Flow-generated workflow guidance. Treat the folder as protected workflow data and install it only into an agent/client authorized for that same data boundary.
Trust boundary
This is intentionally a local stdio bridge. The process inherits the local user's OS permissions, and that user is recorded as the operator for attended decisions. Do not expose its stdin/stdout as an unauthenticated network service.
Remote transport, account identity, tenant isolation, fleet policy, and managed execution belong to OpenAdapt Cloud. They are not duplicated in this package.
Other fixed boundaries:
Run tools and attended mutations are disabled unless explicitly enabled when the server starts.
Target, deployment policy, timeout, and model-egress posture are fixed at server start rather than supplied by each MCP call.
Parameters use a mode-
0600temporary file, not process arguments.Workflow and run IDs are opaque in the default MCP surface.
Recorded parameter values never enter tool schemas. Parameters are required unless the server is explicitly put into synthetic-default demo mode.
Protected reports, names, values, paths, subprocess output, and exception text stay local unless the operator explicitly enables protected export for a trusted client in the same data boundary.
Attended action schemas accept no free-text challenge answers or protected evidence.
Attended mutations require protocol-native form elicitation; a boolean supplied by an autonomous tool caller is not sufficient on its own. Elicitation is host-mediated confirmation, not cryptographic human-presence or identity proof. Clients without elicitation use Flow's existing attended console/CLI; the capability is not converted to read-only.
A timeout is not a rollback. Inspect the durable run before retrying.
See docs/DESIGN.md for the complete contract.
Package history
The pre-v2 codebase was a wrapper for model-driven GUI agents. Its
execution responsibilities now live in openadapt-flow; its source
history remains in this repository. The current package name is retained
because this repository bridges both MCP and Agent Skills; it is not an
MCP-only package.
Install as an MCP server (registries)
This package is the public, official OpenAdapt MCP capability: inspect
a compiled bundle and, opt-in, run it under governance. A user's compiled
workflow bundle is their private artifact — it is supplied at launch
via --bundles and is never embedded in the package or any registry
listing. See docs/DISTRIBUTION.md for that
distinction and the publish/submission plan.
Machine-readable launch manifests live at the repo root:
server.json— official MCP registry manifest (PyPI package,uvxruntime hint, stdio transport).manifest.json— portable MCPB configuration used to build the one-click local bundle accepted by Smithery and MCPB-compatible desktop clients.llms.txt— a concise, link-first summary for AI assistants.
Registry-launched installs start read-only by default; execution
tools are registered only when the operator adds --allow-run.
Publishing is automated: .github/workflows/release.yml
builds, runs the license/boundary gate, and — only on a vX.Y.Z tag or a
published Release — ships to PyPI (Trusted Publishing, OIDC) and the MCP
registry (mcp-publisher login github-oidc), secret-free. It runs a dry
run (no publish) on PRs and manual dispatch. See
docs/DISTRIBUTION.md for the one-time founder
setup.
Documentation: docs.openadapt.ai.
Development
pip install -e ".[dev]"
ruff check src tests scripts
pytest -q
python -m build
python scripts/check_release_artifacts.py dist
python scripts/check_dist.py dist/*
npx -y @anthropic-ai/mcpb@2.1.2 validate manifest.json
npx -y @anthropic-ai/mcpb@2.1.2 pack . openadapt-agent.mcpbLicense
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for managing n8n workflows through AI assistants. Supports workflow CRUD operations, synchronization, inspection, and execution support for automation-focused workflows.Last updated144092MIT
- -license-quality-maintenanceDynamically exposes your Workoflow organization's tools as native MCP tools to AI clients like Claude Code and Cursor, with per-user authentication and dual transport support.Last updated1
- Alicense-qualityDmaintenanceMCP server for managing n8n workflows and executions. Enables listing, activating, deactivating, and executing workflows, as well as monitoring executions and instance health.Last updatedMIT
- Alicense-qualityAmaintenanceExposes Agentweaver runs and outcomes as MCP tools for Claude Desktop and compatible clients.Last updated392MIT
Related MCP Connectors
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/OpenAdaptAI/openadapt-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server