API Reference

REST management API for monitoring, inspecting, and controlling the Argus MCP gateway at runtime.

Argus MCP exposes a REST API at /manage/v1/ for monitoring, inspecting, and controlling the gateway at runtime.

Base URL

http://<host>:<port>/manage/v1/

Default: http://127.0.0.1:9000/manage/v1/

Authentication

The management API uses bearer token authentication:

curl -H "Authorization: Bearer $ARGUS_MGMT_TOKEN" \
     http://localhost:9000/manage/v1/status

Token configuration:

  • Config: server.management.token
  • Env: ARGUS_MGMT_TOKEN
  • If no token is configured, the API is open (no auth)
  • GET /health is always public (no token required)

Endpoints

See Endpoint Reference for the complete API specification.

Quick Overview

EndpointMethodAuthDescription
/healthGETPublicLiveness / readiness probe
/statusGETTokenFull service status
/backendsGETTokenBackend connection states
/groupsGETTokenLogical server groups
/capabilitiesGETTokenAggregated tools/resources/prompts
/sessionsGETTokenActive client sessions
/eventsGETTokenRecent events (polling)
/events/streamGETTokenReal-time event SSE stream
/reloadPOSTTokenHot-reload config
/reconnect/{name}POSTTokenReconnect a backend
/shutdownPOSTTokenGraceful shutdown

Error Responses

All error responses follow this format:

{
  "error": "error_code",
  "message": "Human-readable description",
  "details": {}
}
StatusMeaning
200Success
401Missing or invalid bearer token
404Backend not found (for /reconnect/{name})
500Internal server error