Skip to main content
Glama
server_lifecycle_flow.md967 B
```mermaid sequenceDiagram participant User as User participant API as API Layer participant Orchestrator as Orchestration Engine participant Runtime as Runtime Engine participant Docker as Docker Container User->>API: POST /api/v1/servers/{id}/start API->>Orchestrator: start_server(server_id) Orchestrator->>API: Create Task (Async Operation) API-->>User: Return Task ID Orchestrator->>Orchestrator: Resolve Configuration Orchestrator->>Runtime: start_server(name, runtime_def, settings) Runtime->>Docker: Create & Start Container Docker-->>Runtime: Return Container ID Runtime-->>Orchestrator: Return Process ID Orchestrator->>Orchestrator: Update Server Status Orchestrator->>Orchestrator: Update Task Status User->>API: GET /api/v1/tasks/{task_id} API->>Orchestrator: get_task(task_id) Orchestrator-->>API: Return Task Status API-->>User: Return Task Result ```

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rblake2320/sectional-mcp-panel'

If you have feedback or need assistance with the MCP directory API, please join our Discord server