Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

modus-agendi/managed-agent-control-mcp MCP server](https://glama.ai/mcp/servers/modus-agendi/managed-agent-control-mcp/badges/score.svg)](https://glama.ai/mcp/servers/modus-agendi/managed-agent-control-mcp) 🐍 🏠 ☁️ 🍎 πŸͺŸ 🐧 - Start, observe, and interact...

README.md

managed-agent-control-mcp

Start, observe, and interact with Claude Managed Agents from any MCP client (Claude.ai, Claude Code, Cursor, mcp-remote, your own agent, …).

![CI](https://github.com/modus-agendi/managed-agent-control-mcp/actions/workflows/ci.yml) ![PyPI](https://pypi.org/project/managed-agent-control-mcp/) ![Python](pyproject.toml) ![License: MIT](LICENSE)

Claude Managed Agents run on Anthropic's platform β€” each is an agent definition (model, system prompt, tools, skills) that executes inside a sandbox environment. This MCP server puts a remote control on those agents: connect it to any MCP client and you can launch an agent, watch what it does, reply to it, approve the tools it wants to run, and stop it. Claude.ai is the showcase client (do it all from a normal conversation), but the same tools work from Claude Code, Cursor, mcp-remote, the MCP Inspector, or a custom MCP client. It is the runtime companion to the Terraform provider that defines agents declaratively.

It runs as a local stdio server, a generic HTTP container, or on AWS Lambda, with pluggable inbound auth (static bearer, generic OIDC, or an AWS Cognito preset).

[!NOTE] This is a community project. It is not maintained by, endorsed by, or affiliated with Anthropic. The Managed Agents API is a beta API (managed-agents-2026-04-01).

How it works

MCP client ──MCP──▢ managed-agent-control-mcp ──HTTPS (x-api-key)──▢ Managed Agents API
(Claude.ai,         (this server: tools + auth)                     (agents run here)
 Claude Code, …)

You drive a loop: discover an agent β†’ start a session β†’ observe by polling events β†’ interact (reply / interrupt / approve tools) β†’ end. Because MCP tool calls are request/response, observation is by polling (session_events / session_get) β€” there is no live stream into the chat.

Quickstart (local, <2 min)

You need an ANTHROPIC_API_KEY with Managed Agents access and uv.

git clone https://github.com/modus-agendi/managed-agent-control-mcp
cd managed-agent-control-mcp
uv sync

# Run the server over stdio:
ANTHROPIC_API_KEY=sk-ant-... uv run python -m managed_agents_mcp

Explore the tools interactively with the MCP Inspector:

ANTHROPIC_API_KEY=sk-ant-... npx @modelcontextprotocol/inspector \
  uv run python -m managed_agents_mcp

Register it with Claude Code (a project-scoped .mcp.json is included):

claude mcp add managed-agent-control -- uv run python -m managed_agents_mcp

Once published to PyPI, you can skip the clone: uvx managed-agent-control-mcp.

Tools

| Tier | Tool | Does | |------|------|------| | Discover | agent_list / agent_get | Find an agent and inspect its config | | | environment_list / environment_get | Find a sandbox environment | | | vault_list / vault_get | Find a credential vault to attach at session_start | | | memory_store_list / memory_store_get | Find a persistent memory store | | Start | session_start | Create a session and (optionally) send the first instruction | | Observe | session_get | Status (idle/running/…) + token usage | | | session_list | List sessions | | | session_events | Poll the agent's output/activity (cursor + type filter) | | Interact | session_message | Send a message / continue a turn | | | session_interrupt | Stop or redirect a running agent | | | session_respond | Approve/deny a tool the agent is waiting on | | Destructive πŸ”’ | session_archive / session_delete | Archive (keep history) or delete |

See docs/tools.md for every argument and return shape.

Configuration

Only ANTHROPIC_API_KEY is required for local use. Full reference in docs/configuration.md.

| Env var | Purpose | |---|---| | ANTHROPIC_API_KEY | Required. Operator key the server acts with. | | ANTHROPIC_BASE_URL | Override the API base URL (gateways/testing). | | MCP_AUTH_MODE | Inbound auth for HTTP: bearer, oidc, cognito (comma-separated to combine). | | MCP_BEARER_TOKEN | Shared token for bearer mode. | | MCP_OIDC_ISSUER / MCP_OIDC_JWKS_URL / MCP_OIDC_AUDIENCE | JWT verification for oidc/cognito. | | MCP_ALLOWLIST_AGENTS_ACTIVE | true activates the agent allowlist (default off β†’ all agents allowed). | | MCP_ALLOWED_AGENT_IDS | Agents session_start may launch when the allowlist is active. | | MCP_ALLOW_DESTRUCTIVE | false disables archive/delete. |

Authentication

There are two auth layers (kept separate by design):

  • Outbound β€” how this server calls Anthropic: your ANTHROPIC_API_KEY.
  • Inbound β€” how MCP clients authenticate to this server. Pluggable and

required for any HTTP deployment:

  • bearer β€” a shared static token. Simplest; works with Claude.ai connectors and mcp-remote.
  • oidc β€” verify JWTs from any OIDC provider (Auth0, Okta, Keycloak, Entra, Cognito).
  • cognito β€” the OIDC verifier plus the hosted-UI OAuth facade Cognito needs.

Setup and Claude.ai connector onboarding: docs/authentication.md.

[!WARNING] Never expose an HTTP deployment without an inbound auth mode set. Anyone who passes inbound auth can drive your Anthropic key β€” scope the key and use the guardrails.

Deployment

| Target | How | |---|---| | Local (stdio) | uv run python -m managed_agents_mcp | | Container (HTTP) | docker build -f deploy/Dockerfile -t macmcp . && docker run -p 8000:8000 … | | AWS Lambda | Self-contained Terraform module in deploy/aws-lambda/ |

Details: docs/deployment.md.

Documentation

  • Configuration β€” every env var + guardrails
  • Authentication β€” bearer / OIDC / Cognito + Claude.ai setup
  • Deployment β€” local, container, Lambda
  • Architecture β€” module map, the two auth layers, the polling model
  • Tools β€” full tool reference
  • Examples β€” end-to-end deployment walkthroughs (host + OAuth provider)

Contributing

Contributions welcome β€” see CONTRIBUTING.md and the Code of Conduct. Found a security issue? See SECURITY.md.

License

MIT β€” see LICENSE. Maintained by Andrei Svirida.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.