Component ยท Control side
AMS MCP server (/mcp)
What it is
The AMS MCP server is a built-in Model Context Protocol endpoint of the Agent Manager service, served at /mcp. MCP is the standard way for AI assistants such as Claude Code to call tools. This endpoint gives an assistant 13 tools for working with projects, agents, builds, deployments and environments.
It is a second front door to the same building. The door looks different, but the guard checks the same badge.
Why it exists
Developers can drive the platform from inside their assistant instead of opening the console. The same permission checks apply as for the REST API, so the assistant cannot do more than the signed-in person.
How it works
- The endpoint speaks MCP over Streamable HTTP. It publishes OAuth discovery metadata at /.well-known/oauth-protected-resource and /.well-known/oauth-protected-resource/mcp.
- The assistant signs in through ThunderID with the authorization code flow and PKCE, using the OAuth client am-mcp that the ThunderID extension chart registers.
- Each tool declares the amp:* permissions it needs. A tool registered without permissions stops the service at startup, and one registered another way is denied on every call.
- The organization always comes from the token. Tools take no organization argument.
- The 13 tools are list_projects, create_project, list_project_agent_pairs, list_agents, create_external_agent, create_internal_agent_python, list_builds, get_build_details, build_agent, list_deployments, deploy_agent, update_deployment_state and list_environments.
- On Choreo Cloud the endpoint is exposed to the internet through an API trait of the Agent Manager service component named agent-manager-mcp, which opens /mcp for POST, GET, DELETE and OPTIONS and lifts the request time limit so streams stay open.
Identity and access
A user token obtained through OAuth. Its scope claim must hold the permissions of the tool being called.
Key facts
- Path
- /mcp
- Transport
- Streamable HTTP
- Tools
- 13
- OAuth client
- am-mcp (ThunderID)
- Side
- Control plane (inside the Agent Manager service)
- Namespace
- wso2-amp
Used by (1)
- called by console-agent Chat agent manages Agent ManagerMCP streamable HTTP
Inside and around
Part of: agent-manager-service (AMS)