managed-agent-control-mcp is a community project for launching, observing, and interacting with Claude Managed Agents from any MCP client. Claude Managed Agents run on the Anthropic platform, and each agent is an agent definition (model, system prompt, tools, skills) that executes in a sandboxed environment. This MCP server provides remote control for these agents: after connecting to any MCP client, you can launch agents, observe their behavior, reply, approve the tools they want to run, and stop them. Claude.ai is the showcase client (all operations can be completed in a normal conversation), and the same tools can also be used with Claude Code, Cursor, mcp-remote, MCP Inspector, or a custom MCP client. It is the runtime companion to the Terraform provider for declaratively defining agents.
Main capabilities and workflow: The server drives a loop: discover agents → start a session → observe by polling events → interact (reply / interrupt / approve tools) → end. Because MCP tool calls are request/response-based, observation is implemented through polling (session_events / session_get) and does not stream to the chat in real time.
How it runs and authentication: It can run as a local stdio server, a generic HTTP container, or AWS Lambda. Inbound authentication is pluggable, and any HTTP deployment must set it: bearer (a shared static token, the simplest, suitable for the Claude.ai connector and mcp-remote); oidc (validates JWTs from any OIDC provider, such as Auth0, Okta, Keycloak, Entra, Cognito); cognito (an OIDC validator plus the hosted UI OAuth appearance required by Cognito). Authentication is divided into two independent layers: outbound (how this server calls Anthropic) uses your ANTHROPIC_API_KEY; inbound (how MCP clients authenticate to this server) is pluggable and must be set for any HTTP deployment.
Quick start (local, about 2 minutes): Requires an ANTHROPIC_API_KEY with Managed Agents access and uv. You can use MCP Inspector to explore the tools interactively. It can be registered with Claude Code (including a project-scoped .mcp.json). After it is published to PyPI, you can skip cloning: uvx managed-agent-control-mcp. For local use, only ANTHROPIC_API_KEY is needed.
Use cases: Suitable for developers and teams that need to manage and supervise Claude Managed Agents runs from an MCP client, for example starting agent sessions, monitoring events, approving tool calls, or aborting agents. It is also suitable for scenarios where agents are declaratively defined through Terraform and a runtime control companion tool is needed.
Limitations and notes: This is a community project, not maintained, endorsed, or affiliated with Anthropic; the Managed Agents API it depends on is in beta (managed-agents-2026-04-01). Observation is polling-based, with no real-time stream. Never expose an HTTP deployment without setting an inbound authentication mode; anyone who passes inbound authentication can drive your Anthropic key, so you should limit the key's scope and use safeguards. The documentation includes sections such as configuration, authentication, deployment, architecture, tool reference, and examples. The project uses the MIT license and is maintained by Andrei Svirida.