MCP ServerTool Reference
List Courses
List Courses MCP tool.
List Courses
List courses: published only without status; include_unpublished adds drafts. include_unpublished, status draft and status archived need courses:manage.
Contract
| Field | Value |
|---|---|
| Tool name | list_courses |
| Domain | courses |
| Required scopes | courses:read |
| Title | List courses |
| Read only hint | true |
| Destructive hint | false |
| Idempotent hint | false |
| Open world hint | false |
| Bulk limit | none |
| Timeout | 10000ms |
| Kill switch key | courses.list |
| REST sibling | GET /api/public/v1/courses |
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"pattern": "^mcp_[a-z0-9]+$"
},
"search": {
"type": "string",
"minLength": 1
},
"status": {
"type": "string",
"enum": [
"draft",
"published",
"archived"
]
},
"include_unpublished": {
"type": "boolean"
},
"category_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"difficulty": {
"type": "string",
"enum": [
"beginner",
"intermediate",
"advanced",
"expert"
]
},
"sort_by": {
"type": "string",
"enum": [
"created_at",
"title",
"updated_at"
]
},
"sort_order": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
}Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text"
},
"text": {
"type": "string"
}
},
"required": [
"type",
"text"
],
"additionalProperties": false
}
}
},
"required": [
"content"
],
"additionalProperties": false
}