API & MCP pour l'automatisation

Connectez assistants et outils au System of Record capacité IT de Workload — lecture seule via MCP (scope mcp:read).

Outils SoR capacité (lecture seule)

POST /api/mcp avec une clé API Bearer (scope mcp:read). JSON-RPC 2.0 uniquement : initialize, tools/list, tools/call (params.name + params.arguments). mcp:act reste fermé.

curl -X POST https://www.simpleworkload.com/api/mcp \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_capacity_summary","arguments":{}}}'
ToolDescription
list_allocationsList organization allocations, optionally filtered by projectId
get_capacity_summaryGet aggregated capacity metrics for the organization
get_pva_varianceGet planned vs actual variance by project for current fiscal year
get_audit_summaryGet recent audit log summary (read-only)
get_open_packList this week's capacity pack cards (ids, status, variance). Write only via /dashboard/ops after a human vote.
get_ops_kpisCapacity pack KPIs and MCP write checkpoint (informational — does not unlock mcp:act).

Autres outils lecture

  • list_projects — List organization projects
  • get_project — Get project by id
  • list_team_members — List organization team members
  • list_budgets — List organization project budgets
  • list_webhooks — List organization webhooks