Frontmatter
| id | 7633 |
| title | bug(mcp): list_labels tool fails with schema validation error |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Oct 24, 2025, 12:16 PM |
| updatedAt | Oct 24, 2025, 2:41 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7633 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Oct 24, 2025, 2:41 PM |
The
list_labelstool in the GitHub Workflow MCP server is failing with a schema validation error.Error Message:
MCP error -32602: Structured content does not match the tool's output schema: data.labels[18].description should be stringAnalysis: This error likely occurs when a label in the repository has a
nullor empty description. The tool's output schema requires thedescriptionfield to be a string, but the data returned from the GitHub API can have null descriptions, causing a mismatch.Acceptance Criteria:
list_labelstool to handlenullor missing descriptions for labels.nulldescriptions to empty strings ('') before returning the data.