ESA MCP Server
by d-kimuson
- openapi-spec
{
"paths": {
"/v1/teams": {
"get": {
"tags": ["Team"],
"summary": "List teams",
"security": [{ "bearerAuth": [] }],
"parameters": [
{
"name": "role",
"in": "query",
"schema": {
"type": "string",
"enum": ["member", "owner"]
}
}
],
"responses": {
"200": {
"description": "List of teams",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"teams": {
"type": "array",
"items": {
"$ref": "./openapi.json#/components/schemas/Team"
}
}
},
"allOf": [
{ "$ref": "./openapi.json#/components/schemas/Pagination" }
]
}
}
}
},
"400": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"401": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"404": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"409": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"429": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
}
}
}
},
"/v1/teams/{team_name}": {
"get": {
"tags": ["Team"],
"summary": "Get a team",
"security": [{ "bearerAuth": [] }],
"parameters": [
{ "$ref": "./openapi.json#/components/parameters/teamName" }
],
"responses": {
"200": {
"description": "Team details",
"content": {
"application/json": {
"schema": { "$ref": "./openapi.json#/components/schemas/Team" }
}
}
},
"400": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"401": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"404": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"409": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"429": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
}
}
}
},
"/v1/teams/{team_name}/stats": {
"get": {
"tags": ["Team"],
"summary": "Get team statistics",
"security": [{ "bearerAuth": [] }],
"parameters": [
{ "$ref": "./openapi.json#/components/parameters/teamName" }
],
"responses": {
"200": {
"description": "Team statistics",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"members": { "type": "integer" },
"posts": { "type": "integer" },
"posts_wip": { "type": "integer" },
"posts_shipped": { "type": "integer" },
"comments": { "type": "integer" },
"stars": { "type": "integer" },
"daily_active_users": { "type": "integer" },
"weekly_active_users": { "type": "integer" },
"monthly_active_users": { "type": "integer" }
}
}
}
}
},
"400": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"401": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"404": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"409": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
},
"429": {
"content": {
"$ref": "./openapi.json#/components/schemas/ErrorResponseBody"
}
}
}
}
}
}
}